Actions

Error notice using search

From Joomla! Documentation

Revision as of 08:36, 16 February 2012 by Oc666 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Issue

When making a search within the search module, the next notice appears:

Notice: Trying to get property of non-object in /path/to/joomla/plugins/search/content/content.php on line 234

Fix

You have to replace in plugins/search/content/content.php line 234 with the following line:

$itemid = isset($item->id) ? '&Itemid='.$item->id : '';

See also