Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #638254

    Dear team,

    I bought Enfold 6 times now and an agency, where I am freelancing at bought and used it various times as well.

    Now I would like to understand something:

    I had 2 or 3 sites, where updating WP and Enfold and all Plugins to the latest did not cause any issues. On other sites I obviously have this jQuery error, which leads to various errors.

    Why is the following needed in functions.php of a child theme one time and another time, the site is working flawless after updating?

    `function modify_jquery() {
    if (!is_admin()) {
    wp_deregister_script(‘jquery’);
    wp_register_script(‘jquery’, ‘https://code.jquery.com/jquery-1.11.3.min.js’);
    wp_enqueue_script(‘jquery’);
    }
    }
    add_action(‘init’, ‘modify_jquery’);

    • This topic was modified 8 years, 6 months ago by mailworm.
    #638289

    Hey mailworm,

    Thanks for getting in touch with us!

    If this snippet fixes the issue when updating did not, there is a good chance that one of your plugins is outdated and causing the problems. This code snippet can only be a temporary fix since it permanently sets your jQuery javascript library to an older version that will be outdated in the future.

    So a plugin may need to update their javascript on the sites where the update did not fix the issue.

    Best regards,
    Jordan

    #638292

    Hi Jordan,

    ok. I will compare the different installations and look for plugins on those sites, where the workaround is needed, which are not installed on those where there is no issue.

    Thank You very much.

    #638296

    Hey!

    Glad we are on the same line.
    Please feel free to let us know if you deal any issue, we would be more than happy to assist.

    Regards,
    Basilis

    #638298

    Hi,

    Well let us know if you run into any issues and we will take a closer look to try and help you resolve them. Just provide a link and login details to the site. You can place the information in the Private Content section of your reply.

    Best regards,
    Jordan

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