Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/mazacphj/public_html/wp-content/plugins/exmage-wp-image-links/exmage-wp-image-links.php:94
Stack trace:
#0 /home/mazacphj/public_html/wp-includes/class-wp-hook.php(324): EXMAGE_WP_IMAGE_LINKS->filter_exmage_in_library_page(Object(WP_Query))
#1 /home/mazacphj/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /home/mazacphj/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#3 /home/mazacphj/public_html/wp-includes/class-wp-query.php(1881): do_action_ref_array('pre_get_posts', Array)
#4 /home/mazacphj/public_html/wp-includes/class-wp-query.php(3852): WP_Query->get_posts()
#5 /home/mazacphj/public_html/wp-includes/post.php(6418): WP_Query->query(Array)
#6 /home/mazacphj/public_html/wp-content/themes/woodmart/inc/helpers.php(744): get_pages(Array)
#7 /home/mazacphj/public_html/wp-content/themes/woodmart/inc/helpers.php(761): woodmart_tpl2id('portfolio.php')
#8 /home/mazacphj/public_html/wp-content/themes/woodmart/inc/functions.php(758): woodmart_get_portfolio_page_id()
#9 /home/mazacphj/public_html/wp-content/themes/woodmart/inc/admin/modules/options/class-presets.php(856): woodmart_get_the_ID()
#10 /home/mazacphj/public_html/wp-content/themes/woodmart/inc/admin/modules/options/class-options.php(257): XTS\Admin\Modules\Options\Presets::get_active_presets()
#11 /home/mazacphj/public_html/wp-content/themes/woodmart/inc/admin/modules/options/class-options.php(138): XTS\Admin\Modules\Options->load_presets()
#12 /home/mazacphj/public_html/wp-content/themes/woodmart/inc/classes/class-singleton.php(34): XTS\Admin\Modules\Options->init()
#13 /home/mazacphj/public_html/wp-content/themes/woodmart/inc/admin/modules/options/class-options.php(697): XTS\Singleton::get_instance()
#14 /home/mazacphj/public_html/wp-content/themes/woodmart/inc/classes/class-theme.php(183): require_once('/home/mazacphj/...')
#15 /home/mazacphj/public_html/wp-content/themes/woodmart/inc/classes/class-theme.php(38): XTS\Theme->general_files_include()
#16 /home/mazacphj/public_html/wp-content/themes/woodmart/functions.php(50): XTS\Theme->__construct()
#17 /home/mazacphj/public_html/wp-settings.php(672): include('/home/mazacphj/...')
#18 /home/mazacphj/public_html/wp-config.php(157): require_once('/home/mazacphj/...')
#19 /home/mazacphj/public_html/wp-load.php(50): require_once('/home/mazacphj/...')
#20 /home/mazacphj/public_html/wp-blog-header.php(13): require_once('/home/mazacphj/...')
#21 /home/mazacphj/public_html/index.php(17): require('/home/mazacphj/...')
#22 {main}
thrown in /home/mazacphj/public_html/wp-content/plugins/exmage-wp-image-links/exmage-wp-image-links.php on line 94