Console error only if logged in




Wordpress LScache Plugin: Console error only if logged in

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, I have errors in the console only if logged in, and it is impossible to perform some operations while browsing. Screenshot: https://i.ibb.co/r4wdTyN/console.png It seems that when logged in some inline scripts are loaded (without having loaded jquery yet). Instead, if you are not logged in, these scripts are included in the minified and combined .js file. So they are loaded after jquery, and there are no errors in the console. I tried to enable or disable the cache for logged in users, the problem persists in both cases. Report number: WCOGMQVE I await support. Thanks! PS. sorry for too many support threads Hi, this is really weird , login or not , they should load in similar manner or there is certain inline JS only shows up for login user ? Best regards, It seems that the pages for logged users are a bit different. At the moment I solved it by removing the jquery exclusion from minification and combination. If you need me to do some more tests, let me know? Here I am again. The problem seemed to be solved but to improve the PageSpeed Insights test score I changed this Load Inline JS function to Deferred (very good score now) I now have the same problem. How can I solve? I tried to create a preload of the jquery only for the logged users (in header), excluded from the minification with data-no-optimize= 1 tag. But it loads after 1.6sec. And I still have problems with the console, but mostly I cant browser in the menu of my site. Screenshot console: https://i.ibb.co/6Ygg5MF/conso.png Hi, I think in that case you just can NOT defer the JQ I tried with preload JQ via push to send it before HTML and other JS , but obviously it didt work Best regards, Do you have any ideas for me? I am desperate? Can you help me please? Hi, when you have issue with inline JS defer , you can try exclude that certain part of inline JS from being deferred. another way is probably to re-work the javascript to make it defer-compatible. Best regards,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference