@x9design Thank you for the plugins list
Please create a report and share me the ID generated. This can be done from LSC => Toolbox => Report => click on “Send to Litespeed”. Thank you!
Numer raportu: EEVXHKPR
Data raportu: 02/04/2025 01:27:58
@x9design Looking into. We will add a fix in one of our next versions.
Is there any solution to exclude sending comment process from LiteSpeed Cache handling?
@x9design you mean this filter: litespeed_vary_check_commenter_pending ?
from: https://github.com/litespeedtech/lscache_wp/blob/master/src/vary.cls.php#L241
OR
turn off this setting: https://docs.litespeedtech.com/lscache/lscwp/cache/#cache-commenters
-
This reply was modified 1 year, 3 months ago by
litetim.
-
This reply was modified 1 year, 3 months ago by
litetim.
Unfortunately I don’t now how to use litespeed_vary_check_commenter_pending filter so sending comments can be exlude from LiteSpeed handling, but correctly sended trough WordPress scripts. I believe such solution will help avoid this error. Please, correct me if I am wrong.
Cache Commenters is set to OFF but problem still occurs.
-
This reply was modified 1 year, 3 months ago by
xninedesign.
(@x9design)
1 year, 3 months ago
I’m experiencing a fatal error with LiteSpeed Cache when submitting a comment. It appears to be related to the
setcookie()function and an invalid “path” parameter. Here’s the error message:The error is pointing to this part of the code in
vary.cls.php:It looks like the
pathparameter passed tosetcookie()contains an invalid character. The error occurs when a comment is posted.Has anyone encountered this issue before? Is there a recommended fix for this?
Here is the list of enabled plugins (there is no disabled plugins) – all latest
Akismet Anti-spam: Spam Protection – 5.3.5
Converter for Media – 6.2.0
Edit Author Slug – 1.9.1
Instant Images – 7.0.1
LiteSpeed Cache – 6.5.4
Loco Translate – 2.7.1
Open Graph and Twitter Card Tags – 3.3.4
Sucuri Security – Auditing, Malware Scanner and Hardening – 1.9.8
WP Crontrol – 1.18.0
WP Mail SMTP – 4.3.0
WPForms Lite – 1.9.3.2
WPS Cleaner – 1.6.10.1
WPS Hide Login – 1.9.17.1
XML Sitemap Generator for Google – 4.1.21
Thanks in advance for your help!