Conversation
supportHi there, we use the Logo Carousel Free since a long time but since Update on WP 6.8 the carousel on mobile is not working any more. We tried different things, cleared the cache and created a new carousel and added the new short code on the homepage which also didn’t work. Could you please check and help us getting it back to work again? It works perfectly on desktop. Thank you! The page I need help with: [ log in to see the link]
Hi @cocosgalant , Hope you are doing great today! We’ve inspected the page and the carousel setup, and we noticed that all JavaScript files have been merged into a single file. While combining scripts can improve performance, it’s important to note that compressing or optimizing essential core JavaScript files, such as jquery.min.js and jquery-migrate.min.js —is not recommended, as it can cause compatibility issues. To ensure proper functionality, we recommend excluding these core JS files from the optimization settings in the WP Fastest Cache plugin. Let us know if you need assistance with configuring the exclusions—we’re happy to help! Hopefully, the issue will be resolved. Look forward to your response. Have a nice day!
Hi Pulak, thanks for your response. I tried to add this links in the excluding settings in WP Fastest Cache: /wp-includes/js/jquery/jquery-migrate.min.js /wp-includes/js/jquery/jquery.min.js but it’s still not working. I deleted it again because it stopped working on Desktop as well. Can you give me some guidance on how to get there? Appreciate your help!
Now it’s unfortunately also not working on Desktop anymore. Would be great if you could check. Thanks!
Hi @cocosgalant , We identified that you have applied multiple speed optimization plugins to optimize the site content. Even though the ‘ WP Fastest Cache ‘ is disabled, the ‘ Autoptimize ‘ has compressed and merged the JS files into one file. Autoptimize has deferred the scripts as well, which affected the site’s performance. Check the screenshot as a reference. You need to exclude the core JS files from the Autoptimize as well to ensure the performance. You can temporarily disable the JS optimization from the plugin to troubleshoot the issue. Here is the link where all the scripts, including the core JavaScript files, have been merged into a single file. Hope this information will help you. Thank you.
Hi Pulak, thanks for your feedback. I am not sure if i understand correctly: Are those links correct to set them as excluding rules for both plugins? /wp-includes/js/jquery/jquery-migrate.min.js /wp-includes/js/jquery/jquery.min.js Why is it occurring now because we have these plugins already running since months? Thank you for clarifying this.
Hi @cocosgalant , You can exclude the core JS files from both of the plugins. It’s not ideal to compress , combine , or defer the core JS of WordPress. Try to exclude both of the scripts and clear the cache. We understand that the plugin didn’t cause any issues before, but it can cause an obstacle anytime in the user experience. Go through the process and check and if the issue gets resolved or not. Thank you.
I tried to set up the exclusion rules but unfortunately it didn’t work. I deactivated both caching-plugins for now that the error is not showing.
Hi @cocosgalant , We have checked the page link once again, and the carousel on the homepage is now working. Could you check and let us know if there are any other issues? Thank you.
Hi Pulak, it’s the Autoptimize plugin which causes the error. In the beginning you offered assistence to exclude the files in Autoptimize. Could you please help me with that? What i did (see code above) didn’t work.
Maybe try adding wp-includes/js to the exclusion list and/or change the setting from “aggregate JS” to “don’t aggregate but defer” + “also defer inline JS”?
That seems to do the trick! 🙂 Thanks a lot!
Hi @cocosgalant , Hope you are doing great today! We’ve inspected the page and the carousel setup, and we noticed that all JavaScript files have been merged into a single file. While combining scripts can improve performance, it’s important to note that compressing or optimizing essential core JavaScript files, such as jquery.min.js and jquery-migrate.min.js —is not recommended, as it can cause compatibility issues. To ensure proper functionality, we recommend excluding these core JS files from the optimization settings in the WP Fastest Cache plugin. Let us know if you need assistance with configuring the exclusions—we’re happy to help! Hopefully, the issue will be resolved. Look forward to your response. Have a nice day!
Hi Pulak, thanks for your response. I tried to add this links in the excluding settings in WP Fastest Cache: /wp-includes/js/jquery/jquery-migrate.min.js /wp-includes/js/jquery/jquery.min.js but it’s still not working. I deleted it again because it stopped working on Desktop as well. Can you give me some guidance on how to get there? Appreciate your help!
Now it’s unfortunately also not working on Desktop anymore. Would be great if you could check. Thanks!
Hi @cocosgalant , We identified that you have applied multiple speed optimization plugins to optimize the site content. Even though the ‘ WP Fastest Cache ‘ is disabled, the ‘ Autoptimize ‘ has compressed and merged the JS files into one file. Autoptimize has deferred the scripts as well, which affected the site’s performance. Check the screenshot as a reference. You need to exclude the core JS files from the Autoptimize as well to ensure the performance. You can temporarily disable the JS optimization from the plugin to troubleshoot the issue. Here is the link where all the scripts, including the core JavaScript files, have been merged into a single file. Hope this information will help you. Thank you.
Hi Pulak, thanks for your feedback. I am not sure if i understand correctly: Are those links correct to set them as excluding rules for both plugins? /wp-includes/js/jquery/jquery-migrate.min.js /wp-includes/js/jquery/jquery.min.js Why is it occurring now because we have these plugins already running since months? Thank you for clarifying this.
Hi @cocosgalant , You can exclude the core JS files from both of the plugins. It’s not ideal to compress , combine , or defer the core JS of WordPress. Try to exclude both of the scripts and clear the cache. We understand that the plugin didn’t cause any issues before, but it can cause an obstacle anytime in the user experience. Go through the process and check and if the issue gets resolved or not. Thank you.
I tried to set up the exclusion rules but unfortunately it didn’t work. I deactivated both caching-plugins for now that the error is not showing.
Hi @cocosgalant , We have checked the page link once again, and the carousel on the homepage is now working. Could you check and let us know if there are any other issues? Thank you.
Hi Pulak, it’s the Autoptimize plugin which causes the error. In the beginning you offered assistence to exclude the files in Autoptimize. Could you please help me with that? What i did (see code above) didn’t work.
Maybe try adding wp-includes/js to the exclusion list and/or change the setting from “aggregate JS” to “don’t aggregate but defer” + “also defer inline JS”?
That seems to do the trick! 🙂 Thanks a lot!