• Greets,

    We don’t do development on this site currently, ie, no changes ‘cept for updates to plugins and wordpress.

    Our current versions (concerning ACF) are

    1. Advanced Custom Fields: 5.7.7
    2. Advanced Custom Fields: Validated Field: 1.77
    3. WP All Import – ACF Add-On: 3.1.9

    This error started in our debug.log on 9/26

    [26-Sep-2018 14:34:12 UTC] PHP Warning: Declaration of acf_field_validated_field::validate_field($valid, $value, $field, $input) should be compatible with acf_field::validate_field($field) in /usr/apache/adcknowledgebank/http-2.4.33/htdocs/wp-content/plugins/validated-field-for-acf/validated_field_v5.php on line 3

    which appears to coincide with an upgrade of Advanced Custom Fields from 4.4.12 to 5.7.6.

    Today, 10/3 when clicking “add new” Document we started getting the error below. The last successful usage was on 9/24 before updates above.

    Today I updated ACF to 5.7.7 to no avail.

    Any help/direction/etc would be appreciated. Thanks in advance.

    -Davis

    Fatal error: Uncaught ArgumentCountError:
    Too few arguments to function acf_field_validated_field::validate_field(),
    1 passed in /usr/apache/adcknowledgebank/http-2.4.33/htdocs/wp-includes/class-wp-hook.php on line 286
    and exactly 4 expected in /usr/apache/adcknowledgebank/http-2.4.33/htdocs/wp-content/plugins/validated-field-for-acf/validated_field_v5.php:368

    Stack trace:
    #0 /usr/apache/adcknowledgebank/http-2.4.33/htdocs/wp-includes/class-wp-hook.php(286): acf_field_validated_field->validate_field(Array)
    #1 /usr/apache/adcknowledgebank/http-2.4.33/htdocs/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
    #2 /usr/apache/adcknowledgebank/http-2.4.33/htdocs/wp-content/plugins/advanced-custom-fields/includes/api/api-field.php(108): apply_filters(‘acf/validate_fi…’, Array)
    #3 /usr/apache/adcknowledgebank/http-2.4.33/htdocs/wp-content/plugins/advanced-custom-fields/includes/api/api-field.php(925): acf_get_valid_field(Array)
    #4 /usr/apache/adcknowledgebank/http-2.4.33/htdocs/wp-content/plugins/advanced-custom- in /usr/apache/adcknowledgebank/http-2.4.33/htdocs/wp-content/plugins/validated-field-for-acf/validated_field_v5.php on line 368

  • The topic ‘Uncaught ArgumentCountError acf_field_validated_field’ is closed to new replies.