eeats
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: WordPress 5.6 Upgrading IssueHi there @desrosj
I tried deactivating and reactivating my plugins but, it did not fix the problem. I’m still getting
Warning: array_intersect_key(): Expected parameter 1 to be an array, string given in /home/customer/www/esculenteats.com/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1411. 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;
}
}`Please HELP!
Forum: Fixing WordPress
In reply to: class-wp-rest-server.php errorHi there @dd32.
I tried deactivating and reactivating my plugins but, it did not fix the problem. I’m still getting
Warning: array_intersect_key(): Expected parameter 1 to be an array, string given in /home/customer/www/esculenteats.com/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1411. 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;
}
}`Please HELP!
Hi @davide1991,
Did you get this resolved? I am currently dealing with the same issue and have no idea on how to fix it.