Skip to content

Does Not Work With Widgetkit or Zoo from YooTheme #381

@sparkktv

Description

@sparkktv

I had this issue when JoomDev developed the Framework also. And they fixed it for me by changing some of the code manually in menu.php. It's still on their GitHub page also. However the fix no longer seems to work in Joomla 4, it only worked in Joomla 3.
https://github.com/joomdev/Astroid-Framework/pull/189/files

Here is the error messages.

`ERROR 0 - Call to undefined method MenuHelper::getList() in /Applications/MAMP/htdocs/libraries/astroid/framework/library/astroid/Component/Menu.php:585

Call stack

| Function | Location

1 | () | JROOT/libraries/astroid/framework/library/astroid/Component/Menu.php:585
2 | Astroid\Component\Menu::getMobileMenu() | JROOT/libraries/astroid/framework/frontend/mobilemenu.php:45
3 | include() | JROOT/libraries/src/Layout/FileLayout.php:128
4 | Joomla\CMS\Layout\FileLayout->render() | JROOT/libraries/astroid/framework/library/astroid/Document.php:83
5 | Astroid\Document->include() | JROOT/libraries/astroid/framework/frontend/document/body.php:51
6 | include() | JROOT/libraries/src/Layout/FileLayout.php:128
7 | Joomla\CMS\Layout\FileLayout->render() | JROOT/libraries/astroid/framework/library/astroid/Document.php:83
8 | Astroid\Document->include() | JROOT/templates/astroid_template_zero/index.php:33
9 | require() | JROOT/libraries/src/Document/HtmlDocument.php:741
10 | Joomla\CMS\Document\HtmlDocument->_loadTemplate() | JROOT/libraries/src/Document/HtmlDocument.php:796
11 | Joomla\CMS\Document\HtmlDocument->_fetchTemplate() | JROOT/libraries/src/Document/HtmlDocument.php:613
12 | Joomla\CMS\Document\HtmlDocument->parse() | JROOT/libraries/src/Application/CMSApplication.php:1012
13 | Joomla\CMS\Application\CMSApplication->render() | JROOT/libraries/src/Application/SiteApplication.php:724
14 | Joomla\CMS\Application\SiteApplication->render() | JROOT/libraries/src/Application/CMSApplication.php:298
15 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/includes/app.php:61
16 | require_once() | JROOT/index.php:32`

The error occurs only on pages where YooTheme Widgetkit or Zoo exist. Pages that don't contain those extensions work no problem. I'd really like to move back to Astroid Framework but my website is mostly Widgetkit & Zoo based and need it working before I can.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions