• Blocksy version 1.8.28
    Multisite, Blocksy Child
    PHP error log:

    PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in */wp-content/themes/blocksy/inc/helpers.php:202
    Stack trace:
    #0 */wp-content/themes/blocksy/inc/helpers.php(202): in_array()
    #1 */wp-includes/class-wp-hook.php(307): {closure}()
    #2 */wp-includes/plugin.php(189): WP_Hook->apply_filters()
    #3 */wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(359): apply_filters()
    #4 */wp-includes/rest-api/class-wp-rest-server.php(1141): WP_REST_Posts_Controller->get_items()
    #5 */wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
    #6 */wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch()
    #7 */wp-includes/rest-api.php(386): WP_REST_Server->serve_request()
    #8 */wp-includes/class-wp-hook.php(307): rest_api_loaded()
    #9 */wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #10 */wp-includes/plugin.php(522): WP_Hook->do_action()
    #11 */wp-includes/class-wp.php(396): do_action_ref_array()
    #12 */wp-includes/class-wp.php(758): WP->parse_request()
    #13 */wp-includes/functions.php(1310): WP->main()
    #14 */wp-blog-header.php(16): wp()
    #15 */index.php(17): require('/home/sanfigug/...')
    #16 {main}
      thrown in */wp-content/themes/blocksy/inc/helpers.php on line 202
    • This topic was modified 2 years, 6 months ago by Jan Dembowski.
    • This topic was modified 2 years, 6 months ago by Jan Dembowski. Reason: Formatting
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error PHP 8’ is closed to new replies.