Problem/Motivation
php 8.0.21
drupal 9.3.16
Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\Core\Path\PathMatcher->matchPath() (line 85 of core/lib/Drupal/Core/Path/PathMatcher.php).
Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\Component\Plugin\PluginBase->getDerivativeId() (line 83 of core/lib/Drupal/Component/Plugin/PluginBase.php).
I think this notice need to be fixed.
Steps to reproduce
upgrade php from 7.4 to 8.0
Proposed resolution
convert param to string type