Litespeed cache issues

After updating to Hivepress 1.7.4 I’ve had several issues. One of them was the disappearance of images in listing blocks. On top of that, all the java scripts stopped working for non logged in visitors.
I have Litespeed Cache plugin installed, version 6.2.0.1, which is the last one from April this year. I also have EWWW Image Optimizer, which was last updated before Hivepress was updated.

All was working well until Hivepress updated to 1.7.4. I could verify it is a conflict between Hivepress and Litespeed and maybe EWWW Image optimizer, because deactivating Litespeed solves the JS issues, and deactivating EWWW solves some images issues. And I am working with one website running Hivepress 1.7.3 that has Litespeed and EWWW running without issues.

Steps to reproduce

Updating to Hivepress 1.7.4 while having Litespeed Cache and possibly some image optimizer plugin

Actual result

Images in listing blocks are replaced by grey background. On top, non logged in users can’t interact with my site. Buttons don’t work, the navbar does not work, the sign in popup does not load…all scripts are blocked

Expected result

A working website with all plugins running :smiley:

Extra details

In Litespeed cache I have always had Lazy load images setting off. In my case, this was not the issue.
I did have in Litespeed the JS COMBINE option ON in the Page optimization settings. It used to work before, but since the Hivepress update it does not work anymore (there is a warning in Litespeed "This option may result in a JS error or layout issue on frontend pages with certain themes/plugins. JS error can be found from the developer console of browser by right clicking and choosing Inspect. "). Setting it to OFF solved the JS issues and the website responds again.

I also opened the developer console, and it shows many JS errors, even after deactivating the JS combine option (and deactivating all JS optimizations from LS cache).

Error messages are :

  • WebGL warning: texImage: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads.
  • Error: WebGL: texImage2D: Conversion requires change inalpha-premultiplication.
  • TypeError: t._adapters is undefined
  • Error: WebGL: texImage2D: Conversion requires pixel reformatting.

Clicking on the source of the errors many times seem to have to do with the MAPBOX API.

I hope with this information you can figure out what conflicts there are. Something with images and something with JS. Possibly Mapbox is involved (there were reports from people who had issues recently with geolocation).

I solved the problems partially, but the idea is to be able to run plugins normally, and not deactivating other perfectly working plugins when Hivepress updates. Like I said many times, on Hivepress 1.7.3 images show fine and JS runs fine, but running the console it also shows the same JS errors as stated above, especially inside listing pages (so the geolocation extension might have issues too)

1 Like

Hi,

If you can, please send us a link to your website so we can check it out in more detail.

If this is not possible, copy the JS error from the console: Buka Chrome DevTools  |  Chrome for Developers

Since I run 1.7.4 on a test website, I can’t share that link. I sent an email to support with this issue and the links

Hi,

I see. Please try to update HivePress to the latest version. Also, please disable the defer scripts feature in LiteSpeed. Additionally, please note that there were no changes in our updates that could have caused this issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.