Closed little9 closed 2 years ago
After I do a make reset
on this branch, I get an empty webpage with The website encountered an unexpected error. Please try again later
on it.
9.3 has a few deprecations that might be behaving badly. Or rather, the deprecations are fine, but there is a case where if a null is passed in to something, it starts to fail now. I suspect we have a few spots where that needs to be handled.
I was seeing this error in the drupal log:
drupal_1 | 2021/12/20 19:15:48 [error] 1883#1883: *10 FastCGI sent in stderr: "PHP message: TypeError: Argument 2 passed to Drupal\Core\Extension\ExtensionPathResolver::getPath() must be of the type string, null given, called in /var/www/drupal/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php on line 123 in /var/www/drupal/web/core/lib/Drupal/Core/Extension/ExtensionPathResolver.php on line 84 #0 /var/www/drupal/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php(123): Drupal\Core\Extension\ExtensionPathResolver->getPath('theme', NULL)
And then I found this: https://www.drupal.org/project/drupal/issues/3254245
But I'm not sure how applicable that is.
Something is definitely not playing nicely in the update.
Dependency diff between development base branch development (f2d5e7dde566ba153be831e804a510c593a920f3) and PR branch update-drupal-9-3-0 (9443140af034fc4df848b062cf96ec12f506d4fc):