Basil Clarke
Am upgrading a website to Joomla 4 on XAMPP, using the Cassiopiea template. When I embed a mod_feed module in a custom module I get an error:
0 Call to undefined method RegularLabs\Plugin\System\ModulesAnywhere\Form\Field\ChromeStyleField::setDatabase()
I've tried installing the latest development version of the module, but it makes no difference.
Embedding custom modules within custom modules works fine.
Call stack
Call stack
# Function Location
1 () JROOT\plugins\system\modulesanywhere\src\Form\Field\ChromeStyleField.php:26
2 RegularLabs\Plugin\System\ModulesAnywhere\Form\Field\ChromeStyleField::getTemplateStyles() JROOT\plugins\system\modulesanywhere\src\Replace.php:226
3 RegularLabs\Plugin\System\ModulesAnywhere\Replace::getModuleChromeStyle() JROOT\plugins\system\modulesanywhere\src\Replace.php:488
4 RegularLabs\Plugin\System\ModulesAnywhere\Replace::processModule() JROOT\plugins\system\modulesanywhere\src\Replace.php:424
5 RegularLabs\Plugin\System\ModulesAnywhere\Replace::processMatch() JROOT\plugins\system\modulesanywhere\src\Replace.php:601
6 RegularLabs\Plugin\System\ModulesAnywhere\Replace::replaceMatches() JROOT\plugins\system\modulesanywhere\src\Replace.php:583
7 RegularLabs\Plugin\System\ModulesAnywhere\Replace::replace() JROOT\plugins\system\modulesanywhere\src\Replace.php:65
8 RegularLabs\Plugin\System\ModulesAnywhere\Replace::processModules() JROOT\plugins\system\modulesanywhere\src\Replace.php:120
9 RegularLabs\Plugin\System\ModulesAnywhere\Replace::replaceTags() JROOT\plugins\system\modulesanywhere\modulesanywhere.php:100
10 PlgSystemModulesAnywhere->changeFinalHtmlOutput() JROOT\libraries\regularlabs\src\SystemPlugin.php:149
11 RegularLabs\Library\SystemPlugin->onAfterRender() JROOT\libraries\src\Plugin\CMSPlugin.php:285
12 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT\libraries\vendor\joomla\event\src\Dispatcher.php:486
13 Joomla\Event\Dispatcher->dispatch() JROOT\libraries\src\Application\EventAware.php:111
14 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT\libraries\src\Application\CMSApplication.php:1045
15 Joomla\CMS\Application\CMSApplication->render() JROOT\libraries\src\Application\SiteApplication.php:802
16 Joomla\CMS\Application\SiteApplication->render() JROOT\libraries\src\Application\CMSApplication.php:284
17 Joomla\CMS\Application\CMSApplication->execute() JROOT\includes\app.php:63
18 require_once() JROOT\index.php:32