Error notice using search

From Joomla! Documentation

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

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


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


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