TypeError thrown

Argument 2 passed to Avia_Gutenberg::handler_display_post_states() must be an instance of WP_Post, null given, called in /home/clients/90b0e835b9b7e12d9c8a37df2f3df2c8/web/wp-includes/class-wp-hook.php on line 287