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).

Issue fork drupal-3107295

Command icon 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

edvanleeuwen created an issue. See original summary.

devkinetic’s picture

Can confirm this is an active issue in 7.77. It is affecting various core pages. #5 in that link seems to do the trick.

wolffereast’s picture

Issue summary: View changes
StatusFileSize
new630 bytes

I 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!

badrange made their first commit to this issue’s fork.

czigor’s picture

Status: Active » Needs review
davej’s picture

We encountered this error on multiple sites when running contrib or core updates. #3 resolves it.

poker10’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#1982810: Core entity_get_controller gets a NULL controller class

This is a duplicate of #1982810: Core entity_get_controller gets a NULL controller class. Please review the patch in that issue. Thanks!