MAR 16 2018

Call to undefined method Mage_Log_Helper_Data::isLogFileExtensionValid() in app/Mage.php on line 811

Problem description The following error is shown or logged after Magento upgrade or patch installation (SUPEE-10415): PHP Fatal error: Call to undefined method Mage_Log_Helper_Data::isLogFileExtensionValid() in app/Mage.php on line 811 Cause app/Mage.php was updated with isLogFileExtensionValid() function, but there is no such function in app/code/core/Mage/Log/Helper/Data.php or code is cached by Magento Compiler or Opcode Cache. Ensure that the following code is in app/code/core/Mage/Log/Helper/Data.php (at the very end of file) If the code above is there, proceed… Read the rest
MAR 16 2018

Magento Customer login does not work in Chrome browser

Problem description Customers can not login into Magento with Chrome browser, the login page just reloads without any errors or warnings. Customer Login in other browsers and admin backend login function properly. Cause Magento sets extra session cookie that overrides new cookies set by new session, as result session expires right after login. Solution Navigate to System > Configuration > Web > Session Cookie Management and set the following settings: Cookie Lifetime: 7200 Cookie Path:… Read the rest
FEB 28 2018

HTML tags are not allowed in SKU attribute

Problem description HTML tags are not allowed in SKU attribute error is thrown on attempt to edit product in Magento backend at Catalog > Manage products > Product page. Cause SKU attribute value contains HTML tags and it is not allowed since SUPEE-10570 or Magento 1.9.3.8 version, SKU attribute requirements were hardened by the following code added to Mage_Adminhtml_Catalog_ProductController controller in app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php: Solution Edit SKU attrubute value and delete all HTML tags (<a>, <strong>, <b>… 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
OCT 25 2016

the right syntax to use near ‘.`value)` = ‘1’) ORDER BY store_name ASC’ at line 2

Problem description Checkout / Cart page results in fatal PHP error after Magento upgrade or SUPEE-6788 installation. The following problem report is generated: Cause SUPEE-6788 patch changed addFieldToFilter function to prevent SQL injections and Magestore/Storepickup extension should be updated to corresponds new Magento coding standards. Solution Request fixed version of Magestore/Storepickup extension from the extension developers. As a workaround it should be possible to comment out two lines that trigger the error:
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
NOV 01 2016

SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘`group`’ in ‘where clause’

Problem description After SUPEE-6788 patch budnle or after upgrade to Magento 1.9.2.4 Ess/M2ePro extension is not updating products or cron execution results in SQL error like the following: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘`group`’ in ‘where clause’ Cause SUPEE-6788 patch bundle hardened requirements to SQL queries for third-party extensions and the extension is not properly updated to match all new requirements to Magento coding standards. Solution Update Ess/M2ePro extension to the latest version… Read the rest
SEP 22 2016

Magestore Bannerslider not shown after SUPEE-6788 or Magento upgrade


1 comments

Problem description After SUPEE-6788 patch budnle or after upgrade to Magento 1.9.2.4 Magestore Bannerslider sliders are not shown, hidden or page with sliders or results in SQL error like the following: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘.`value)` = ‘0’) AND (`start_time` Cause SUPEE-6788 patch bundle hardened requirements to… Read the rest
FEB 01 2016

Magento registration form does not work after SUPEE-6788

Problem description After SUPEE-6788 patch budnle or after upgrade to Magento 1.9.2.2 customer registration form does not work correctly. Submitting the form have no any results just like page is simply refreshed, new customer accounts are not created. Cause SUPEE-6788 patch bundle introduced new form key requirement for customer registration form and included a special patch for base, default and rwd themes (for all themes that are shipped with Magento distribution). Custom themes however are… Read the rest
JAN 24 2016

PHP syntax error after SUPEE-7405 : unexpected [


2 comments

Problem description After SUPEE-7405 patch Sales Order Management screen in Magento Backend is blank or the following error is reported in PHP error log: PHP Parse error: syntax error, unexpected ‘[‘ in app/code/core/Mage/Adminhtml/Helper/Sales.php on line 124 Cause SUPEE-7405 is prepared with PHP 5.4 in mind, older PHP versions are incompatible with new language constructions used. Solution Change line 124 in app/code/core/Mage/Adminhtml/Helper/Sales.php from $links = []; to $links = array();:
NOV 13 2015

Customer login form does not work after SUPEE-6788


3 comments

Problem description After installing SUPEE-6788 or upgrade to Magento 1.9.2.2 customers can not login anymore. The login page is loaded correctly, however after filling in login name / email and password submitting the form does not result in success authorization. The page is just refreshed and login form is shown again. Cause SUPEE-6788 patch and Magento 1.9.2.2 version added a new hidden field to the login form and your design theme overrides default form and… Read the rest
NOV 18 2015

Magento Reset Password page is blank after SUPEE-6788


16 comments

Problem description Reset password page is blank (Magento WSOD) or results in Fatal error after installing SUPEE-6788 patch or upgrade to Magento 1.9.2.2 version. It is possible to enter email address and request a new password, but clicking on the link in password reset email results in empty page (Magento WSOD). Cause SUPEE-6788 patch and Magento 1.9.2.2 version changed customer_account_resetpassword section in themes for customer layout to customer_account_changeforgotten and your custom theme overrides base theme… Read the rest
FEB 01 2016

Pages and emails broken after SUPEE-6788 patch to Magento


21 comments

Problem description Some blocks are not shown on CMS pages, home page, category pages, landing pages in your Magento installation after installing SUPEE-6788 patch, page layout is broken. Some transactional emails, order notification emails are broken, incomplete or have some data missing after installing SUPEE-6788 patch. Cause SUPEE-6788 patch introduced new permissions for usage of blocks and core variables on CMS pages and inside templates or extensions. By default, only two blocks (core/template and catalog/product_new)… Read the rest
SEP 27 2015

Magento :: “Could not determine temp directory, please specify a cache_dir manually”

Symptoms Magento throws “There has been a problem processing your request” error. The following error is logged under var/reports/ or shown on any page: Cause Magento can not write cache to var/cache/ and var/tmp/ folders under Magento root directory. Either the directories do not exist or webserver can not write to these directories. Solution Make sure that var/cache/ and var/tmp/ folders exist under Magento root directory. If you can not find it, simply create it… Read the rest