WebDev22 Posted May 16, 2010 Share Posted May 16, 2010 I was trying to add an About Us page to the left information box and received the following error in the process: Fatal error: Call to a member function add_current_page() on a non-object in /home/SITENAME/public_html/includes/application_top.php on line 322 Any ideas? Link to comment Share on other sites More sharing options...
WebDev22 Posted May 16, 2010 Author Share Posted May 16, 2010 Line 322 in application_top.php is the last line below: // 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 322 Link to comment Share on other sites More sharing options...
germ Posted May 16, 2010 Share Posted May 16, 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 > Link to comment Share on other sites More sharing options...
WebDev22 Posted May 16, 2010 Author Share Posted May 16, 2010 Thanks for the link, Jim. When I did a search for help on this, I must have used too specific of a search phrase. Anyway, I was stunned when I went to open the site in a new browser and saw that it came up just fine. This happened when I was trying to add an "About Us" page. My next search is going to be to find out how to add a informative page without causing this type of error to reoccur. Thanks again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.