AndreD Posted May 31, 2010 Posted May 31, 2010 Some of my customers, particularly vustomers that been in the shop before, gets this error: Fatal error: Call to a member function add_current_page() on a non-object in /public_html/includes/application_top.php on line 312 The application_top.php contains: // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page(); <<<<<<<<<<<<<<<<<<<<<<< This is line 312 >>>>>>>>>>>>>> Clearing cache/cookies helps. Please help so they don't get the error anymore.
germ Posted May 31, 2010 Posted May 31, 2010 Follow the links in my posts here: Click Me If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
AndreD Posted May 31, 2010 Author Posted May 31, 2010 thank you, replaced the code. Strange I did not found it when searching the forum for it..
germ Posted May 31, 2010 Posted May 31, 2010 thank you, replaced the code. Strange I did not found it when searching the forum for it.. It's been my experience that the error you posted about is actually the result of another error. What usually happens is the site has some PHP error, when the customer gets that error then refreshes the page (or possibly visits another page) the error you posted about shows up. So you still might have something amiss somewhere else. :'( If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.