• 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter andyward75

    (@andyward75)

    OK, as a work round and because I could do nothing on the backend, I logged onto the server and removed the plugin (wp_media_manager_lite).

    This has calmed things down, but obviously the facilities of the plugin are not available.

    Does anyone know if this plugin is being maintained or do I need to look for something else?

    Also, any assistance on a better work round would be appreciated.

    Cheers all

    Hi @andyward75

    Thank you for writing in.

    We are extremely sorry for the late response. There could be some conflict while updating the plugin. Could you once install the plugin again and see if the issue is still persisting.

    Regards!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Get Current Screen Error’ is closed to new replies.