Reproducible additional uncaught exception error when enabling on Drupal 8 alpha6:
If you have just changed code (for example deployed a new module or moved an existing one) read http://drupal.org/documentation/rebuild
Additional uncaught exception thrown while handling exception.
Original
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Cache table for Administra' at line 1: CREATE TABLE {cache_admin_menu} ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Cache table for Administration menu to store client-side cac'; Array ( ) in Drupal\Core\Database\Connection->query() (line 569 of /home/s78b572205b99d66/www/core/lib/Drupal/Core/Database/Connection.php).
Additional
Exception: theme() may not be called until all modules are loaded. in theme() (line 522 of /home/s78b572205b99d66/www/core/includes/theme.inc).
Comments
Comment #1
klonosComment #2
forestmars commentedGiven that alpha6 is 2 versions behind, this will probably languish, but just wanted to have it documented in case someone else runs into it.
Comment #3
klonosI'm not entirely sure that this is limited to only alpha6. I'm trying to test this with alpha8 and latest dev over at simplytest.me but I hit #2181387: 8.x modules not downloaded/installed when selected as an additional project.. I will test again once the other issue is resolved (unless someone beats me to it and tests this on a local environment).
Comment #4
chroid commentedSame issue on Drupal 8 GIT dev (cloned about an hour prior to writing) with Admin Menu 8.x-3.x-dev.
Results in a fairly terminal WSOD site wide.
Comment #5
forestmars commentedOn a positive note, admin_menu doesn't appear to be throwing uncaught exceptions on Alpha 9.
Unfortunately, it also doesn't show up in the module list, even though attempting to install again returns the error "admin menu is already installed."
Don't have time to look at this too deeply atm.
Comment #6
jibranI have created a fork of admin_menu 8.x-3.x on github. Please help me fix it for Drupal 8
PRs are welcome. https://github.com/jibran/admin_menu
Comment #7
dave reidThe module doesn't currently work on D8. Please file issue for things to address with the D8 port here in our issue queue and we can get others to test and maintainers to commit the fixes.
Comment #8
jibranCreated #2393983: Replace deprecated functions & system variables