Home Forums ACF PRO ACF not working on PHP 7.2


ACF not working on PHP 7.2

  • ACF and ACF pro not working on my Nginx server with php7.2-fpm.

    Trying to access “custom fields” tab, or trying to edit any page shows an error The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

    I checked my nginx error log, this is what I’m getting:

    php/php7.2-fpm.sock:", host: "", referrer: ""
    2019/11/12 01:49:15 [error] 2602#2602: *126 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function acf_is_local_field_group() in /var/www/html/
    Stack trace:
    #0 /var/www/html/ acf_get_field_group(375)
    #1 /var/www/html/ acf_get_field_groups(Array)
    #2 /var/www/html/ ACF_Form_Post->add_meta_boxes('page', Object(WP_Post))
    #3 /var/www/html/ WP_Hook->apply_filters(NULL, Array)
    #4 /var/www/html/ WP_Hook->do_action(Array)
    #5 /var/www/html/ do_action('add_meta_boxes', 'page', Object(WP_Post))
    #6 /var/www/html/" while reading response header from upstream, client:, server:, request: "GET /wp-admin/post.php?post=81&action=edit HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "", referrer: ""
  • I had forgotten to add my PRO license key!

    I added the key, updated to the latest ACF Pro version and now everything works.

    It did work on my local machine without the key, so that confused me.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘ACF not working on PHP 7.2’ is closed to new replies.