• PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function iworks_orphan::filter_secure_custom_fields(), 3 passed in /home/public_html/wp-includes/class-wp-hook.php on line 324 and exactly 4 expected in /home/wp-content/plugins/sierotki/includes/iworks/class-iworks-orphan.php:1168

    Marcin, o ile dobrze kojarzę, jest różnica w ilości argumentów między ACF (3), a SCF (4).
    To powoduje rozwałkę przy składni typowej dla ACF:
    apply_filters( ‘acf/format_value’, $value, $post_id, $field );

    W class-iworks-orphan.php ln. 1168 powinieneś czwarty zrobić opcjonalnym, dajac raczej:
    public function filter_secure_custom_fields( $value, $post_id, $field, $escape_html = false ) {

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

The topic ‘Fatal error – Too few arguments’ is closed to new replies.