Fatal error in LiteSpeed Cache with new WordPress version




Wordpress LScache Plugin: Fatal error in LiteSpeed Cache with new WordPress version


Hello, Fatal error in LiteSpeed Cache with new WordPress version with latest version 5.9 January 25, 2022. The website takes about 3 minutes to load and sometimes throws this error: ERR_TOO_MANY_REDIRECTS . I have tried to deactivate it and the web works correctly, it is to enable or install again the LiteSpeed plugin from factory and the web crashes. It also indicates that it has not been tested with the new version of WordPress, I have tried to install another cache plugin and does not give problems only happens with LiteSpeed. Can you report it to any moderator or responsible? I need to fix this error to be able to use the plugin, otherwise I will have to use another plugin instead? Previously with the old version of wordpress did not give conflicts, but with the new one if? Regards. This topic was modified 9 months, 2 weeks ago by papistrainers. Hi, from what I know , other cache plugins does NOT cache redirection , and LSCWP itself doesnt do any redirection I have my own personal blog running wp5.9 with latest plugin , also dozens of different test sites as well , none of them breaks with redirection loop what most likely has happened is something in your site that gives out redirection and LSCWP cached this redirection where it should not to please try figure out what gives that redirection and in what case it did that best regards, Hi, It also happens to me with another second website. It is to activate the plugin even if it is factory default and it jumps the error. On another website without woocomerce also gives error and I have no problems of redirections? I have been with the same configuration for 6 months. It has been as I have updated to the new version of WordPress. I need to solve this error? Regards if you create a new sub dir wp , and only install LSCWP , how does that go ? It crashes as soon as it is activated? Look at these errors in the log: PHP Warning: in_array() expects parameter 2 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 584 PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 598 PHP Warning: array_unique() expects parameter 1 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 599 PHP Warning: in_array() expects parameter 2 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 584 PHP Warning: in_array() expects parameter 2 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 609 PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 573 PHP Warning: array_unique() expects parameter 1 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 574 PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 598 PHP Warning: array_unique() expects parameter 1 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 599 PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 573 PHP Warning: array_unique() expects parameter 1 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 574 PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 598 PHP Warning: array_unique() expects parameter 1 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 599 PHP Warning: in_array() expects parameter 2 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 584 PHP Warning: in_array() expects parameter 2 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 609 PHP Warning: in_array() expects parameter 2 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 584 PHP Warning: in_array() expects parameter 2 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 609 PHP Warning: in_array() expects parameter 2 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 584 PHP Warning: in_array() expects parameter 2 to be array, null given in /home/xxxxxxx/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 609 Connection refused Connection refused Connection refused Connection refused Connection refused Connection refused I have tried installing 5 other cache and optimization plugins and none of them give any error and I need to fix it please. Even with only this plugin activated the page crashes. I quite like this LiteSpeed Cach? plugin and I need to fix the error. Can you help me? Thank you. Hi, Did you enable object cache without actually have memcached/redis extension and server to connect ? if you go with default setting , does that also crash ? Best regards, Good morning, My hosting has redis and works with LiteSpeed Web Server, as I said I have more than 3 months enabled object cache with redis and with this configuration without problem. It has appeared with the new version of wordpress? how do I fix it? Regards. I really dont think it has anything to do with 5.9 though , as I have tested with dozens of sites , they were all good maybe something deep on your particular site please create a ticket by mail to support at litespeedtech.com with reference link to this topic we will investigate further. Good, I already created a ticket on the litespeedtech forum first https://www.litespeedtech.com/support/forum/threads/fatal-error-in-litespeed-cache-with-new-wordpress-version.20485/ serpent_driver Well-Known Member Friday at 7:31 PM#4 Link doesnt point to WordPress support. Its for LiteSpeed plugin support at WordPress and only there you will get support. and they told me to do it here and now you tell me to do it there? well, they dont know how to fix the problem. Then I will use other caching plugins because they do not help me. A cordial greeting. Hi, No, thats forum just like this for community, that is not same as the ticket system. Best regards, I am trying to send a ticket but it wont let me. could you please send this error and if you can write me here? It would be a big favour. Thank you very much. Hi, After a few days of using W3 Total Cache Error Im now getting the same error, the page keeps hanging several times? files appear to be missing or out of place. Please re-install plugin or remove /home/xxxxxx/public_html/wp-content/advanced-cache.php. W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /home/xxxxxx/public_html/wp-content/db.php. W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /home/xxxxxx/public_html/wp-content/object-cache.php. There is the problem in the files object-cache.php, db.php and advanced-cache.php. How do I fix it? Best regards. Hi, Solved the problem. The problem was as you indicated above my hosting was not connecting to Redis and I had to delete the files object-cache.php, db.php and advanced-cache.php and delete the object cache. Regards. ]