MAY 03 2020

Magento Checkout broken after SUPEE-10415, blank empty page

Problem description After installing SUPEE-10415 patch Magento Checkout page is broken, blank or empty. Cause and solution There are several possible cases caused by improper patch installation of SUPEE-10415 or earlier SUPEE-8788 patch, Please check the following articles for solution: Cannot redeclare Mage_Core_Helper_String::unserialize() Cannot redefine class constant Mage_Customer_Model_Customer::MAXIMUM_PASSWORD_LENGTH Unsupported data type N If you have any difficulties with solving this problem or got a similar one, please let us know in comments below, so we… Read the rest
MAY 03 2020

Cannot redeclare Mage_Core_Helper_String::unserialize() in app/code/core/Mage/Core/Helper/String.php

Problem description Magento Checkout is blank/empty after installing SUPEE-10415, the following error logged in PHP error log: PHP Fatal error: Cannot redeclare Mage_Core_Helper_String::unserialize() in app/code/core/Mage/Core/Helper/String.php on line 505 Cause app/code/core/Mage/Core/Helper/String.php file got patched twice (either due to manual action or by file upload from another Magento version). As result, unserialize() function is defined twice and causing fatal error. Solution Delete extra definition of unserialize() function in app/code/core/Mage/Core/Helper/String.php file: If you have any difficulties with solving… Read the rest
MAY 03 2020

Cannot redefine class constant Mage_Customer_Model_Customer::MAXIMUM_PASSWORD_LENGTH in app/code/core/Mage/Customer/Model/Customer.php on line 55

Problem description After installing SUPEE-10415 Magento Checkout page is blank/empty. The following error logged in PHP error log or shown (if display_errors is enabled): PHP Fatal error: Cannot redefine class constant Mage_Customer_Model_Customer::MAXIMUM_PASSWORD_LENGTH in app/code/core/Mage/Customer/Model/Customer.php on line 55 Cause app/code/core/Mage/Customer/Model/Customer.php have MAXIMUM_PASSWORD_LENGTH constant declared two or more times. It can happen if the file was patched manually earlier or uploaded from newer Magento version. Solution Edit app/code/core/Mage/Customer/Model/Customer.php and delete the extra declaration of MAXIMUM_PASSWORD_LENGTH around line… Read the rest