Visiting any page that renders a View whose base table is not an entity base table, for example the database log report at admin/reports/dblog (the watchdog table), throws a WSOD:
Error: Call to a member function getBaseTable() on false in ViewsTenantScope::orchestraBaseTable().
ViewExecutable::getBaseEntityType() returns FALSE (not NULL) when the view's base table is not an entity base table, but the guard only checks for NULL, so getBaseTable() is then called on FALSE.
Fix: guard on the interface instead, if (!$entity_type instanceof EntityTypeInterface), which covers both FALSE and NULL.
Issue fork orchestra-3607559
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mably commentedComment #5
mably commented