This module adds ability to Customer to upload the profile picture in their account.
This image upload option will available in Customer Registration Page
, Edit Account Inofrmation Page
, Product Review Page
and Cutomer listing grid
at admin.
Exception #0 (InvalidArgumentException): Invalid parameter given. A valid $fileId[tmp_name] is expected.
You can solve this issue in two ways.
[1] Reconfigure your php.ini and set the value upload_tmp_dir to one of the below allowed folders of Magento.
"<magento_root>/pub/media"
"<magento_root>/var"
"<magento_root>/var/tmp"
"<magento_root>/pub/media/upload"
[2] Go to vendor/magento/framework/File/Uploader.php
In function _setUploadFileId($fileId), change:
$this->validateFileId($fileId); to
//$this->validateFileId($fileId);