Home Forums Backend Issues (wp-admin) Can’t update license / check update page – fatal error


Can’t update license / check update page – fatal error

  • Hi,

    I have recently updated ACF free to ACF Pro, at that moment i could fill in a license number. But now i cannot check the update page anymore. It throws an error:

    This is an error in local dev environment, but the issue is also in staging and live env.

    Fatal error: Uncaught Error: 
    Call to undefined method acf_updates::get_plugin_update() in /app/public/wp-content/plugins/advanced-custom-fields-pro/pro/admin/admin-updates.php:191 Stack trace: 
    #0 /app/public/wp-includes/class-wp-hook.php(308): ACF_Admin_Updates->load('') 
    #1 /app/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 
    #2 /app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 
    #3 /app/public/wp-admin/admin.php(237): do_action('load-acf_page_a...') 
    #4 /app/public/wp-admin/edit.php(10): require_once('/Users/pieter/L...') 
    #5 {main} thrown in /app/public/wp-content/plugins/advanced-custom-fields-pro/pro/admin/admin-updates.php on line 191

    The line where the error is referring to in the code, the $update line:

    // perform update checks if license is active
    $basename = acf_get_setting( 'basename' );
    $update   = acf_updates()->get_plugin_update( $basename );

    URL: /wp-admin/edit.php?post_type=acf-field-group&page=acf-settings-updates

    What can i do 🙂 ?

  • 1) Try deactivating an reactivating the plugin
    2) Download a fresh copy of ACF from your account and upload it to the site. It is save to delete ACF and reinstall as long as you don’t edit anything during the process.

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

You must be logged in to reply to this topic.