Plugin break the site css from time to time
-
Hi, i have a problem that keep happening from time to time with this plugin.
From time to time it seems like the site css it break and everyting go white. It seems like it’s also random and it might cause a lot of problem.
This is how the page looks after the change it seems like there is no css at all
Is there a way to avoid it or somehow detect when that happen??
-
please provide the report number
you can get it in toolbox -> report -> click “send to LiteSpeed”
If i did it right the report number is NHGILPAS
please try add this to your .htaccess
SetEnvIf Request_URI "/$" change_header Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" env=change_headerand next time , if it happens again , please check in browser dev tool , see if there is any error message , warning , bad request …etc , any abnormality
Hi, I am writing in this thread because I have a similar problem. WordPress site on version 6.4.1, Genesis Navigation Pro theme and the server PHP version is 8.0.30.
I have modified the .htacess file by adding the code:
SetEnvIf Request_URI “/$” change_header
Header set Cache-Control “max-age=0, no-cache, no-store, must-revalidate” env=change_headerThis code does not solve my problem.
Menu in header in mobile version always displayed and menu items without a structure.
Menu in the desktop version remains but an additional box appears with the MENU indication.
I get two error messages in the browser developer tool:
POST https://enriquezorio.com/wp-content/plugins/litespeed-cache/guest.vary.php 404 (Not Found)
(index):323
[LiteSpeed] Start Lazy Load Images (index):323
Uncaught (in promise) SyntaxError: Unexpected token ‘<‘, “<!DOCTYPE “… is not valid JSON
Promise.then (async) VM271:1(anonymous) @ (index):323
Any alternative recommendations to the one above to solve this issue?
If I deactivate the plugin everything works again as expected.
Thanks for your response and support, best regards.
@enrizor per forum guideline , please create your own topic for your issue
but on quick note , your issue looks different , you have enabled guest mode , and something blocked /wp-content/plugins/litespeed-cache/guest.vary.php request which is critical for guest mode to work properly , please disable guest mode or unblock this request.
Hi qtwrk, thanks for your help.
What does the htaccess command you provided does?? is that something i can add from inside the plugin setting or just from the htaccess (i have 40 sites and i rather do it from the plugin settings if possible).
And about the second thing i saved a version of the page with ctrl+s in the browser when it braked.
I can send you the files for that file if you want. But it seems like a random thing that happen few times on different websites.the directive will tell browser not to cache page locally , but always fetch from server
I don’t know if it works or not , but worth to try
Hi Again, i don’t know if the post is still active but this happened again.
This time i saw this error code and my site broke again
[01-Dec-2023 21:24:53 Asia/Jerusalem] PHP Fatal error: Uncaught Error: Class ‘Elementor\Core\Experiments\Manager’ not found in /home/yydevel3/my-websites/domain.co.il/wp-content/plugins/elementor/includes/plugin.php:706
Stack trace: 0 /home/yydevel3/my-websites/domain.co.il/wp-content/plugins/elementor/includes/plugin.php(647): Elementor\Plugin->init_components() 1 /home/yydevel3/my-websites/domain.co.il/wp-includes/class-wp-hook.php(324): Elementor\Plugin->init(”) 2 /home/yydevel3/my-websites/domain.co.il/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 3 /home/yydevel3/my-websites/domain.co.il/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 4 /home/yydevel3/my-websites/domain.co.il/wp-settings.php(643): do_action(‘init’) 5 /home/yydevel3/my-websites/domain.co.il/wp-config.php(93): require_once(‘/home/yydevel3/…’) 6 /home/yydevel3/my-websites/domain.co.il/wp-load.php(50): require_once(‘/home/yydevel3/…’) 7 /home/yydevel3/my-websites/domain.co.il/wp-cron.php(46): require_once( in /home/yydevel3/my-websites/domain.co.il/wp-content/plugins/elementor/includes/plugin.php on line 706[02-Dec-2023 19:05:16 Asia/Jerusalem] WordPress database error Duplicate entry ‘d6a8a496eca04c9e02200f9262caa135’ for key ‘wp_litespeed_avatar.md5’ for query INSERT INTO
wp_litespeed_avatarSET url=’https://secure.gravatar.com/avatar/20eabcdd538eb3fd8a4f481c06d37a93?s=96&d=identicon&r=g’, md5=’d6a8a496eca04c9e02200f9262caa135′, dateline=1701536716 made by do_action_ref_array(‘litespeed_task_avatar’), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Avatar::cron, LiteSpeed\Avatar->_generate
[02-Dec-2023 19:05:16 Asia/Jerusalem] WordPress database error Duplicate entry ’50b4ccdbc8f5ef0e44c494afcbc503fe’ for key ‘wp_litespeed_avatar.md5’ for query INSERT INTOwp_litespeed_avatarSET url=’https://secure.gravatar.com/avatar/20eabcdd538eb3fd8a4f481c06d37a93?s=48&d=identicon&r=g’, md5=’50b4ccdbc8f5ef0e44c494afcbc503fe’, dateline=1701536716 made by do_action_ref_array(‘litespeed_task_avatar’), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Avatar::cron, LiteSpeed\Avatar->_generate
[02-Dec-2023 19:05:17 Asia/Jerusalem] WordPress database error Duplicate entry ‘396e2e7da03d9d42398e826b53b6752d’ for key ‘wp_litespeed_avatar.md5’ for query INSERT INTOwp_litespeed_avatarSET url=’https://secure.gravatar.com/avatar/b9b6aab1e9e1ff11dd008ed450b9a78b?s=55&d=identicon&r=g’, md5=’396e2e7da03d9d42398e826b53b6752d’, dateline=1701536717 made by do_action_ref_array(‘litespeed_task_avatar’), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Avatar::cron, LiteSpeed\Avatar->_generate
[02-Dec-2023 19:05:17 Asia/Jerusalem] WordPress database error Duplicate entry ‘958d69e4e667ae8cd2cb9529b7db3a0f’ for key ‘wp_litespeed_avatar.md5’ for query INSERT INTOwp_litespeed_avatarSET url=’https://secure.gravatar.com/avatar/b9b6aab1e9e1ff11dd008ed450b9a78b?s=110&d=identicon&r=g’, md5=’958d69e4e667ae8cd2cb9529b7db3a0f’, dateline=1701536717 made by do_action_ref_array(‘litespeed_task_avatar’), WP_Hook->do_action, WP_Hook->apply_filters, LiteSpeed\Avatar::cron, LiteSpeed\Avatar->_generate
The topic ‘Plugin break the site css from time to time’ is closed to new replies.