Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on "drush updb" with getOption() on Null #207

Closed
roromedia opened this issue Jul 23, 2024 · 2 comments
Closed

Error on "drush updb" with getOption() on Null #207

roromedia opened this issue Jul 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working Drupal 10 Event Subscribers You trigger things and I react to those Facet Integration Ever shifting/unstable module but we need it
Milestone

Comments

@roromedia
Copy link

roromedia commented Jul 23, 2024

If Layout Builder module is disabled "drush updb" fails with getOption() on null error in Line 93 here:

(\Drupal::routeMatch()->getRouteObject()->getOption('_layout_builder') ||

There should be some check for the Layout Builder to mend that.

@DiegoPino
Copy link
Member

@roromedia if you could confirm #206 fixes the problem so I can merge, that would be great. If not I can put more work on it.

@DiegoPino DiegoPino self-assigned this Jul 24, 2024
@DiegoPino DiegoPino added bug Something isn't working Facet Integration Ever shifting/unstable module but we need it Event Subscribers You trigger things and I react to those Drupal 10 labels Jul 24, 2024
@DiegoPino DiegoPino added this to the 0.8.0 milestone Jul 24, 2024
@DiegoPino
Copy link
Member

Fixed via f9d012e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Drupal 10 Event Subscribers You trigger things and I react to those Facet Integration Ever shifting/unstable module but we need it
Projects
None yet
Development

No branches or pull requests

2 participants