router.php on line 148

Fritz 18 Aug, 2009
- Chrono Contact version 3.1 RC5.1

I found this error in the error.log file from php PHP Version 5.2.8

PHP Notice: Trying to get property of non-object in [server]\includes\router.php on line 148
PHP Fatal error: Unsupported operand types in [server]\includes\router.php on line 148

Someone has some information for solving this issue?
GreyHead 18 Aug, 2009
Hi Fritz,

It looks as though the Joomla core code is trying to parse an ItemId - presumably from a URL - and can't find $item->query

No idea what causes it though, perhaps a broken menu item?

Bob
Fritz 19 Aug, 2009
Thanks for your help. I had sensed something. Unfortunately I can not find the variable with this URL process. Maybe could miss a slash. Often happens with other modules that do not provide that the site is not a subdirectory. Just recently it's success with a template where the productor has provided a specify variable in the parameters of the module.
GreyHead 19 Aug, 2009
Hi Fritz,

I'd probably add a debug line to router.php to see what it was trying to work on when the error appears. Often a simple echo or a $mainframe->enqueuemessage() will give me enough to pin the bug down.

Bob
Fritz 19 Aug, 2009
Thank you for advice, Bob!
This topic is locked and no more replies can be posted.