magento2-customer-avatar
magento2-customer-avatar copied to clipboard
How to add the profile picture for a customer in Magento 2
I have tried the module in Magento 2 Enterprise Edition but its not working. I can see the field "avatar" in Customer_entity table, the profile picture upload option in Account...
hello, Magento CE 2.3.4 Fatal error: Uncaught ArgumentCountError: Too few arguments to function Magento\Customer\Model\Metadata\Form\File::extractValue(), 0 passed in
Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Customer\Model\Metadata\Form\File::extractValue() must implement interface Magento\Framework\App\RequestInterface, none given, called in /opt/lampp/htdocs/magento2/vendor/magento/framework/Interception/Interceptor.php on line 58 and defined in /opt/lampp/htdocs/magento2/vendor/magento/module-customer/Model/Metadata/Form/File.php:107 Stack trace: #0 /opt/lampp/htdocs/magento2/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Customer\Model\Metadata\Form\File->extractValue()...
# Env php 7.0.6,7.1.0 Mac OSX 10.13.5 Magento 2.2.5 # Detail Fatal Error when uploading the user avatar - the plugin return seems lost params
Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Customer\Model\Metadata\Form\File::extractValue() must implement interface Magento\Framework\App\RequestInterface, none given, called in /opt/lampp/htdocs/magento2/vendor/magento/framework/Interception/Interceptor.php on line 58 and defined in /opt/lampp/htdocs/magento2/vendor/magento/module-customer/Model/Metadata/Form/File.php:107 Stack trace: #0 /opt/lampp/htdocs/magento2/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Customer\Model\Metadata\Form\File->extractValue()...
Hello, When i install this model by composer, it show an error: [InvalidArgumentException] Package php-cuong/magento2-customer-avatar at version dev-master has a PHP requirement incompatible with your PHP version (7.1.32) It it...
Hi I got an error when try to setup:di:compile... it has problem on block folder.
Hi Cuong, I used your code, but I find it could not update my avatar, please give me a hand, thx.