Engine23
blogBannerImage
By Engine23

Fixing Magento upgrade fatal error Fatal error: Call to a member function rewrite() on a non-object

When upgrading Magento from 1.12 or 1.13 to 1.14 you may experience this error

Fatal error: Call to a member function rewrite() on a non-object

If you do, its because of caching

A simple fix, if you do not have any server caching like memcached or varnish, etc. is to remove the contents of the /var folder in your file systems.