JUN 16 2021

Uncaught Error: [] operator not supported for strings in app/code/local/Codazon/Themeframework/Model/System/Config/Source/Categoriestree.php

The following uncaught fatal error is thrown after upgrade to PHP7.x Magento 1.x Codazon theme: Fatal error: Uncaught Error: [] operator not supported for strings in app/code/local/Codazon/Themeframework/Model/System/Config/Source/Categoriestree.php:28 Full stack strace is Cause $_categoriesTree is initially defined as string and array is assigned later: This is not allowed in PHP7. Solution The following patch against app/code/local/Codazon/Themeframework/Model/System/Config/Source/Categoriestree.php should help:
AUG 11 2021

“Invalid HTTP response version: 2″ PayPal Payflowpro in Magento 1.x

The following exception logged on attempt to process PayPal Payflowpro payments in Magento 1.7.0.2: ERR (3): Zend_Http_Exception: Invalid HTTP response version: 2 in lib/Zend/Http/Response.php:182 Stack trace: #0 lib/Zend/Http/Response.php(665): Zend_Http_Response->__construct(200, Array, ‘RESULT=0&PNREF=…’, ‘2’, false) #1 lib/Zend/Http/Client.php(1007): Zend_Http_Response::fromString(‘HTTP/2 200 \r\nco…’) Cause Response from PayPal server is now returned with HTTP/2 version, while old Zend Framework and Magento code is capable in parsing only HTTP/1.0 and HTTP/1.1 responses. Solution It can be fixed with adjusting regular expressions matching… Read the rest
APR 25 2021

Amasty FPC extension broken after upgrade to OpenMage

After upgrade to OpenMage v19.4.8 or newer version Amasty FPC extension is broken. Cause The problem is in Frontend cookie session name. The cookie session name was changed in OpenMage v19.4.8 (see issue #990) and session name was hardcoded in Amasty FPC extension, so it could not detect session properly. Solution Obtain a newer Amasty FPC module version or request a patch from Amasty or use the following proven to work changes in the extension:
APR 06 2021

OpenMage:: “Wrong field specified.” error on saving configuration

Wrong field specified. error is shown in OpenMage Backend on attempt to save configuration on System > Advanced > System or saving configuration changes in non-default Configuration Scope: Cause Regression caused by commit c202af9b2f56550495462c82a459a4f741607b66 merged into 1.9.4.4 tree on January 2021 and included in v19.4.10 release. Solution Update to OpenMage v19.4.11 where the issue was fixed with commit c202af9b2f56550495462c82a459a4f741607b66 or apply the patch.
JUN 17 2020

OpenMage: Invalid attribute name: main_table.store_id

The following exception is thrown on attempt to load catalog after migration/upgrade to OpenMage 19.4.3: Invalid attribute name: main_table.store_id Solution Apply the very next commit after OpenMage v19.4.3 release: Source: https://github.com/OpenMage/magento-lts/issues/939
MAY 14 2020

[magento] Hundreds of new admin users with empty data after SUPEE-11314

There are a lot of new admin users in Magento Backend at System > Permissions > Users screen after upgrade or patch: In `admin_user` table all fields for these users are NULL, i.e. email, username are NULL as well. Cause Bug in v1 version of SUPEE-11314 patch released on April 28, 2020. Solution Magento has released v2 version of SUPEE-11314 on May 12, 2020. It is required to revert v1 and apply v2 version of… Read the rest
MAY 03 2020

Re-enable use of Admin SID in Magento after SUPEE-11314

After SUPEE-11314 or upgrade to Magento 1.9.4.5 use of Admin SIDs is disabled by default, which may affect certain modules (i.e. Sage Pay Suite MOTO payments). To re-enable use of Admin SIDs we can add corresponding section into backend: After that we Flush Magento cache, navigate to System > Configuration > Web > Session Validation Settings and change value of Use SID on Admin Backend option to Yes. Please do not forget to Flush Magento… Read the rest
MAY 04 2020

SagePay Suite Admin/Backend (MOTO) payments don’t work after SUPEE-11314

SagePay Suite Admin/Backend (MOTO) payments don’t work after SUPEE-11314 or upgrade to Magento 1.9.4.5. The following error is logged: Server error 5006: Unable to redirect to Vendor’s web site. The Vendor failed to provide a RedirectionURL. Cause Admin SID (Session Identifiers) were disabled in SUPEE-11314 and 1.9.4.5 version and Sage Pay Suite MOTO payments makes use of Admin SIDs to process payments. Solution Re-enable Admin SIDs, to do this properly you can insert the following… Read the rest
MAR 06 2020

[solution] M2ePro error: The password must have at least 7 characters

New M2ePro orders from eBay sales are not created in Magento after SUPEE-11219 patch or 1.9.4.3 upgrade, the following error is reported: Magento Order was not created. Reason: The password must have at least 7 characters. Leading or trailing spaces will be ignored. Cause SUPEE-11219 patch and 1.9.4.3 version introduced new requirement on password length, it has to be at least 7 characters long as of now. Auto-generated passwords for eBay orders were hardcoded to… Read the rest
MAY 03 2020

[M1] Uncaught DivisionByZeroError: Modulo by zero in downloader/Maged/BruteForce/Validator.php line 59


1 comments

The following fatal PHP error is thrown in PHP 7.x on attempt to login to Magento Connect Manager / Downloader: PHP Fatal error: Uncaught DivisionByZeroError: Modulo by zero in downloader/Maged/BruteForce/Validator.php:59 Cause Modulo by zero is used on line 59 of downloader/Maged/BruteForce/Validator.php when $configAttemptsCount is 0: Solution Add a check for non-zero $configAttemptsCount:
JAN 26 2020

Magento :: Can not delete products from cart after SUPEE-11219

It is not possible to remove products from cart or minicart after installing SUPEE-11219 or upgrade to Magento 1.9.4.3. There are no any errors shown. Cause Most likely cause of this problem are missing form keys in custom design theme used in template/checkout/cart/sidebar/default.phtml. As seen in corresponding changes for RWD theme: Solution Custom theme should be updated accordingly after SUPEE-11219 patch to allow form submission with form keys as shown in changes for RWD theme.
JAN 26 2020

Fatal error: Cannot redeclare Mage_Adminhtml_Model_LayoutUpdate_Validator::$_validator in app/code/core/Mage/Adminhtml/Model/LayoutUpdate/Validator.php on line 80

Editing any CMS page in Magento 1.7.0.2 results in a blank page or the following fatal error is shown after hitting Save button at CMS > Pages > Home or any other CMS page: Fatal error: Cannot redeclare Mage_Adminhtml_Model_LayoutUpdate_Validator::$_validator in app/code/core/Mage/Adminhtml/Model/LayoutUpdate/Validator.php on line 80 It simply does not allow to edit any CMS page with custom XML layouts. Cause The was a bug in previous version of SUPEE-11219 where $_validator was defined twice. Solution Rollback… Read the rest
MAY 03 2020

Uncaught Error: Class Crypt_Rijndael not found in app/code/local/Ebizmarts/SagePaySuite/Model/SagePayForm.php

Magento Checkout page is blank on payment with SagePay after Magento update or PHP compatibility patch installation. The following PHP error logged: Fatal error: Uncaught Error: Class Crypt_Rijndael not found in app/code/local/Ebizmarts/SagePaySuite/Model/SagePayForm.php Cause Old versions of Ebizmarts/SagePaySuite extension (prior to 4.2.10) have direct calls to Crypt_Rijndael() class and are incompatible with PHP7.2 support. This class is replaced in Magento updates with PHP7.2 support/patch: lib/phpseclib/Crypt/Rijndael.php file is replaced with newer Rijndael implementation. Solution Update Ebizmarts/SagePaySuite extension… Read the rest