Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #621627

    Hi there,

    I followed your instructions here https://kriesi.at/support/topic/having-problems-after-updating-to-wordpress-4-5-please-read-this-first/
    and added the snippet to the functions.php

    How can I now find out what plugins have outdated javascript. Note, I am not the author.

    Any help is appreciated.

    #621850

    Hey gentlemansgazette!

    If you have the latest version of enfold which is 3.5.3 you don’t need to add the code in functions.php

    Most of the plugins depend on the jQuery that ships with wordpress and wordpress usually have the latest version. To check it out you can simply right click and view source in the <head> section you will notice a bunch of lines starting with <script type=’text/javascript’ and it’s version is provided at the end of the link.

    
    <script type='text/javascript' src='http://localhost/_proj/enfold/wp-includes/js/jquery/jquery.js?ver=1.12.3'></script>
    <script type='text/javascript' src='http://localhost/_proj/enfold/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.0'></script> 
    

    Regards,
    Vinay

    #621851

    Yes, I have the latest version 3.5.3 but without the functions.php edit. all advanced layout pages, just show white…

    #621856

    So, how do I find out what plugin causes the error?

    Thanks

    #621857

    I just tested it again, and the issue prevails.

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

    in the functions.php all pages with advanced layout editor show huge white spaces…

    #622726

    Hi,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Thanks,
    Rikard

    #623269

    ok

    #625223

    Hi,

    Thank you for providing the credentials where can i find the Appearance > Editor to access the functions.php file?

    I do not see any js errors on your site tho however it might be an issue with a plugin conflict if you cannot see the advance layout builder elements.

    To find the plugin in conflict please remove the code from functions.php to re-produce the error and follow the below steps

    1. Goto plugins page > Deactivate all active Plugins
    2. Updated WordPress and Enfold to latest version if you have not.
    3. Activate one plugin at a time… refresh the page and check for the issue.
    4. Make sure the plugins are all updated

    Once you tyr these steps please let us know if you should have any issues.

    Best regards,
    Vinnie

    #627901

    So, I disabled all plugins, cleared the cache and opened the page in a completely new browser and you can see it here, but the pictures still don’t show.
    Take a look here.

    So obviously the problem is not the plugins.

    #627956

    I resolved this on one of my sites by replacing the files in wp-includes/js/tinymce/ with files from a fresh download of the core wordpress install and upload via ftp.

    #627980

    Awesome, it seems to have worked for me as well. How did you find out that this was the issue?

    #628872

    Hi,

    When you inspect the page in dev tools most of the javascript errors are shown in console. To open dev tool press F12 on chrome and click on console.

    Right now as i see there are 2 errors

    jquery.js?ver=1.12.3:2 Uncaught Error: Syntax error, unrecognized expression: .main_menu .menu li > a[href*=#]
    gtm.js?id=GTM-N2FJ2S:67 Uncaught [object Object]
    

    The first error is a jQuery error which may be caused because you still have the code which is no longer required if you update to latest version.
    The second error is coming from gtm.js which is google tag manager.

    A plugin conflict may be one of the reason for this issue.
    To find which plugin is causing the conflict please follow these steps:

    1. Go to your plugins page > Deactivate all active Plugins
    2. Update WordPress and Enfold to latest version if you have not.
    3. Make sure all the plugins are updated.
    4. If the problem does not persist when plugins are turned off, activate one plugin at a time and refresh until you find the plugin in conflict.

    We await the results of your plugin compatibility test.

    Thanks for your cooperation :)

    Best regards,
    Vinay

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