Title: Fatal error PHP 8
Last modified: April 29, 2022

---

# Fatal error PHP 8

 *  Resolved [Knut Sparhell](https://wordpress.org/support/users/knutsp/)
 * (@knutsp)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-php-8-2/)
 * 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 3 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 3 years, 11 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Formatting

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

 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-php-8-2/#post-15603954)
 * Hello [@knutsp](https://wordpress.org/support/users/knutsp/)
 * We do have a fix for this. You can download it from here — [https://we.tl/t-eOoAlg9lgD](https://we.tl/t-eOoAlg9lgD).
   Simply install it as a theme, manually, and choose to replace what you have right
   now. Also, update as usual when the full update releases.
 * Hope this helps.
 * Thanks.
 *  Thread Starter [Knut Sparhell](https://wordpress.org/support/users/knutsp/)
 * (@knutsp)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-php-8-2/#post-15604374)
 * Excellent!
 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-php-8-2/#post-15606353)
 * Great! Glad to hear everything’s fine now. 🙂 Let us know if you have any other
   questions.
 * Thanks and have a great weekend!

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

The topic ‘Fatal error PHP 8’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blocksy/2.1.37/screenshot.jpg)
 * Blocksy
 * [Support Threads](https://wordpress.org/support/theme/blocksy/)
 * [Active Topics](https://wordpress.org/support/theme/blocksy/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blocksy/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blocksy/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Eduard](https://wordpress.org/support/users/cteduard/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-php-8-2/#post-15606353)
 * Status: resolved