Zohaib-fk Posted November 26, 2017 Share Posted November 26, 2017 (edited) ,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] Edited July 1, 2021 by Zohaib-fk Post Updated (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now