lisa
(@contentiskey)
do you have a full backup of website?
have you edited the functions.php or other theme files recently?
are you using a child theme?
what plugins do you have active and installed?
I have a backup but it is with a plugin unfortunately since I can’t get to the dashboard.
I haven’t updated the functions.php recently, it was with the update that came up that I noticed the problem.
I am using a child theme from the foundation theme
I’ve renamed the plugins folder to deactivate all the plugins be it didn’t help.
Any thoughts?
Thanks for your help!
Try deactivating your theme by adding return; at the top most of your functions.php file then scan your functions.php file see if there’s a code wp_enqueue_script. If there’s any, comment it or remove it.
I’ve commented out the only instance:
function wp_auth_check_load() {
if ( ! is_admin() && ! is_user_logged_in() )
return;
if ( defined( ‘IFRAME_REQUEST’ ) )
return;
$screen = get_current_screen();
$hidden = array( ‘update’, ‘update-network’, ‘update-core’, ‘update-core-network’, ‘upgrade’, ‘upgrade-network’, ‘network’ );
$show = ! in_array( $screen->id, $hidden );
if ( apply_filters( ‘wp_auth_check_load’, $show, $screen ) ) {
/** wp_enqueue_style( ‘wp-auth-check’ );
wp_enqueue_script( ‘wp-auth-check’ ); */
add_action( ‘admin_print_footer_scripts’, ‘wp_auth_check_html’, 5 );
add_action( ‘wp_print_footer_scripts’, ‘wp_auth_check_html’, 5 );
}
}
Still isn’t working. Thoughts?
Does anyone know where i can find the code to fix this?
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks.