Score:0

Drush issue duplicating includes/ directory

za flag

Using drush either globally or with a composer installed version, I get this double includes showing up in my fatal error (/includes/includes/):

include_once(/srv/www/htdocs/sites/drupal/includes/includes/entity.inc): failed to open stream: No such file or directory bootstrap.inc:3492 [warning] include_once(): Failed opening '/srv/www/htdocs/sites/drupal/includes/includes/entity.inc' for inclusion (include_path='.:/opt/php7.3/lib') bootstrap.inc:3492 [warning] Drush command terminated abnormally due to an unrecoverable error. [error] Error: Class 'DrupalDefaultEntityController' not found in include_once() (line 300 of /srv/www/htdocs/sites/drupal/modules/user/user.module).

Anyone ever see this before or have any ideas on why this is happening?

The site is located in the /drupal directory.

leymannx avatar
ne flag
Which version of Drush? Drupal 7 needs Drush 8.
za flag
Good comment. Using drush 8.4.8
Score:3
in flag

I think you might want to use Registry Rebuild to fix this, as it's most likely a problem with a borked registry.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.