Hello,
I am using T4 and the T4 Blank BS5 template - both the plugin and template are the latest versions - with Joomla 3.10.8
I am using an event management component called iCagenda. When a user clicks on a menu link for iCagenda's event submission form, they get the error:
"Call to undefined method Joomla\CMS\Document\HtmlDocument::getWebAssetManager()"
When I checked in development mode I saw the error is related to this file:
.../public_html/plugins/system/t4/themes/base/html/layouts/joomla/form/field/radio/switcher.php (54)
Line 53 & 54 is:
// Load the css files
Factory::getApplication()->getDocument()->getWebAssetManager()->useStyle('switcher');
When I use another template, I do not get this error.
Could you please check this for me?
To replicate the issue:
You will need to log in to the front-end of the website, the 'Member Login' module is on the right-hand sidebar. Once logged in you will see a 'Member Menu' and a link to 'Submit an Event'.