I've just upgraded from 1.2 to 1.3 and got a fatal error from line 624 of Tree.php. If I downgrade Tree.php to the version included in 1.2.5, there is no problem.
I'm running PHP 5.2.4, and everything else seems to be working.
Error in Tree.php
-
- Power Poster
- Posts: 322
- Joined: Sat Feb 04, 2006 1:24 am
- Location: London, England
Error in Tree.php
Last edited by stopsatgreen on Mon Jun 09, 2008 12:14 am, edited 1 time in total.
-
- New Member
- Posts: 4
- Joined: Mon Sep 17, 2007 1:05 pm
Re: Error in Tree.php
For info I just upgraded three sites on the same server from 1.2.5 to 1.3.
Two sites worked fine, but one site gave error
Fatal error: Call to a member function Active() on a non-object in site/lib/Tree/Tree.php on line 624
Following stopsatgreen's suggestion I also downgraded Tree.php and the site now works fine
but of course it would be better to identify what was causing the problem.... how?
Two sites worked fine, but one site gave error
Fatal error: Call to a member function Active() on a non-object in site/lib/Tree/Tree.php on line 624
Following stopsatgreen's suggestion I also downgraded Tree.php and the site now works fine
but of course it would be better to identify what was causing the problem.... how?
Re: Error in Tree.php
I have upgraded to 1.3 for several sites. Two had the same error in tree.php. One as an upgrade and the other was a fresh install.
I replaced the tree.php file with one from a previous CMS version. This solved the Tree error but I now have the following:
Fatal error: Call to a member function Id() on a non-object in /home/xxxx/public_html/plugins/function.breadcrumbs.php on line 119
- I tried replacing the file with the new and old version (no result)
Fatal error: Call to a member function Id() on a non-object in /home/xxxx/public_html/modules/Cataloger/Cataloger.module.php on line 361
- I have tried re-installing the Cataloger module (no result), I then uploaded the latest version of Cataloger (no result)
Can anyone help?
I replaced the tree.php file with one from a previous CMS version. This solved the Tree error but I now have the following:
Fatal error: Call to a member function Id() on a non-object in /home/xxxx/public_html/plugins/function.breadcrumbs.php on line 119
- I tried replacing the file with the new and old version (no result)
Fatal error: Call to a member function Id() on a non-object in /home/xxxx/public_html/modules/Cataloger/Cataloger.module.php on line 361
- I have tried re-installing the Cataloger module (no result), I then uploaded the latest version of Cataloger (no result)
Can anyone help?
-
- Power Poster
- Posts: 322
- Joined: Sat Feb 04, 2006 1:24 am
- Location: London, England
Re: Error in Tree.php
I've just upgraded another site from 1.2.4 to 1.3.1 and got the same error; although, curiously, not for all instances of {menu}; this worked:
This gave the error:
Again, going back to a previous Tree.php solved the problem.
Code: Select all
{menu items='contact,sitemap,gallery' template='List_Menu'}
Code: Select all
{menu number_of_levels='2' template='List_Menu'}
Re: Error in Tree.php
I also just had the same issue - upgraded from 1.2.5 to version 1.3.1 and all seemed to go well. Went to my website and the pages stopped loading when they hit the menu. 
Found this thread and reverted to the tree.php from version 1.2.5, and everything works again.

Found this thread and reverted to the tree.php from version 1.2.5, and everything works again.

Re: Error in Tree.php
I just had the same issue too. Is this a caching issue? Any word would be appreciated as I will be testing everything until I hear from someone.
Cheers,
-Jack
Cheers,
-Jack
Re: Error in Tree.php
This was an issue in earlier releases..... I havent heard about this issue on the 1.4 series...
Why dont you use the latest, being 1.4.1 atm
Ronny
Why dont you use the latest, being 1.4.1 atm
Ronny