Critical Error – Call to undefined function get_current_screen()

[ad_1]

After updating the plugin a couple of errors have occurred with the following information:

Error Details
=============
An error of type E_ERROR was caused in line 6919 of the file /var/www/mydomain.com/wp-content/plugins/video-embed-thumbnail-generator/video-embed-thumbnail-generator.php. Error message: Uncaught Error: Call to undefined function get_current_screen() in /var/www/mydomain.com/wp-content/plugins/video-embed-thumbnail-generator/video-embed-thumbnail-generator.php:6919
Stack trace:
#0 /var/www/mydomain.com/wp-includes/class-wp-hook.php(310): kgvid_upload_page_change_thumbnail_parent()
#1 /var/www/mydomain.com/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /var/www/mydomain.com/wp-includes/pluggable.php(1377): apply_filters()
#3 /var/www/mydomain.com/wp-includes/pluggable.php(1524): wp_redirect()
#4 /var/www/mydomain.com/wp-content/plugins/change-wp-admin-login/includes/class-change-wp-admin-login.php(315): wp_safe_redirect()
#5 /var/www/mydomain.com/wp-includes/class-wp-hook.php(308): Change_WP_Admin_Login->wp_loaded()
#6 /var/www/mydomain.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#7 /var/www/mydomain.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#8
  • This topic was modified 14 hours, 53 minutes ago by Liam Martin.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer