Fatal Error
-
My site became white screen and telling “experiencing technical difficulties”.
Then debugging the error I found this—
Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/***/public_html/wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php:1048 Stack trace: #0 /home/***/public_html/wp-includes/class-wp-hook.php(286): Updraft_Smush_Manager->add_compress_button_to_media_modal(Array, Object(WP_Post)) #1 /home/***/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #2 /home/***/public_html/wp-admin/includes/media.php(1784): apply_filters('attachment_fiel...', Array, Object(WP_Post)) #3 /home/****/public_html/wp-includes/media.php(3409): get_compat_media_markup(5187, Array) #4 /home/****/public_html/wp-content/themes/flatsome/inc/shortcodes/ux_image.php(51): wp_prepare_attachment_for_js(Object(WP_Post)) #5 /home/****/public_html/wp-includes/shortcodes.php(325): ux_image(Array, '', 'ux_image') #6 [internal function]: do_shortcode_tag(Array) #7 /home/***/public_html/wp-includes/shortcodes.php(199): preg_replace_callback('/\\[(\\[?)(ux_ima. in /home/***/public_html/wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php on line 1048
- The topic ‘Fatal Error’ is closed to new replies.