PHP Version: 7.0.30 Database: MySQL 5.5.5-10.1.31-MariaDB-cll-lve
Chrome or Firefox browser same result.
Testing zc upgrade from v1.5.4 to v1.5.5f.
This occurs in a test version (my data and multiple add-ons) AND ALSO in the vanilla zc155f fresh install (no changes).
Adding attributes to a product gives the following warning in v155f (but not v154).
Code:
[24-May-2018 18:38:03 America/Los_Angeles] Request URI: /ADMIN/attributes_controller.php?action=add_product_attributes&attribute_page=1&products_filter=61, IP address: 73.67.247.124
#1 trim() called at [/home/xxx/public_html/ADMIN/includes/functions/general.php:441]
#2 zen_not_null() called at [/home/xxx/public_html/includes/classes/upload.php:87]
#3 upload->parse() called at [/home/xxx/public_html/ADMIN/attributes_controller.php:308]
[24-May-2018 18:38:03 America/Los_Angeles] PHP Warning: trim() expects parameter 1 to be string, object given in /home/xxx/public_html/V155f/v2/ADMIN/includes/functions/general.php on line 441
We don't use attribute images in the store, so have had the Admin > Configuration > Attribute Settings > Enable Attribute Images > false
The warning does not occur if I set Enable Attributes Images to true. Even tho I don't add an image for the attribute.
Any ideas about a code change to prevent this from happening? I would rather not leave the Attribute Images enabled...
Thanks
Bookmarks