Topic-icon PHP Notice

Active Subscriptions:

None
4 years 10 months ago #65463 by gersze
PHP Notice was created by gersze
Hi there,
I've just found hundreds of this in the error log:
PHP Notice:  Undefined property: stdClass::$catid in /plugins/content/jfbccontent/jfbccontent.php on line 287

any help appreciated
The topic has been locked.
Support Specialist
4 years 10 months ago #65468 by mel
Replied by mel on topic PHP Notice
If you'd like to try the following workaround to stop the warning,

Change /plugins/content/jfbccontent/jfbccontent.php on line 287
else if ($this->view == 'category' && $article->catid != null)
to
else if ($this->view == 'category' && isset($article->catid) && $article->catid != null)

I've only briefly tested this change, but don't see any side effects. I've added the issue to our tracker for the next bug fix release.

-Melissa
The topic has been locked.