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

Magento Checkout show blank page after SUPEE-10570 security patch

Problem description Proceeding to Magento Checkout page when logged in as a customer results in a blank page after SUPEE-10570 or Magento upgrade with Magento Compiler enabled. There are no any PHP errors logged or shown unlike PHP Parse error: syntax error, unexpected ‘[‘ PHP incompatibility case with SUPEE-10752 patch. Cause The problem occurs on trying to load a customer object using any available Magento methods, be it via Mage::getModel(‘customer/customer’) or Mage::getSingleton (‘customer/session’) at getPasswordTimestamp()… 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
MAY 28 2019

Magento’s “404 error: Page not found” in default design after SUPEE-10415

Magento throws 404 error: Page not found. in default design for any request after SUPEE-10415 patch installation or after upgrade to Magento 1.9.3.7 version and newer: It shows 404 error for all pages: Magento backend, Home page, product pages, category pages etc. Cause The following code was added in SUPEE-10415/Magento 1.9.3.7 to log function of app/Mage.php file to validate log file extensions: With that code, Magento is not properly logging PHP warnings that occur early… Read the rest
MAY 28 2019

package community/lib_linlibertinefont 2.8.14.17 conflicts with: community/mage_core_adminhtml 1.9.3.10

During Magento upgrade via Magento Connect Manager or from ./mage upgrade-all CLI command there is the following or similar message reported in console: package community/lib_linlibertinefont 2.8.14.17 conflicts with: community/mage_core_adminhtml 1.9.3.10 Cause Most likely cause of this dependency issue is the following: upgrade-all: Failed to delete files: ./pkginfo/Mage_All_Latest.txt Check permissions The actual error message is just masked in long output from ./mage upgrade-all Solution The solution is to locate actual error message and correct it, i.e…. Read the rest
MAY 28 2019

Magento :: upgrade-all: Failed to delete files: ./pkginfo/Mage_All_Latest.txt Check permissions

During Magento upgrade via Magento Connect Manager or from ./mage upgrade-all CLI command there is the following or similar message reported in console: Magento upgrade-all: Failed to delete files: ./pkginfo/Mage_All_Latest.txt Check permissions Full error message may look like the following: Cause Most likely, instead of file pkginfo/Mage_All_Latest.txt there is such directory, so Magento can not delete it with rm or unlink call. You can check it by navigating into pkginfo/ folder in your filemanager or… Read the rest
DEC 03 2018

Mage_Backup is disabled after SUPEE-10975 patch or after upgrade to 1.9.4.0

Mage_Backup core module is disabled after SUPEE-10975 patch or after upgrade to 1.9.4.0. It is not possible to create Magento database backup as corresponding screen in backend is missing. Also it is not possible to use any third-party extensions that rely on Mage_Backup. Cause The backup module is disabled intentionally by patch/upgrade process. Solution If you wish to use Mage_Backup core module you can enable it with completing the following steps: change <active> tag to… Read the rest
MAY 28 2019

User Notice: ‘hashed_directory_umask’ is deprecated -> please use ‘hashed_directory_perm’ instead in lib/Zend/Cache/Backend/File.php on line 143

After PHP version upgrade Magento throws the following error message in log: User Notice: ‘hashed_directory_umask’ is deprecated -> please use ‘hashed_directory_perm’ instead in lib/Zend/Cache/Backend/File.php on line 143 Sometimes, such notice (actually, any notice) cause 404 error response for every Magento page due to early self::helper(‘log’) call added in SUPEE-10415. Cause hashed_directory_umask option is deprecated in newer PHP version and should be replaced with hashed_directory_perm. hashed_directory_umask option is not referred directly in Magento 1.x code, though… Read the rest
APR 04 2021

Uncaught ArgumentCountError: Too few arguments to function Mage_Sales_Model_Order::getCreatedAtFormated(), 0 passed

The following fatal PHP error is triggered on attempt to place order or send order confirmation email after upgrade to PHP 7.2 on Magento or OpenMage LTS stores: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Mage_Sales_Model_Order::getCreatedAtFormated(), 0 passed in lib/Varien/Filter/Template.php on line 301 and exactly 1 expected in app/code/core/Mage/Sales/Model/Order.php:2083 Cause There is a call to getCreatedAtFormated() function in somewhere in the order confirmation email templates and it is passed without any arguments,… Read the rest
SEP 22 2018

Magento Cannot save the customer after SUPEE-10888

After applying SUPEE-10888 the following error is reported in Backend when new customer is created: Cannot save the customer Solution Enable “Remember me” option should be set to No at System > Configuration > Persistent Shopping Cart Flush Magento cache
SEP 22 2018

Reset password not working after SUPEE-10888

Customers can not reset their passwords in Frontend after installing SUPEE-10888 patch. Blank screen or fatal error is reported on password reset page. See Fatal error: Call to a member function getBackend() on a non-object in app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 153.
FEB 11 2021

Fatal error: Uncaught Error: Call to a member function getBackend() on bool in app/code/core/Mage/Eav/Model/Entity/Abstract.php:1538


4 comments

Blank screen or the following fatal error is thrown on attempt to change customer’s password in Frontend or Backend or request a password reset after applying SUPEE-10752 or SUPEE-10888 or upgrade: Fatal error: Call to a member function getBackend() on a non-object in app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 1536. or (in newer versions) Fatal error: Uncaught Error: Call to a member function getBackend() on bool in app/code/core/Mage/Eav/Model/Entity/Abstract.php:1538 The error started after SUPEE-10752 or SUPEE-10888 installation or after… Read the rest
SEP 20 2018

SUPEE-10888 failed on app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml

Applying SUPEE-10888 patch against Magento 1.8.1.0 codebase fails on app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml: can’t find file to patch at input line 1019 Perhaps you used the wrong -p or –strip option? The text leading up to this was: ————————– |diff –git app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml |index b1ec5eb0460..ca3e8b32474 100644 |— app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml |+++ app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml ————————– File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored Cause The problem is that there are no RWD theme in Magento… Read the rest
SEP 22 2018

File skin/adminhtml/default/enterprise/images/placeholder/thumbnail.jpg: git binary diffs are not supported.


1 comments

The following error is reported on SUPEE-10888 installation (PATCH_SUPEE-10888_CE_v1.9.3.9_v1-2018-09-18-02-41-27.sh): File skin/adminhtml/default/enterprise/images/placeholder/thumbnail.jpg: git binary diffs are not supported. Cause The last chunk of the patch file (PATCH_SUPEE-10888_CE_v1.9.3.9_v1-2018-09-18-02-41-27.sh) contains a new file skin/adminhtml/default/enterprise/images/placeholder/thumbnail.jpg provided in a git diff format: Solution Update: updated patch files available (with v1-2018-09-19 in filenames), re-download the patch from Downloads page: https://magento.com/tech-resources/download#download2243 Regular patch command used in the script can not apply git diffs by default, such diff should be applied by git… Read the rest
MAY 26 2019

PHP Parse error: syntax error, unexpected ‘[‘ in app/code/core/Mage/Checkout/Model/Type/Onepage.php on line 691

Problem description Magento Onepage checkout page is blank after SUPEE-10752. The following fatal PHP error thrown at Magento Onepage Checkout page after installing SUPEE-10752 patch: PHP Parse error: syntax error, unexpected ‘[‘ in app/code/core/Mage/Checkout/Model/Type/Onepage.php on line 691 Cause Array de-referencing is used in the following line of code added in SUPEE-10752: Support of array de-referencing is added in PHP 5.4, older versions (PHP 5.3) will throw fatal error like above on attempt of array de-referencing…. Read the rest