Warnings On Install
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3179765. -->
Reported by: [Christopher Riley](https://www.drupal.org/user/592880)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When I enable the module on a fresh 9 install I get the following warnings:</p>
<p>-> drush en error_page -y<br>
[warning] Declaration of Drupal\error_page\EventSubscriber\ErrorPageExceptionLoggingSubscriber::onError(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event): void should be compatible with Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber::onError(Symfony\Component\HttpKernel\Event\ExceptionEvent $event) ErrorPageExceptionLoggingSubscriber.php:44<br>
[warning] Declaration of Drupal\error_page\EventSubscriber\ErrorPageFinalExceptionSubscriber::onException(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event): void should be compatible with Drupal\Core\EventSubscriber\FinalExceptionSubscriber::onException(Symfony\Component\HttpKernel\Event\ExceptionEvent $event) ErrorPageFinalExceptionSubscriber.php:100<br>
[success] Successfully enabled: error_page</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Install via commandline</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue