• Resolved davide1991

    (@davide1991)


    Hi there,

    I am currently receiving the following error:

    Warning: array_intersect_key(): Expected parameter 1 to be an array, string given in /path on line 1402.

    Thats the line:

    if ( isset( $callback[‘args’] ) ) {
    $endpoint_data[‘args’] = array();

    foreach ( $callback[‘args’] as $key => $opts ) {
    $arg_data = array_intersect_key( $opts, $allowed_schema_keywords );
    $arg_data[‘required’] = ! empty( $opts[‘required’] );

    $endpoint_data[‘args’][ $key ] = $arg_data;
    }
    }

    Does someone know how to fix?

    Br and thanks a lot
    David

    The page I need help with: [log in to see the link]

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

The topic ‘Warning: array_intersect_key(): Expected parameter 1 to be an array,…..’ is closed to new replies.