Getting the following log:
Code:
[10-Aug-2018 16:37:47 UTC] Request URI: /shop/admin/categories.php?action=update_category&cPath=1, IP address: 24.176.185.195
#1 trim() called at [/home/sparkswhsle/public_html/shop/admin/includes/functions/general.php:441]
#2 zen_not_null() called at [/home/sparkswhsle/public_html/shop/includes/classes/upload.php:87]
#3 upload->parse() called at [/home/sparkswhsle/public_html/shop/admin/categories.php:233]
[10-Aug-2018 16:37:47 UTC] PHP Warning: trim() expects parameter 1 to be string, object given in /home/sparkswhsle/public_html/shop/admin/includes/functions/general.php on line 441
Possible root cause: should includes/classes/upload.php line 84 be changed from:
Code:
'tmp_name' => (isset($GLOBALS[$this->file]) ? $GLOBALS[$this->file] : ''),
to:
Code:
'tmp_name' => (isset($GLOBALS[$this->file . '_tmp_name']) ? $GLOBALS[$this->file . '_tmp_name'] : ''),
Bookmarks