Support

Account

Home Forums ACF PRO Unable to update ACF Pro from 6.2.3 > 6.2.7

Solved

Unable to update ACF Pro from 6.2.3 > 6.2.7

  • Tried manually in multiple environments and via WP Engine’s Smart Plugin Manager.

    Getting the following error:

    Uncaught Error: Call to undefined function acf_register_plugin_update() in [path]/wp-content/plugins/advanced-custom-fields-pro/pro/updates.php:38 Stack trace:
    #0 [path]/wp-includes/class-wp-hook.php(324): acf_pro_updates->init(”)
    #1 [path]/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #2 [path]/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 [path]/wp-settings.php(643): do_action(‘init’)
    #4 [path]/wp-config.php(129): require_once(‘/nas/content/li…’)
    #5 [path]/wp-load.php(50): require_once(‘/nas/content/li…’)
    #6 [path]/wp-admin/admin-ajax.php(22): require_once(‘/nas/content/li…’)
    #7 {main} thrown on line 38 in file wp-content/plugins/advanced-custom-fields-pro/pro/updates.php

    Any ideas?

  • Anyone have an answer for this? I’m having the same problem, same php error, trying to update from 6.2.2 to 6.2.9, and have had it since 6.2.7

  • We’re aware of this issue which happens in the update thread due to PHP opcache storing the old version of an updated ACF Class.

    Unfortunately, there’s no way to resolve this other than performing a one-off manual update to get past the update. While the error will still happen for you in the update thread, it is only present for the update and no end user will ever see the error. You’re free to ignore it and everything will work find on the next page load.

    SPM detects the PHP error triggered in the update thread and performs a rollback for protection.

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

You must be logged in to reply to this topic.