wpDiscuz - WordPress Comment Plugin
Comment submit gene...
 
Share:
Notifications
Clear all

[Solved] Comment submit generates error with Litespeed Cache 4.2


Rekkerd
Posts: 1
Topic starter
(@rekkerd)
New Member
Joined: 4 months ago

With Litespeed Cache 4.2, a page doesn't refresh after comment submit. The comment does get submitted but the code \LiteSpeed\Purge::purge_url(get_the_permalink($postId)); generates an error when wpdiscuz tries to clear the cache of the page.

The code provided by Litespeed support works fine https://wordpress.org/support/topic/wpdiscuz-submit-comment-issue/#post-14801776

1 Reply
Jacob
Posts: 83
Support
(@jacob)
Member
Joined: 6 years ago

Hi @rekkerd

This change will be included in the next version. Thank you for sharing the fix with us.

Reply
Share: