Bug described in https://www.drupal.org/project/drupal/issues/2993976 was closed by accident.
Original summary:
Error: Class name must be a valid object or a string in entity_get_controller() (line 8056 of includes\common.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | drupal-class-name-valid-object-3107295-3.patch | 630 bytes | wolffereast |
Issue fork drupal-3107295
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 #2
devkinetic commentedCan confirm this is an active issue in 7.77. It is affecting various core pages. #5 in that link seems to do the trick.
Comment #3
wolffereast commentedI don't believe this was ever fixed. The referenced report was marked fixed August 18 2018. 7.59 was released April 25th 2018 and 7.60 was released October 18th 2018 so the fix was neither in released core or the dev branch when the ticket closed, likely just a mixup. I rerolled the patch to apply to dev, the line numbers changed again and there was a minor spacing change.
I originally ran into this during a database update but I don't know which one in particular caused the problem. If anyone has steps to reproduce that would be helpful!
Comment #6
czigor commentedComment #7
davej commentedWe encountered this error on multiple sites when running contrib or core updates. #3 resolves it.
Comment #8
poker10 commentedThis is a duplicate of #1982810: Core entity_get_controller gets a NULL controller class. Please review the patch in that issue. Thanks!