Few days back, we posted common errors that people were facing during Magento 1.7 upgrade. This time we have analysed some more errors which magento users are encountering and tried to post them out here with their possible solutions. In case you are getting any issue while upgrading to 1.7, you can also post at our Magento Forum.
Fatal error: Call to a member function toOptionArray() on a non-object in /home/magento/public_html/includes/src/Mage_Adminhtml_Block_System_Config_Form.php on line 463
Solution: For solving this issue, you need to disable any 3rd-party extensions you might have. Clear the cache and try again.
Google Analytics missing after upgrade to 1.7
Solution: Add a tag template=”googleanalytics/ga.phtml” in the XML file as shown below:
<layout version="0.1.0"> <!-- Default layout, loads most of the pages --> <default> <!-- Mage_GoogleAnalytics --> <reference name="before_body_end"> <block type="googleanalytics/ga" name="google_analytics" as="google_analytics" template="googleanalytics/ga.phtml" /> </reference> </default> </layout>
Admin Panel Crashed after 1.7 Upgrade
In order to solve this issue, you need to delete or rename app/code/local/Mage/Sales/Order.php