WordPress 6.0 caused fatal error ONLY on backend of the site??
-
The front end of the site is displaying fine but I can’t access anything on the backend.
I made sure to update plugins and themes first.
I also backed up twice on updraft plus plugin -but I can’t access this as it’s in the backend of the site.Not sure how to fix this.
The error code:
Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/toucans2/public_html/wp-content/themes/themify-ultra/theme-functions.php:251 Stack trace: #0 /home/toucans2/public_html/wp-includes/class-wp-hook.php(307): themify_chose_gallery_size(Array) #1 /home/toucans2/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array) #2 /home/toucans2/public_html/wp-includes/block-editor.php(168): apply_filters('image_size_name...', Array) #3 /home/toucans2/public_html/wp-includes/class-wp-theme-json-resolver.php(199): get_default_block_editor_settings() #4 /home/toucans2/public_html/wp-includes/class-wp-theme-json-resolver.php(384): WP_Theme_JSON_Resolver::get_theme_data() #5 /home/toucans2/public_html/wp-includes/script-loader.php(3076): WP_Theme_JSON_Resolver::get_merged_data() #6 /home/toucans2/public_html/wp-includes/script-loader.php(3272): {closure}() #7 /home/toucans2/public_html/wp-includes/class-wp-hook.php(307): {closure}('') #8 /home/toucans2/public_html/wp-includes/class-wp in /home/toucans2/public_html/wp-content/themes/themify-ultra/theme-functions.php on line 251
The page I need help with: [log in to see the link]
- The topic ‘WordPress 6.0 caused fatal error ONLY on backend of the site??’ is closed to new replies.