View Single Post
Old 11-18-2020, 02:27 AM  
hausarzt
Confirmed User
 
hausarzt's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: Somewhere in Germany
Posts: 817
Quote:
Originally Posted by MakeMeGrrrrowl View Post
.....

Basically, Wordpress was updated and they killed off some old jQuery code that was deprecated. Some of the plugins you use rely on this old code so they were breaking the page. As a temporary fix, I installed a jQuery migration plugin to help fix the issue - and it seems to have (though it does give a nasty list of deprecation notices).

.....

That fixed my issues.
That did not fix my problem.

Quote:
Originally Posted by Colmike7 View Post
Just random, but sometimes people or a theme will have something like this in functions, which can make things in admin not work:
wp_deregister_script('jquery');

Then this can fix it if it's the cause:
if ( !is_admin() ) wp_deregister_script('jquery');

Or use this if you want to use the newest jquery:
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"), false);
wp_enqueue_script('jquery');
}


But, so many other things can cause this, and we don't have access to check for sure, so it's just a guess.
I can not find any similar code in the theme.
Beside that, the theme worked perfect before.
__________________
I know, my english is bad. But your german might be even worse
hausarzt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote