Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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.

    #1149088

    Hey kunzi,

    Where can we see and reproduce the problem you are having?

    Best regards,
    Rikard

    #1149129
    This reply has been marked as private.
    #1149456

    Hi,

    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,
    Rikard

    #1149473

    We 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.

    #1150511

    Hi,

    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.com

    Best regards,
    Vinay

    #1150517

    Hi,

    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.

    #1152265

    Hi,

    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,
    Ismael

    #1152270

    Do 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.

    #1152273

    Here 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?

    #1152811

    Hi,

    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,
    Ismael

    #1153912

    I 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”.

    #1154845

    Hi,

    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,
    Ismael

    #1154872

    I don’t have it there:

    https://imgur.com/s5LLTkb

    #1154958

    Hi 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,
    Victoria

    #1155618

    Hi,

    Here you go:

    #1156157

    Hi,

    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,
    Vinay

    #1270129
    This reply has been marked as private.
    #1270292

    Hi 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

Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.