You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This site was using Litespeed Drupal module (v 1.2) on D9.
On D10, I used v1.5.
End result: some pages worked and some did not.
I disabled all caching and css/js aggregation. Problem still persists.
For the pages that did work, the correct css/js files are accessed.
For the pages that didn't work, Drupal is trying to get the optimized css/js files but they do not exist (this is with css/jss disabled).
When I checked the Drupal logs I see:
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: The theme must be passed as a query argument in Drupal\system\Controller\AssetControllerBase->deliver() (line 132 of /code/web/core/modules/system/src/Controller/AssetControllerBase.php).
When I uninstall the LiteSpeed Drupal module, everything works perfectly.
I have resorted to not using the Drupal Litespeed module until this is fixed.
Let me know if you need any additional info. I have the db backup on D10 with Litespeed enabled.
Just to note, I am not 100% sure if this is the fault of the Litespeed module or just my hosting. My hosting is using Litespeed webserver and was working perfectly using D9 and Litespeed v1.3.
It's difficult to test this locally. Locally, I am using ddev with nginx so I cannot replicate the problem locally.
The text was updated successfully, but these errors were encountered:
For me, I ended up uninstalling this lscache module and I never got the error after that. But as I said, the root issue may not be because of this module.
I was in a crunch so I ended up moving on without the lscache module just so I can get the D10 site up and running.
I'd be interested to know what's the final solution though.
I upgraded a site from D9 to D10.
This site was using Litespeed Drupal module (v 1.2) on D9.
On D10, I used v1.5.
End result: some pages worked and some did not.
I disabled all caching and css/js aggregation. Problem still persists.
For the pages that did work, the correct css/js files are accessed.
For the pages that didn't work, Drupal is trying to get the optimized css/js files but they do not exist (this is with css/jss disabled).
When I checked the Drupal logs I see:
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: The theme must be passed as a query argument in Drupal\system\Controller\AssetControllerBase->deliver() (line 132 of /code/web/core/modules/system/src/Controller/AssetControllerBase.php).
When I uninstall the LiteSpeed Drupal module, everything works perfectly.
I don't know if this issue is related, but here it is anyway: https://www.drupal.org/project/drupal/issues/3393274
I have resorted to not using the Drupal Litespeed module until this is fixed.
Let me know if you need any additional info. I have the db backup on D10 with Litespeed enabled.
Just to note, I am not 100% sure if this is the fault of the Litespeed module or just my hosting. My hosting is using Litespeed webserver and was working perfectly using D9 and Litespeed v1.3.
It's difficult to test this locally. Locally, I am using ddev with nginx so I cannot replicate the problem locally.
The text was updated successfully, but these errors were encountered: