Installing via composer generates error

Created on 17 September 2023, over 1 year ago
Updated 24 September 2023, about 1 year ago

When installing via composer, rather than uploading directly I get an error, see below.

1. Install via composer "composer require 'drupal/hacked:^2.0@beta'"
2. Enable module
3. see wsod

Whats weird is if I upload Hacked to the modules folder everything works fine.

The error produced, anonymised obviously is below

[proxy_fcgi:error] AH01071: Got error 'PHP message: Error: Class "Drupal\\hacked\\ParamConverter\\HackedProjectConverter" not found in /var/www/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 #0 /var/www/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\\Component\\DependencyInjection\\Container->createService()\n#1 /var/www/web/core/lib/Drupal/Component/DependencyInjection/Container.php(434): Drupal\\Component\\DependencyInjection\\Container->get()\n#2 /var/www/web/core/lib/Drupal/Component/DependencyInjection/Container.php(273): Drupal\\Component\\DependencyInjection\\Container->resolveServicesAndParameters()\n#3 /var/www/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\\Component\\DependencyInjection\\Container->createService()\n#4 /var/www/web/core/lib/Drupal/Component/DependencyInjection/Container.php(434): Drupal\\...', referer: https://mysite.com/admin/modules

🐛 Bug report
Status

Postponed: needs info

Component

Code

Created by

🇬🇧United Kingdom bigmonmulgrew

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024