Error message
Deprecated function: str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\hg_mercury_events\EventSubscriber\ContentAppsCORSSubscriber->contentAppsCORSHeaders() (line 53 of modules/custom/hg_mercury_dxe_features/modules/hg_mercury_events/src/EventSubscriber/ContentAppsCORSSubscriber.php).
Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\hg_mercury_events\EventSubscriber\ContentAppsCORSSubscriber->contentAppsCORSHeaders() (line 54 of modules/custom/hg_mercury_dxe_features/modules/hg_mercury_events/src/EventSubscriber/ContentAppsCORSSubscriber.php).