- Issue created by @maxilein
- π¦πΉAustria maxilein
Maybe it is important to know that I changed the order of the primary menu above the header.
- πΊπΈUnited States flashwebcenter Austin TX
Hello,
I have tested this scenario on both a fresh install and the demo site and did not encounter any errors.
The issue appears to be that the solo-utils.js file is missing. Please ensure that this file is present in your installation. If you have a URL available, I would be happy to review it for you.
Best wishes,
Alaa - π¦πΉAustria maxilein
I will try this module and see if it can make a difference: https://www.drupal.org/project/modules_weight β and post back soon.
- πΊπΈUnited States flashwebcenter Austin TX
Hello,
In Drupal, JavaScript files are not guaranteed to load in the exact order they are declared within a single library definition. In this case:
- solo-global includes solo-utils.js
- solo-menu includes several menu-related scripts that may depend on solo-utils.js
Because these two libraries are defined independently, Drupal may load solo-menu before solo-global, which can result in errors if solo-utils.js is required first.
To ensure proper load order, Iβve explicitly declared a dependency from solo-menu to solo-global using the dependencies: key in the library definition. This guarantees that solo-utils.js loads before any dependent code.
Please download the latest development version and test it in your environment. I was unable to reproduce the issue locally, but this update should resolve the reported conflict.
Best regards,
Alaa