Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /var/www/html/wp-content/plugins/m-chart/components/class-m-chart.php:309 Stack trace: #0 /var/www/html/wp-content/plugins/m-chart/components/class-m-chart.php(520): M_Chart->get_post_meta('72918', 'library') #1 /var/www/html/wp-content/plugins/m-chart/components/class-m-chart.php(797): M_Chart->get_chart('72918', Array) #2 /var/www/html/wp-includes/shortcodes.php(356): M_Chart->chart_shortcode(Array, '', 'chart') #3 [internal function]: do_shortcode_tag(Array) #4 /var/www/html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(captio...', 'do_shortcode_ta...', '[caption id="at...') #5 /var/www/html/wp-includes/class-wp-hook.php(307): do_shortcode('[caption id="at...') #6 /var/www/html/wp-includes/plugin.php(191): WP_Hook->apply_filters('[caption id="at...', Array) #7 /var/www/html/wp-includes/post-template.php(253): apply_filters('the_content', '[caption id="at...') #8 /var/www/html/wp-content/themes/patch-self-hosted/content- in /var/www/html/wp-content/plugins/m-chart/components/class-m-chart.php on line 309