-
AuthorPosts
-
April 25, 2016 at 8:04 pm #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.phpHow can I now find out what plugins have outdated javascript. Note, I am not the author.
Any help is appreciated.
April 26, 2016 at 4:30 am #621850Hey 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,
VinayApril 26, 2016 at 4:33 am #621851Yes, I have the latest version 3.5.3 but without the functions.php edit. all advanced layout pages, just show white…
April 26, 2016 at 4:42 am #621856So, how do I find out what plugin causes the error?
Thanks
April 26, 2016 at 4:45 am #621857I 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’);
wp_enqueue_script(‘jquery’);
}
}
add_action(‘init’, ‘modify_jquery’);`in the functions.php all pages with advanced layout editor show huge white spaces…
April 27, 2016 at 5:45 am #622726Hi,
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,
RikardApril 27, 2016 at 6:05 pm #623269May 1, 2016 at 4:07 am #625223Hi,
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 updatedOnce you tyr these steps please let us know if you should have any issues.
Best regards,
VinnieMay 5, 2016 at 4:46 pm #627901So, 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.
May 5, 2016 at 7:32 pm #627956I 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.
May 5, 2016 at 9:00 pm #627980Awesome, it seems to have worked for me as well. How did you find out that this was the issue?
May 8, 2016 at 3:36 pm #628872Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.