"Invalid mode for clean() method" errors after upgrading to 1.4

When upgrading to Magento v1.4+ from a previous version you may get an error "Invalid mode for clean() method". 

This occurs because of a change in the Zend Framework shipped with Magento.

To fix the error, delete the /app/code/core/Zend/Cache directory.

 

Note: With Magento v1.4.0.1, error reporting is switched off. To switch error reporting on, rename /errors/local.xml.sample to /errors/local.xml. Rename it back again on production websites.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Installing Magento

We've installed it for a number of clients on our 'dingo' server which has all the system...

Using Web Server Rewrites

Magento can use more human looking and search engine friendly addresses for it's pages if you...

Emails not being sent from Magento

If you're not receiving emails from Magento - eg. from the 'Forgotten your password' link in the...

Magento Connect Downloader gives Internal Server Error

There's a bug in Magento's downloader which sets the file permissions to files it has installed...

Magento v1.1 says pdo_mysql not installed

Please delete the php.ini that gets installed with v1.1. This overrides the system php.ini which...