Schogini is Magento2 ready. Are you?

Get started with Magento 2 | Need expert Magento2 support?

Magento – Fatal error: Class ‘Zend_Log’ not found


Category: Magento 1.9

As a Magento developer if, you ever encounter an error like this “Fatal error: Class ‘Zend_Log’ not found….” then, enable developer mode in Magento to see the actual error.

To enable developer mode, open your index.php file and fine this section (approx line num: 73)

if (isset($_SERVER[‘MAGE_IS_DEVELOPER_MODE’])) { Mage::setIsDeveloperMode(true); }

Just above this if add a line like this:

$_SERVER[‘MAGE_IS_DEVELOPER_MODE’] = true;

Now, refresh the page where you saw the fatal error message and the complete details of the error will appear on your screen. Remember to comment the line you added when you are done.

Additional Information:

Magento catches all PHP errors, processes it and re-formats it for display. This is done with the help of the Zend_Log class. In case your script throws an error before this class can be instantiated then, you will see such a fatal error. Developer mode will stop Magento from catching PHP errors and you will see the error details directly on the browser.


 

Schogini's customer service extends beyond the natural boundaries. ~ Timothy Johnson

Schogini assures 24x7 - 6 hour turn around ticket response time and 24 hour Email response time (support@schogini.com)