Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

yt_logo animation and menu items separation
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: yt_logo animation and menu items separation

Re: yt_logo animation and menu items separation 9 months, 2 weeks ago #51286

Re: yt_logo animation and menu items separation 9 months, 2 weeks ago #51294

  • Ikziehet!
  • OFFLINE
  • Single Product
  • Senior Boarder
  • Posts: 42
  • Karma: 0
HI Hieutt! I did, but if I try to edit the style of the template in MAMP (php 8..2.0, Joomla 4.3.3.) I keep getting the message:

An error has occurred.
0 WebAssetManager is locked, you came late.

How to solve this??

Re: yt_logo animation and menu items separation 9 months, 2 weeks ago #51296

  • Ikziehet!
  • OFFLINE
  • Single Product
  • Senior Boarder
  • Posts: 42
  • Karma: 0
NB: If I disable the YT plugin I can edit the style of SJplus, (but then the website is not visible on the frontend of course). So what I am doing now as a work-around is the following: I disable the YT plugin, work on the style, save and then enable the YT plugin to see the result on the frontpage in my localhost. But that is of course not the best way. Can you fix the YTplugin so that I can keep it enabled and the message:

An error has occurred.
0 WebAssetManager is locked, you came late.

Is fixed? That would be awesome.

Re: yt_logo animation and menu items separation 9 months, 2 weeks ago #51323

You can go to file
libraries\src\WebAsset\WebAssetManager.php
Please comment this code again :
if ($this->locked) {
throw new InvalidActionException('WebAssetManager is locked, you came late');
}

Re: yt_logo animation and menu items separation 9 months, 2 weeks ago #51334

  • Ikziehet!
  • OFFLINE
  • Single Product
  • Senior Boarder
  • Posts: 42
  • Karma: 0
Fantastic, that solve s it indeed Hieutt! I changed the code into:

public function useAsset(string $type, string $name): WebAssetManagerInterface
{
//if ($this->locked) {
// throw new InvalidActionException('WebAssetManager is locked, you came late');
//}

That worked. But if Joomla updates this file (it is a core file), this gets lost. How can I make sure it does not get lost in future updates? Thank you!

Re: yt_logo animation and menu items separation 9 months, 2 weeks ago #51338

in the future, joomla may change the way it works, maybe this error will no longer happen, we have to wait until joomla has a change
  • Page:
  • 1
  • 2
Time to create page: 0.29 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes