- Issue created by @jummonk
Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\google_tag\Entity\TagContainer::Drupal\google_tag\Entity\{closure}() (line 210 of modules/contrib/google_tag/src/Entity/TagContainer.php).
PHP warning visible on any page as long as no GTM ID is saved.
Prepending is_string($id) && to preg_match. See patch.
Needs review
2.0
Code