cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

Hi,

 

Sometimes (read 3-4 times a week) when I go to my Magento shop, I get the following error:

Fatal error: Call to a member function getFrontNameByRoute() on a non-object in /home/users/pccenftp/shop.pccenter.be/app/code/core/Mage/Core/Model/Url.php on line 547

 

When I clean the cache, the error is gone, but can anyone tell me what this error is and how to resolve it?

 

With kind regards.

2 REPLIES

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

I would first search your code to find a 3rd party or local extension that calls "getFrontNameByRoute()".

 

Is there anymore to this error code?

-Kris
4x Certified, Blogger @ xgento.com

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

After a search I only get references of "getFrontNameByRoute()" in original Magento files, no plugins:

The website also only displays the error, nothing more.