slug, $article->catslug, $article->sectionid));PLEASE have a look to it, as I may not find any particular solution!Thanks for any appreciated answer."> [error] PHP Notice: Trying to get property of non-object - Forums

Forums

[error] PHP Notice: Trying to get property of non-object

X-Bit 06 Jul, 2010
Hello there!

I know, this forum is mostly dead, but I like the component and it actually works, after some updating and configuration.

I have just one anoying problem, which somebody could stumble over and think "hey, I know the answer!".

At the error_log, I find, over and over, the following PHP Notice:

[error] [client xxx.xxx.xxx.xxx] PHP Notice: Trying to get property of non-object in /var/www/vhosts/lehrmittelboutique.net/httpdocs/plugins/content/ChronoComments.php on line 142

Always somebody accesses the site, this notice is generated! I do know, that a "Notice" is not such a problem, but my error_logs are getting bigger for nothing!

Here the line 142 for your reference (which could be a different line number at the original file, as there had been made some updates to the file):


$page_link = JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catslug, $article->sectionid));


PLEASE have a look to it, as I may not find any particular solution!

Thanks for any appreciated answer.
This topic is locked and no more replies can be posted.