• Resolved mattmerendo

    (@mattmerendo)


    Recently installed ACF Pro and ACF Extended on a fresh install of WordPress 5.7.1. Tried to create a new user and received a warning about a critical error. Disabling ACF Extended allowed me to create users with no problem. Follow-up email gave the following details. Any idea what’s going on here?

    An error of type E_ERROR was caused in line 40 of the file /var/www/transfer/wp-content/plugins/advanced-custom-fields-pro/includes/acf-utility-functions.php. Error message: Uncaught Error: Class 'ACF_Form_User' not found in /var/www/transfer/wp-content/plugins/advanced-custom-fields-pro/includes/acf-utility-functions.php:40
    Stack trace:
    #0 /var/www/transfer/wp-content/plugins/acf-extended/includes/modules/ui.php(61): acf_get_instance()
    #1 /var/www/transfer/wp-includes/class-wp-hook.php(292): acfe_enhanced_ui->admin_enqueue_scripts()
    #2 /var/www/transfer/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #3 /var/www/transfer/wp-includes/plugin.php(484): WP_Hook->do_action()
    #4 /var/www/transfer/wp-admin/admin-header.php(102): do_action()
    #5 /var/www/transfer/wp-admin/user-new.php(314): require_once('/var/www/transf...')
    #6 {main}
      thrown
    • This topic was modified 3 years, 11 months ago by mattmerendo.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    May I ask what is your ACF Pro version and ACF Extended version?

    Thanks in advance.

    Regards.

    Thread Starter mattmerendo

    (@mattmerendo)

    Of course!

    ACF Pro: 5.9.5
    ACF Extended: 0.8.8.1

    Thread Starter mattmerendo

    (@mattmerendo)

    I’d also like to mention that this happens whether I use our custom-built theme or the native Twenty Twenty-One theme.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the quick answer. Versions are fine, but I don’t get such error. Can you please answer the following questions:

    – What is your PHP version?
    – What are the other plugins you’re using?
    – What theme are you using?

    Thanks!

    Regards.

    Thread Starter mattmerendo

    (@mattmerendo)

    PHP 7.4.16

    The error occurs with only ACF Pro and ACF Extended activated.

    The error occurs on our custom-built theme, as well as the WordPress-provided Twenty Twenty-One.

    Thread Starter mattmerendo

    (@mattmerendo)

    Please disregard this thread. For some reason, the form subdirectory of ACF Pro was not included in my Git repo. It’s fixed now!

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Yeah that’s what I thought, it was like some files were missing from the ACF Pro source code folder.

    I’m glad to hear it’s now fixed ??

    Have a nice day!

    Regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Class ‘ACF_Form_User’ not found’ is closed to new replies.