Search
Other Modules Anywhere questions
Forum

"WebAsset Manager is locked"

IDIM WEB's Avatar IDIM WEB
Hi Peter,

On several sites, if I enable the system cache (conservative as well as progressive), I have an error 0 WebAsset Manager is locked on some pages. I noticed that it seems to be linked with Modules anywhere + Hikashop filter module (as it's the pages with the filter module that crash).
On another site with Hikashop on which I don't use Modules Anywhere, I don't have the issue.
One of the pages on which I face this issue: www.gandelman.net/rolex/collection

Any idea what's going on?

Thanks in advance for your help,

Sandra
Peter van Westen's Avatar Peter van Westen ADMIN
This is pretty much a limitation of Joomla 4 and higher.
You can't place the {module} in areas not passed through the content plugins (at an early stage) if the module tries to load css or script files.

If you are placing the {module} tag in a Custom module, make sure you enable the Prepare Content option in that module.
Please post a rating at the Joomla! Extensions Directory
IDIM WEB's Avatar IDIM WEB
Thanks Peter for your answer.

The filter modules which seems to create the issue is not placed in a custom module and are not called with the module tag. These modules don't have a Prepare content option.
I have other modules using the module tag in Hikashop product view but these pages works fine with the cache enables
Peter van Westen's Avatar Peter van Westen ADMIN
And if you set caching to Conservative?
Please post a rating at the Joomla! Extensions Directory
IDIM WEB's Avatar IDIM WEB
I have the same issue with Conservative cache.

I'm doing some tests on a copy of the site to try to reproduce the issue and try to understand
Peter van Westen's Avatar Peter van Westen ADMIN
So where are you placing the {module} tag? In an article? In another module? Somewhere else?
Please post a rating at the Joomla! Extensions Directory
IDIM WEB's Avatar IDIM WEB
The filter module is just displayed in a module position.

On a copy of the site, I don't face the same issue. Weird. I'll try to understand
Peter van Westen's Avatar Peter van Westen ADMIN
No, I mean you are using a Modules Anywhere {module} tag somewhere on the page, right?
Where?
Please post a rating at the Joomla! Extensions Directory
IDIM WEB's Avatar IDIM WEB
Yes, you're right. I use the module tag to display the filters on mobile. I added it to an Hikashop view
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
IDIM WEB's Avatar IDIM WEB
One thing: the only difference between the production site which crashes and its copy which doesn't is that the production site is using MariaDB. Can it be linked to this?
Peter van Westen's Avatar Peter van Westen ADMIN
Did you try the dev version?
Please post a rating at the Joomla! Extensions Directory
IDIM WEB's Avatar IDIM WEB
Just did. It seems to solve the issue. Thanks a lot Peter!
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, great 🙂
The fix will be included in the next release.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription