Fatal error: Uncaught Error: Call to undefined function get_current_screen()
in /var/www/vhosts/yourstorystudios.co.uk/public_html/app/themes/devignstudios-toolkit/plugins/acf/_wp_init.php on line 165

Call stack:

  1. {closure}()
    wp-includes/class-wp-hook.php:324
  2. WP_Hook::apply_filters()
    wp-includes/plugin.php:205
  3. apply_filters()
    app/plugins/advanced-custom-fields-pro-master/includes/acf-field-group-functions.php:340
  4. acf_get_field_groups()
    app/plugins/advanced-custom-fields-pro-master/includes/rest-api/class-acf-rest-api.php:498
  5. ACF_Rest_Api::get_field_groups_by_id()
    app/plugins/advanced-custom-fields-pro-master/includes/rest-api/class-acf-rest-api.php:118
  6. ACF_Rest_Api::get_schema()
    app/plugins/advanced-custom-fields-pro-master/includes/rest-api/class-acf-rest-api.php:79
  7. ACF_Rest_Api::register_field()
    wp-includes/class-wp-hook.php:324
  8. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
  9. WP_Hook::do_action()
    wp-includes/plugin.php:517
  10. do_action()
    wp-includes/rest-api.php:618
  11. rest_get_server()
    wp-includes/rest-api.php:442
  12. rest_api_loaded()
    wp-includes/class-wp-hook.php:324
  13. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
  14. WP_Hook::do_action()
    wp-includes/plugin.php:565
  15. do_action_ref_array()
    wp-includes/class-wp.php:418
  16. WP::parse_request()
    wp-includes/class-wp.php:813
  17. WP::main()
    wp-includes/functions.php:1336
  18. wp()
    wp-blog-header.php:16
  19. require('/var/www/vhosts/your...l/wp-blog-header.php')
    index.php:17

Query Monitor


Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /var/www/vhosts/yourstorystudios.co.uk/public_html/app/themes/devignstudios-toolkit/plugins/acf/_wp_init.php:165 Stack trace: #0 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/class-wp-hook.php(324): {closure}() #1 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /var/www/vhosts/yourstorystudios.co.uk/public_html/app/plugins/advanced-custom-fields-pro-master/includes/acf-field-group-functions.php(340): apply_filters() #3 /var/www/vhosts/yourstorystudios.co.uk/public_html/app/plugins/advanced-custom-fields-pro-master/includes/rest-api/class-acf-rest-api.php(498): acf_get_field_groups() #4 /var/www/vhosts/yourstorystudios.co.uk/public_html/app/plugins/advanced-custom-fields-pro-master/includes/rest-api/class-acf-rest-api.php(118): ACF_Rest_Api->get_field_groups_by_id() #5 /var/www/vhosts/yourstorystudios.co.uk/public_html/app/plugins/advanced-custom-fields-pro-master/includes/rest-api/class-acf-rest-api.php(79): ACF_Rest_Api->get_schema() #6 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/class-wp-hook.php(324): ACF_Rest_Api->register_field() #7 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/rest-api.php(618): do_action() #10 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/rest-api.php(442): rest_get_server() #11 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded() #12 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #13 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() #14 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/class-wp.php(418): do_action_ref_array() #15 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/class-wp.php(813): WP->parse_request() #16 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-includes/functions.php(1336): WP->main() #17 /var/www/vhosts/yourstorystudios.co.uk/public_html/wp-blog-header.php(16): wp() #18 /var/www/vhosts/yourstorystudios.co.uk/public_html/index.php(17): require('...') #19 {main} thrown in /var/www/vhosts/yourstorystudios.co.uk/public_html/app/themes/devignstudios-toolkit/plugins/acf/_wp_init.php on line 165