Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
drush si -y
You are about to DROP all tables in your 'drupal_test' database. Do you want to continue? (y/n): y
Starting Drupal installation. This takes a while. Consider using the --notify global option.
drush en autoload_test_entity_ui -y
The following extensions will be enabled: autoload_test_entity_ui, ctools, views, entity, autoload, autoload_test_entity
Do you really want to continue? (y/n): y
WD php: Error: Class 'Drupal\autoload_test_entity_ui\ViewsController' not found in entity_views_data() (line 30 of [error]
/private/var/www/drupal/drupal-test/sites/all/modules/entity/views/entity.views.inc).
Cannot modify header information - headers already sent by (output started at /usr/local/Cellar/drush/8.1.11/libexec/includes/output.inc:41) bootstrap.inc:1473 [warning]
Error: Class 'Drupal\autoload_test_entity_ui\ViewsController' not found in entity_views_data() (line 30 of /private/var/www/drupal/drupal-test/sites/all/modules/entity/views/entity.views.inc).
Drush command terminated abnormally due to an unrecoverable error.
Comments
Comment #2
br0kenComment #4
br0kenComment #5
br0kenHm, above test must have failed. Looks like it happens only if you're enabling submodule via Drush.
Comment #6
br0kenComment #7
br0kenThis patch fixes above problem.
Comment #9
br0ken