-
AuthorPosts
-
October 17, 2019 at 11:51 am #1148892
We have burger menu activated for all screen sizes. When menu is opened and you scroll the page the Chrome Console throws this kind of error multiple times:
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See <URL>
We do have layersliders on that page.
October 18, 2019 at 5:15 am #1149088Hey kunzi,
Where can we see and reproduce the problem you are having?
Best regards,
RikardOctober 18, 2019 at 6:50 am #1149129This reply has been marked as private.October 19, 2019 at 4:24 am #1149456Hi,
Thanks for that. I see that you are getting some error messages related to jQuery not being defined also. Are you running any custom scripts or plugins which might be causing the problem? Also, the error messages you are referring to, are they only appearing in the console or are they also causing problems on the front end?
Best regards,
RikardOctober 19, 2019 at 8:53 am #1149473We have 0 plugins installed (just the default akismet and hello dolly, not activated). Functions.php had some code, but tried to remove that completely and still the errors appeared, so that code was not the cause.
I don’t see the errors causing any functional issues. It would just be nice to present the site to client without any errors.
October 23, 2019 at 2:11 pm #1150511Hi,
Thank you for sharing the details. Let’s see if we disable the minification if the errors go away.
Please perform the below steps to clear the browser cache:
1. Disable “merging and compression” for CSS and JS files from Enfold > Performance.
2. Hard refresh by pressing Ctrl + Shift + F5 on your browser or press the F12 key to open chrome dev tools and right click on the refresh button and select “Empty Cache and Hard Reload”.
Check the site console and if possible please share a screenshot of the error.
Please upload a screenshot/mockup to one of the below sites and share the link here so we can help you better :)
https://snag.gy/
https://ctrlv.cz/en/
https://imgur.comBest regards,
VinayOctober 23, 2019 at 2:31 pm #1150517Hi,
Thank you. The merging and compression is actually already disabled. I also hard reloaded and it did not help. Screen shot of errors in private content.
October 30, 2019 at 11:22 am #1152265Hi,
Thank you for the update.
We don’t see the same error on our end, only that jQuery is undefined as @Rikard mentioned. Did you set jQuery to load in the footer? What is inside the error when you expand the report? The site looks good and everything seems to be working properly.
Best regards,
IsmaelOctober 30, 2019 at 11:48 am #1152270Do you have chrome in use? I just tried with Firefox and that did not show the error, but scrolling the page was bugged and it only scrolled small part and then suddenly stopped.
I did not set jquery to load in the footer. If that is the case, I have no idea how that happened.
Added a link to screen shot to the private content of the errors.
October 30, 2019 at 11:55 am #1152273Here is a short video of the scrolling problem I just found when the sliding menu is open in Firefox. Scrolling becomes really annoying.
Any ideas what that is about? Do you have this problem?
October 31, 2019 at 6:04 pm #1152811Hi,
Thank you for the update.
I did not set jquery to load in the footer. If that is the case, I have no idea how that happened.
There is an option in the Enfold > Performance panel that allows users to load jQuery in the footer. Please go to the panel, look for the “Load jQuery in your footer” option and disable it. If it’s not enabled, try to deactivate the plugins temporarily to discern any incompatibility issue.
Best regards,
IsmaelNovember 5, 2019 at 9:52 am #1153912I can’t find anything related to jQuery in the Enfold > Performance panel. Only thing that can be set to load in Footer is “Load google fonts in footer”.
November 8, 2019 at 5:53 am #1154845Hi,
Sorry for the delay. The option is located under the “Change WordPress Defaults” section. Please check the screenshot below.
// https://imgur.com/a/BYXe5Xz
Make sure that it is disabled or grayed out.
Best regards,
IsmaelNovember 8, 2019 at 8:06 am #1154872I don’t have it there:
November 8, 2019 at 12:31 pm #1154958Hi kunzi,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaNovember 11, 2019 at 2:24 pm #1155618Hi,
Here you go:
November 12, 2019 at 9:14 pm #1156157Hi,
Thank you for sharing the details.
I checked your site and found a block of custom script “add social icons inside the mobile menu” added to functions.php file which can be accessed from Dashboard > Appearance > Theme Editor
The custom script is not compatible with the latest version of the theme. For testing purpose, I disabled this script, as expected no errors were found in the browser console.
Please remove the script from your functions.php file, clear the cache thoroughly and let us know if the site loads fine.
Best regards,
VinayJanuary 4, 2021 at 1:00 pm #1270129This reply has been marked as private.January 5, 2021 at 3:38 am #1270292Hi Patrik,
Please try installing this plugin: https://wordpress.org/plugins/enable-jquery-migrate-helper/, then change the jQuery version to 1.12.4 in the plugin options.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.