We tried to upgrade our Magento installation from 1.7.0.2 to 1.8.0.0. Now we got the following error on all pages:
Fatal error: Call to a member function rewrite() on a non-object in /home/clientname/domains/domain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php on line 165
We tried to clear all caches, disable and recompile the compiler and reindex the indexer. Earlier today everything went well on our local installation. This is the same installation except some orders and client data.
When the compiler is enabled the error changes in:
Fatal error: Call to a member function rewrite() on a non-object in /home/clientname/domains/domain.com/public_html/includes/src/__default.php on line 17761
How we can debug this error?