Felix Mahama
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingI have done some more digging into this problem and found that when esi is turned on, the css for the Product Slider Pro for WooCommerce plugin are not loaded. Following are the specific css files:
https://www.topbuygh.shop/wp-content/plugins/woo-product-slider-pro/src/Frontend/assets/css/swiper.min.css
https://www.topbuygh.shop/wp-content/plugins/woo-product-slider-pro/src/Admin/assets/css/fontello.min.css
https://www.topbuygh.shop/wp-content/plugins/woo-product-slider-pro/src/Frontend/assets/css/style.min.css
https://www.topbuygh.shop/shop/I not sure which css file the last one refers to, but it is missing when esi is on.
I hope this helps you track down the problem.
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingUpdate
Upon further testing, I can confirm that the esi shortcode with the slider (top) is the one causing the display distortions. Once I remove the esi tag from that shortcode, all the other shortcodes (that are simple product lists) display correctly. I moved the slider shorcode to the bottom but it didn’t help. I’ll keep digging.
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingThanks so much for the help so far. We’re making progress.
After adding the above code, the & is no longer changed. Also, the esi shortcodes are now showing. Even though there are display issues I’m looking into, it is a step forward.
However, the comment form is still not showing for logged-in users.
I’m working on the display issues but not making a headway. Take a look, you might be able to see something: https://www.topbuygh.shop/shop/. There are three esi shortcode blocks from the plugin Product Slider Pro for WooCommerce. The images displayed above the main product list is supposed to be a single row product slide. The images below the main product list is supposed to be a two-row horizontal product list. The list of products at the bottom of the left sidebar is faring better still not displaying correctly.
There’s a username block in the header which is also an esi block, but it is displaying correctly.
Here’s a report: JIPTPFVI
- This reply was modified 1 year ago by Felix Mahama.
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingI understand now. Yes, that is exactly how it is displayed. See image below.
I reached out to my host. They were able to reproduce the problem but couldn’t find anything linking the problem to the server. This leaves us with only WordPress and Litespeed cache plugin. Following are the instructions I gave them to follow:
To replicate,
1.Install a fresh WordPress site.
2.Open the hello world post.
3.Check that the comments form is showing.
4.Now install Litespeed cache plugin.
5.Turn on esi in litespeed cache setting. To turn on Ls cache esi, go to Litespeed cache >> Cache >>esi tab
6.Open the hello world post again and check the comments form. This time the comments form should not show.
7.Go to Litespeed cache >> Toolbox >> Debug settings and turn on debugging.
8.Reload the hello world post.
9.Now go to Litespeed cache >> Toolbox >> Log View (refresh the page if necessary).
10.Search for the string &. Where you find the above string, it should just be &.I’ve done some more testing. The comments form shows for guests but not for logged-in users. However, the shortcode esi blocks neither show for guests nor logged-in users. I am still testing on the test site. Now I’ve deleted all plugins leaving only Litespeed cache.
Any ideas what might be causing the & to be converted to &, or is it that #038; is being added to &?
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingI’m afraid I don’t understand the question.
I’ve been doing some more digging on my own but have come up empty so far. I would like us to change the site we’re troubleshooting to a test site. This is a single WordPress install. This test site has only 3 plugins: Litespeed cache, wp super cache and askimet anti-spam. Only litespeed cache is active. Hopefully we can find the solution faster from here. The htaccess file contains only the default WordPress and litespeed cache (automatically generated) codes.
Here’s a report from that site: WCFFWUUD
Here’s a debug log dump.
URL tested. This time around, we’re testing a basic WordPress post with comments allowed for all visitors.
Note 1: I replaced “test” with “twist” for the query parameter, because there is already “test” in the url. Let me know if this is wrong. Irrespective, the debug log entries are generated even when I don’t add “?twist” or “?lsesi” to the url. But the log I posted above was generated with “?twist” in the url.
Note 2: Remember from my original post that this issue of esi blocks not showing up is happening on many sites, both single installs and multisite.
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingAfter uninstalling the plugin, deleting all options from the db and reinstalling, nothing changed, so I had to change the settings directly in the db to get the logs. Here you go.
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingThat didn’t help.
If this helps: I have tested this on the single site installs and found no problem. On the multisite where the problem occurs (the settings are not saving), the problem is with only the network settings. I have tested all the subsites and their settings are saving correctly.
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingHere’s a screen shot of the settings
And here’s a new report: AVMPFUQQ
Now it’s generating object cache entries again. Just the following 2 lines being repeated:
05/22/25 20:43:45 – OC – Init Redis connection to /xxxx/xxxx/tmp/redis.sock:0
05/22/25 20:43:45 – OC – ConnectedI’ll keep digging into this.
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingThere’s a funny story here. It’s no longer logging. When I followed your instructions, there were debug log entries which I cleared. Even now, there’s still a log file from yesterday on the server with entries. At first it was logging only object cache events, but after I turned that off and then back on, it stopped logging those too. Here’s the url I tested: https://www.topbuygh.shop/product-category/electronics-electricals/?test. Just to confirm, there are no log entries in the ls cache interface and the current log files on the server are empty as well.
I have tried with and without the settings changes you asked me to make. I’ve tested with ?test, ?lsesi and without any, as admin and as guest. I’ve tried both basic and advanced debug levels.
Here’s the current report number from the main site: JPFCFJNN
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingHere you go: https://pastebin.ubuntu.com/p/xhw9nDT338/
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingYes, iit will work.
Forum: Plugins
In reply to: [LiteSpeed Cache] esi blocks not showingThis is a follow-up update with additional information.
Report Number: YXRBZVJV – This is the report number of the multisite main site which is NOT working: https://www.topbuygh.shop. I’m also adding the test link here too for convenience: https://www.topbuygh.shop/product-category/electronics-electricals/. After the main product list on this page, there should be a recently viewed product block.
Report Number: ZANOXVED – This is the report number of the single site that is working: https://www.thecitizenalert.com/blog-posts/scams/emergence-of-scam-award-schemes-in-ghanas-tertiary-education-space/
Report Number: ECBJVDLT – This is the report number of the single test site that is NOT working: https://test.topbuygh.shop/?p=1
Hi,
Thanks for your time. I’ll try and sort out these issues later.
Regards.
Hi,
My site is not live yet, but I’ve set up a test site with the problem theme for you to check.
Regards.
Ok, I’m now trying to use your plugin’s sorting option but there’s a little problem. You have 2 sorting options: “Any” and “Sort by” which are supposed to do the same. I would like you to remove the “Any” option. My use case does not allow me to display the title and having “Any” in the selection box is not informative.
Regards.