Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Fatal Error in application_top.php


Recommended Posts

Received the following error:


Fatal error: Call to a member function add_current_page() on a non-object in /home/fabrih5/public_html/shop/includes/application_top.php on line 312


did a restore from backup and still getting the error.


The code adjacent to line 312 is as follows:



// navigation history

if (tep_session_is_registered('navigation')) {

if (PHP_VERSION < 4) {

$broken_navigation = $navigation;

$navigation = new navigationHistory;



} else {


$navigation = new navigationHistory;


$navigation->add_current_page(); //line 312//


// Shopping cart actions



any help would be appreciated.



Link to comment
Share on other sites

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 >

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...