Title: Ucaught TypeError in Posts view
Last modified: July 26, 2020

---

# Ucaught TypeError in Posts view

 *  [rozsahegyi](https://wordpress.org/support/users/rozsahegyi/)
 * (@rozsahegyi)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/ucaught-typeerror-in-posts-view/)
 * Hey there,
 * I really like the appearance of Slate but I have an error message in every post
   on the All posts page:
 * **Fatal error:** _Uncaught TypeError_: Argument 1 passed to Avia_Gutenberg::handler_display_post_states()**
   must be of the type array, null given,** called in B:\xampp\htdocs\wp-includes\
   class-wp-hook.php on line 287 and defined in B:\xampp\htdocs\wp-content\themes\
   enfold\config-gutenberg\class-avia-gutenberg.php:671
 * It doesn’t affect the Edit post page.
 * It’s only there since I have Slate. If I turn it off, the error msg. disappears.
   I have the latest WP and Enfold theme. I’m on localhost so I can’t give you a
   link.
 * Do you guys have any suggestion?

The topic ‘Ucaught TypeError in Posts view’ is closed to new replies.

 * ![](https://ps.w.org/slate-admin-theme/assets/icon-256x256.png?rev=988385)
 * [Slate Admin Theme](https://wordpress.org/plugins/slate-admin-theme/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slate-admin-theme/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slate-admin-theme/)
 * [Active Topics](https://wordpress.org/support/plugin/slate-admin-theme/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slate-admin-theme/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slate-admin-theme/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [typeerror](https://wordpress.org/support/topic-tag/typeerror/)

 * 0 replies
 * 1 participant
 * Last reply from: [rozsahegyi](https://wordpress.org/support/users/rozsahegyi/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/ucaught-typeerror-in-posts-view/)
 * Status: not resolved