Drupal Console (0.10.5) | Supports Drupal 8.0.2
After running drupal site:install everything seems to be working but when I visit the site I see:
The website encountered an unexpected error. Please try again later.
running drupal site:status seems like everything is working
$drupal site:status
System Info
Database connection
Driver mysql
Host localhost
Database connection d8
Port
Username root
Password xxxx
Connection mysql//root:@localhost/d8
Themes
theme_default bartik
theme_admin seven
Directories
Site root directory /Users/xxxxx/Sites/d8/htdocs
Site temporary directory /tmp
Default theme directory /core/themes/bartik
Admin theme directory /core/themes/seven
The apache error log looks like this:
InvalidArgumentException: "No check has been registered for access_check.permission" at /Users/xxxxx/Sites/d8/htdocs/core/lib/Drupal/Core/Access/CheckProvider.php line 99
Seems broken to me.
We are also facing this problem today (1-March-2017). Do you know the solution?
+1
same here after site server migrate.
+1
Same after server migrate. To me it somehow seems like D8 issue, though.
I think this issue is relevant, clearly there is something wrong with Console apart from the other install methods. There is a minor Drupal core issue in that it fails poorly when the site isn't setup correctly so the error message leaves you wondering "well... what is actually broken?" but Console left it that way so its worth fixing.
Do you still experience this issue?
Please try: go to your database, and empty all cache tables (so the cache table itself and every table that has a name that starts with cache_)
This fixed it for me.
Same. Empty the cache table and do a drush cr.
I can also confirm @tienttt's solution works. Annoying that you need to do this but nice workaround. :-D
Truncating cachetags and all cache_ tables made it finally work for me.
@tienttt's solution worked for me as well.
If you don't have a drush alias setup yet, you can always go to YOURSITE/update.php and it will clear the caches for you. This worked for me. https://www.zymphonies.com/blog/clear-or-rebuild-drupal-cache
Most helpful comment
Please try: go to your database, and empty all cache tables (so the cache table itself and every table that has a name that starts with cache_)
This fixed it for me.