Below error through's by comment edit page -
Fatal error: Uncaught TypeError: P4\MasterTheme\MasterSite::add_meta_box_search(): Argument #2 ($post) must be of type WP_Post, WP_Comment given, called in /var/www/html/wp-includes/class-wp-hook.php on line 324 and defined in /var/www/html/wp-content/themes/planet4-master-theme/src/MasterSite.php:972 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(324): P4\MasterTheme\MasterSite->add_meta_box_search('comment', Object(WP_Comment)) #1 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/www/html/wp-admin/edit-form-comment.php(257): do_action('add_meta_boxes', 'comment', Object(WP_Comment)) #4 /var/www/html/wp-admin/comment.php(92): require('/var/www/html/w...') #5 {main} thrown in /var/www/html/wp-content/themes/planet4-master-theme/src/MasterSite.php on line 972 Warning: Trying to access array offset on value of type bool in /var/www/html/wp-includes/class-wp-recovery-mode-email-service.php on line 367 Warning: Trying to access array offset on value of type bool in /var/www/html/wp-includes/class-wp-recovery-mode-email-service.php on line 368
Issue reported on slack by Rickson Figueira