Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1938

Joomla! 4.x Coding • Facing error in running my extension in Joomla 4

$
0
0
Hello Team,

I have a requirement to run three extensions in my Joomla 4 project. Out of these three extensions two are working fine but whenever I enable the third extension, it gives my the error 'Call to a member function getWebAssetManager() on null'.
All these three extensions are working fine in Joomla 3.

It seems like there is some conflict in the below line whenever I enable my extension:-

$wa = $this->getWebAssetManager();

This line of code is written in around 300+ files.

Any help would be appreciated
Thanks

Statistics: Posted by snitish576 — Tue Mar 05, 2024 11:01 am



Viewing all articles
Browse latest Browse all 1938