MAY 28 2019

Magento :: Product image upload broken after upgrade or SUPEE-8788

Problem description After Magento upgrade to 1.9.3 or installation of SUPEE-8788 patch image upload is broken at Catalog > Manage Products > Product details > Images tab. It is not possible to upload new images, or Upload button is missing. Cause and solution See SyntaxError: expected expression, got ‘,’ for details. If you have any difficulties with solving this problem or got a similar one, please let us know in comments below, so we can… Read the rest
MAY 28 2019

Magento ‘Exception’ with message ‘Unsupported data type N’ in lib/Unserialize/Reader/ArrValue.php:88

After SUPEE-8788 patch Magento shows Cannot add the item to shopping cart. error message:   The following is logged into exception.log: exception ‘Exception’ with message ‘Unsupported data type N’ in includes/src/Unserialize_Reader_ArrValue.php:88 Stack trace: #0 includes/src/Unserialize_Reader_Arr.php(102): Unserialize_Reader_ArrValue->read(‘N’, ‘;’) #1 includes/src/Unserialize_Parser.php(53): Unserialize_Reader_Arr->read(‘N’, ‘;’) #2 includes/src/Mage_Core_Helper_UnserializeArray.php(44): Unserialize_Parser->unserialize(‘a:7:{s:4:”type”…’) #3 includes/src/__checkout.php(27996): Mage_Core_Helper_UnserializeArray->unserialize(‘a:7:{s:4:”type”…’) #4 includes/src/__checkout.php(28170): Mage_Rule_Model_Abstract->getConditions() #5 includes/src/__checkout.php(31075): Mage_Rule_Model_Abstract->validate(Object(Mage_Sales_Model_Quote_Address)) #6 includes/src/__checkout.php(31101): Mage_SalesRule_Model_Validator->_canProcessRule(Object(Mage_SalesRule_Model_Rule), Object(Mage_Sales_Model_Quote_Address)) #7 includes/src/Mage_SalesRule_Model_Quote_Freeshipping.php(74): Mage_SalesRule_Model_Validator->processFreeShipping(Object(Mage_Sales_Model_Quote_Item)) #8 includes/src/__checkout.php(35085): Mage_SalesRule_Model_Quote_Freeshipping->collect(Object(Mage_Sales_Model_Quote_Address)) #9 includes/src/__checkout.php(33436): Mage_Sales_Model_Quote_Address->collectTotals() #10 includes/src/__default.php(10589): Mage_Sales_Model_Quote->collectTotals() #11 app/code/core/Mage/Checkout/controllers/CartController.php(223): Mage_Checkout_Model_Cart->save() #12 includes/src/__default.php(14333): Mage_Checkout_CartController->addAction()… Read the rest
MAY 28 2019

Undefined class constant ‘XML_NODE_PRODUCT_MAX_DIMENSION’ in app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml on line 111


3 comments

Any attempt to edit product at Catalog > Manage Products in Magento backend results in a blank page and logs the following fatal error after SUPEE-8788 patch or Magento upgrade: Fatal error: Undefined class constant ‘XML_NODE_PRODUCT_MAX_DIMENSION’ in app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml on line 111 Cause XML_NODE_PRODUCT_MAX_DIMENSION constant used in the new app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml is defined in app/code/core/Mage/Catalog/Helper/Image.php with SUPEE-8788 applied: As the error says it can not find the constant definition, which may be possible due to one of… Read the rest
AUG 28 2019

Magento :: Fatal error: Call to undefined function lcfirst() in Mage/Uploader/Model/Config/Abstract.php

Problem description The following error is thrown on Catalog > Manage products in Magento backend after Magento upgrade or SUPEE-8788 installation (or Catalog > Manage products is blank): Fatal error: Call to undefined function lcfirst() in app/code/core/Mage/Uploader/Model/Config/Abstract.php on line 50 or Fatal error: Call to undefined function lcfirst() in includes/src/Mage_Uploader_Model_Config_Abstract.php on line 50 Cause lcfirst function is missing in your PHP version. It can happen if your PHP version is older than 5.3. Solution Request… Read the rest
JUL 23 2019

Magento :: SyntaxError: expected expression, got ‘,’

Problem description Image upload is broken in Magento after upgrade to 1.9.3 or SUPEE-8788 patch. The following error is logged in browser console: In HTML source code you can see that one element is missing in media_gallery_contentJsObject variable: Cause The problem is caused by Creare/CreareSEO or CJM/ColorSelectorPlus extensions that override image uploader code. Solution Creare/CreareSEO Update app/design/adminhtml/default/default/template/creareseo/catalog/product/helper/gallery.phtml file with the following change: or re-upload it from https://raw.githubusercontent.com/unxsist/CreareSEO/d5e0f35d21d290e61745d9c16a085b0b945f7fc0/app/design/adminhtml/default/default/template/creareseo/catalog/product/helper/gallery.phtml. CJM/ColorSelectorPlus
SEP 09 2021

Call to a member function setUrl() on a non-object after SUPEE-8788


2 comments

Problem description After SUPEE-8788 patch bundle or upgrade to 1.9.3.0 edit product page is broken in backend at Catalog > Manage products > Edit product. The following error logged in PHP error log: Fatal error: Call to a member function setUrl() on a non-object in app/code/local/MagicToolbox/Magic360/Block/Adminhtml/Settings/Edit/Tab/Form/Element/Gallery/Content.php on line 16 or Fatal error: Call to a member function setUrl() on a non-object in app/code/community/Unirgy/Giftcert/Block/Adminhtml/Import.php on line 45 Fatal error: Call to a member function setUrl() on… Read the rest
SEP 09 2021

How to install SUPEE-8788 without SSH


113 comments

SUPEE-8788 resolve multiple security issues, including critical vulnerabilities with certain payment methods and Zend Framework libraries, support for HTML5 image upload (no flash). If you have SSH access, it would be more safe to apply the patch via SSH or upgrade to Magento 1.9.4.5 or OpenMage. If upgrade is not an option due to some reason you still can apply the patch via FTP/sFTP upload as shown in this article. Before applying this patch, make… Read the rest
SEP 09 2021

How to install SUPEE-8788


6 comments

SUPEE-8788 resolve multiple security issues, including critical vulnerabilities with certain payment methods and Zend Framework libraries, support for HTML5 image upload (no flash). SUPEE-8788v2 patch (shell version) can be downloaded from Downloads section. To apply the patch you need SSH access (shell access actually, SSH is just most used way to get shell access) to the server. If you have no SSH access, you can refer to How to apply SUPEE-8788 via FTP/Filemanager/cPanel or any… Read the rest