Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author fabianlindfors

    (@fabianlindfors)

    Hi!

    I’m running ACF 5.8.1 in my development but haven’t been able to reproduce your error. I’ve checked out the failing ACF code from your error message and it seems like that error shouldn’t be able to happen.

    Any chance I could get admin access to the site to check it out closer?
    Thanks!

    @fabianlindfors I encountered the same error. I am running a site with Gutenberg. Maybe that is the point. The error occours only on pages where a form is used.

    Btw I never checked how it looks like if you include the form via PHP. So I used shortcodes to enclude. Maybe this could help too.

    Edit: same error included via PHP

    Any updates on this?

    By the way, here is the stack trace:

    Fatal error: Uncaught Error: Call to undefined function get_current_screen() in path/to/wp/wp-content/plugins/advanced-custom-fields-pro/includes/api/api-helpers.php:5051
    Stack trace:
    #0 path/to/wp/wp-content/plugins/advanced-custom-fields-pro/includes/assets.php(318): acf_is_block_editor()
    #1 path/to/wp/wp-includes/class-wp-hook.php(286): ACF_Assets->admin_footer(”)
    #2 path/to/wp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 path/to/wp/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 path/to/wp/wp-includes/general-template.php(2761): do_action(‘wp_footer’)
    #5 path/to/wp/wp-content/themes/abz/footer.php(29): wp_footer()
    #6 path/to/wp/wp-includes/template.php(722): requi in path/to/wp/wp-content/plugins/advanced-custom-fields-pro/includes/api/api-helpers.php on line 5051

    look at #0 it looks like it has to do with the block editor

    Hi guys,

    i spoke with the ACF Team and they updated it. The new version is downloadable on your account page if you have bought ACF Pro.

    @fabianlindfors I think you can close this for now as it is no problem with your plugin

    Plugin Author fabianlindfors

    (@fabianlindfors)

    Thank you for your awesome work, Bastian! I’ll close this for now ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Doesn’t work with the new version of ACF 5,8,1’ is closed to new replies.