Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291566

http installation of 8.8.1 fails with "Class "\Drupal\system\Controller\Http4xxController" does not exist."

$
0
0

If you

1. Install Drupal 8 right now with the drupal/recommended-project composer recipe, which results in Drupal 8.8.1
2. Install a site using browser (standard profile) and using http (doesn't happen with https)

the installation will fail with this error after you fill out the "Configure site" page.

NOTICE: PHP message: Uncaught PHP Exception InvalidArgumentException: "Class "\Drupal\system\Controller\Http4xxController" does not exist." at /var/www/html/web/core/lib/Drupal/Core/DependencyInjection/ClassResolver.php line 24"

If you install via https it doesn't have a problem.

I tested this on Debian Stretch Linux in more than one environment (using ddev).

This is also referenced in https://drupal.stackexchange.com/questions/289480/class-drupal-system-co...

Easy to do with ddev with this technique:

1. mkdir d8recommended && cd d8recommended &&. ddev config --project-type=drupal8 --docroot=web --create-docroot
2. ddev start
3. ddev composer create drupal/recommended-project
4. ddev config --project-type=drupal8
5. Tail logs with "ddev logs -f"
6. Visit the *http* URL (for example, http://d8recommended.ddev.site) and do the web-based installation. You'll get these errors when you finish configuration on the final page.


Viewing all articles
Browse latest Browse all 291566

Trending Articles