Replies: 0
Hi, I updated 9 plugins this morning and then clicked the Comments page within the dashboard to deal. At this time, I got an error – reproduced below and now I cannot do anything much. Clicking Plugins for example (so I could disable) also gives the same error.
It would appear to be within this plugin where the error is but whatever I seem to select gives this get_current_screen error
Fatal error: Uncaught Error: Call to undefined function get_current_screen()
in /srv/brightpropertymanagement.com/public/htdocs/wp-content/plugins/wp-media-manager-lite/inc/class/core-class.php on line 254
Call stack:
Core_Lite_Class::wpmedia_manager_loadScripts()
wp-content/plugins/wp-media-manager-lite/inc/class/core-class.php:150
Core_Lite_Class::wpmmanager_media_page_script()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:478
do_action()
wp-includes/media.php:4362
wp_enqueue_media()
wp-content/plugins/motopress-hotel-booking/includes/admin/fields/media-field.php:18
MPHB\A\F\MediaField::__construct()
wp-content/plugins/motopress-hotel-booking/includes/admin/fields/field-factory.php:48
MPHB\A\F\FieldFactory::create()
wp-content/plugins/motopress-hotel-booking/includes/post-types/room-type-cpt.php:303
MPHB\P\RoomTypeCPT::getFieldGroups()
wp-content/plugins/motopress-hotel-booking/includes/post-types/room-type-cpt.php:46
MPHB\P\RoomTypeCPT::createEditPage()
wp-content/plugins/motopress-hotel-booking/includes/post-types/editable-cpt.php:29
MPHB\P\EditableCPT::initEditPage()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:478
do_action()
wp-settings.php:546
require_once()
wp-config.php:101
require_once()
wp-load.php:37
require_once()
wp-admin/admin.php:34
require_once()
wp-admin/index.php:10