Tell me what the problem is, please.

static function getCategoriesSelect_easyblog_category() { $db = JFactory::getDbo(); $db->setQuery("SELECT id, title, parent_id FROM #__easyblog_category WHERE published = '1' AND `extension` IN ('com_content', 'system')"); $rows = $db->loadAssocList(); if (count($rows)) { foreach ($rows as $row) { $categories[$row['parent_id']][] = $row; } } $categories = JoomlaParserHelper::getTreeArray($categories, 0, 'id'); $categories = JoomlaParserHelper::treeSelect($categories); return $categories; } 

Closed due to the fact that off-topic participants Edward , Sergey Glazirin , Suvitruf , 0xdb , 21 Aug '18 at 14:18 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reasons:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - Edward, ߊߚߤߘ
  • “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - Sergey Glazirin, Suvitruf, 0xdb
If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    There is no extension column in the #__easyblog_category table

    • Yes, thanks figured out. - Dron