Select a category and trash. (Smart Search Index newly created, smartsearch plugins all enabled)
[04-Dec-2014 08:37:59 UTC] PHP Notice: Undefined variable: item in ROOT/plugins/finder/categories/categories.php on line 213
[04-Dec-2014 08:37:59 UTC] PHP Notice: Trying to get property of non-object in ROOT/plugins/finder/categories/categories.php on line 213
Code shows this is commented out:
foreach ($pks as $pk)
{
/* TODO: The $item variable does not seem to be used at all
$query = clone($this->getStateQuery());
$query->where('a.id = ' . (int) $pk);
$this->db->setQuery($query);
$item = $this->db->loadObject();
*/
// Translate the state.
$state = null;
if ($item->parent_id != 1)
etc.
If I uncomment this I get another notice:
Undefined property: stdClass::$parent_id
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-12-04 09:27:39 |
See and test #5314
Closing this issue.