• Resolved alibaghaei

    (@alibaghaei)


    Hi
    I have a bad problem with loading new/edit posts. When WordPress try to load new/edit posts, it fails and I receive following error:

    Fatal error: Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, string given in C:\xampp\htdocs\kopon\wp-includes\rest-api\class-wp-rest-server.php:1402 Stack trace: #0 C:\xampp\htdocs\kopon\wp-includes\rest-api\class-wp-rest-server.php(1402): array_intersect_key(‘library’, Array) #1 C:\xampp\htdocs\kopon\wp-includes\rest-api\class-wp-rest-server.php(1324): WP_REST_Server->get_data_for_route(’/redux/v1/templ…’, Array, ‘view’) #2 C:\xampp\htdocs\kopon\wp-includes\rest-api\class-wp-rest-server.php(1243): WP_REST_Server->get_data_for_routes(Array, ‘view’) #3 C:\xampp\htdocs\kopon\wp-includes\rest-api\class-wp-rest-server.php(1160): WP_REST_Server->get_index(Object(WP_REST_Request)) #4 C:\xampp\htdocs\kopon\wp-includes\rest-api\class-wp-rest-server.php(1007): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ’/’, Array, NULL) #5 C:\xampp\htdocs\kopon\wp-includes\rest-api.php(479): WP_REST_Server->dispatch(Object(WP_REST_Request)) #6 C:\xampp\htdocs\kopon\wp-includes\rest-api.php(2520): rest_do_request(Object(WP_REST_Request)) #7 [internal function]: rest_preload_api_request(Array, ’/’) #8 C:\xampp\htdocs\kopon\wp-admin\edit-form-blocks.php(82): array_reduce(Array, ‘rest_preload_ap…’, Array) #9 C:\xampp\htdocs\kopon\wp-admin\post-new.php(72): require(‘C:\\xampp\\htdocs…’) #10 {main} thrown in C:\xampp\htdocs\kopon\wp-includes\rest-api\class-wp-rest-server.php on line 1402

    I tried to deactivate plugins and when i deative Redux plugin, i can edit posts…

    I searched for a good solution, but I did not find it. Please guide me.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem in editing posts’ is closed to new replies.