,Hi,
I am checking condition in my module and showing error.
There is warning popup is coming as per attach image when error condition execute.
"Only variables should be passed by reference"
if(!file_exists(_PS_IMG_DIR_.$dir.$image_name)) { $this->errors[] = $this->l('An error occurred while uploading the image.Please try again'); return; }
Any solution to this issue?
PrestaShop Tutorials Videos [How to do Tasks]