Fatal error: Declaration of BluelabsCivilServiceProjects_Subscriber_CustomPostTypeSubscriber::save_post($post_id, $post, $update): void must be compatible with BluelabsApp_Subscriber_CustomPostTypeSubscriber::save_post($post_id, $update): void in /home/spsdev/public_html/app/mu-plugins/bluelabs-civil-service-projects/src/BluelabsCivilServiceProjects/Subscriber/CustomPostTypeSubscriber.php on line 183
Declaration of BluelabsCivilServiceProjects_Subscriber_CustomPostTypeSubscriber::save_post($post_id, $post, $update): void must be compatible with BluelabsApp_Subscriber_CustomPostTypeSubscriber::save_post($post_id, $update): void (500 Internal Server Error)

Symfony Exception

FatalError

HTTP 500 Internal Server Error

Declaration of BluelabsCivilServiceProjects_Subscriber_CustomPostTypeSubscriber::save_post($post_id, $post, $update): void must be compatible with BluelabsApp_Subscriber_CustomPostTypeSubscriber::save_post($post_id, $update): void

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#3026
  -error: array:4 [
    "type" => 64
    "message" => "Declaration of BluelabsCivilServiceProjects_Subscriber_CustomPostTypeSubscriber::save_post($post_id, $post, $update): void must be compatible with BluelabsApp_Subscriber_CustomPostTypeSubscriber::save_post($post_id, $update): void"
    "file" => "/home/spsdev/public_html/app/mu-plugins/bluelabs-civil-service-projects/src/BluelabsCivilServiceProjects/Subscriber/CustomPostTypeSubscriber.php"
    "line" => 183
  ]
}
  1. }
  2. return $term;
  3. }
  4. public function save_post($post_id, $post, $update): void
  5. {
  6. parent::save_post($post_id, $post, $update);
  7. try {
  8. if ($post && $post->post_type === static::POST_TYPE) {

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Declaration of BluelabsCivilServiceProjects_Subscriber_CustomPostTypeSubscriber::save_post($post_id, $post, $update): void must be compatible with BluelabsApp_Subscriber_CustomPostTypeSubscriber::save_post($post_id, $update): void

  at /home/spsdev/public_html/app/mu-plugins/bluelabs-civil-service-projects/src/BluelabsCivilServiceProjects/Subscriber/CustomPostTypeSubscriber.php:183