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('71830', 'library') #1 /var/www/html/wp-content/plugins/m-chart/components/class-m-chart.php(797): M_Chart->get_chart('71830', 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('/\\[(\\[?)(chart|...', 'do_shortcode_ta...', '<p><span class=...') #5 /var/www/html/wp-includes/class-wp-hook.php(307): do_shortcode('<p><span class=...') #6 /var/www/html/wp-includes/plugin.php(191): WP_Hook->apply_filters('<p><span class=...', Array) #7 /var/www/html/wp-includes/post-template.php(253): apply_filters('the_content', '<img src="https...') #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