Installation Error: The form argument Drupal\social\Installer\Form\ModuleConfigureForm is not a valid form.

Created on 13 February 2021, almost 4 years ago
Updated 3 January 2024, 11 months ago

i get this error during the installation process

Error
The website encountered an unexpected error. Please try again later.
InvalidArgumentException: The form class Drupal\social\Installer\Form\ModuleConfigureForm could not be found or loaded. in Drupal\Core\Form\FormBuilder->getFormId() (line 199 of core/lib/Drupal/Core/Form/FormBuilder.php).
Drupal\Core\Form\FormBuilder->getFormId('Drupal\social\Installer\Form\ModuleConfigureForm', Object) (Line: 233)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\social\Installer\Form\ModuleConfigureForm', Object) (Line: 948)
install_get_form('Drupal\social\Installer\Form\ModuleConfigureForm', Array) (Line: 617)
install_run_task(Array, Array) (Line: 570)
install_run_tasks(Array, NULL) (Line: 118)
install_drupal(Object) (Line: 48)
💬 Support request
Status

Postponed: needs info

Version

12.0

Component

Code (back-end)

Created by

🇺🇸United States RobertoGuzman

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India harivenuv India

    I'm facing the same issue, version 11.9.4

  • 🇪🇸Spain rol

    same with last version Social 12.1

  • Status changed to Active 11 months ago
  • 🇪🇸Spain rol

    reopened as it seems still valid

  • Status changed to Postponed: needs info 11 months ago
  • 🇳🇱Netherlands kingdutch

    The form exists with the correct namespace and autoloading is correctly configured

    The error suggests there's a problem with your composer configuration which prevents the autoloader from properly being generated. Please provide the information requested in #2:

    • Did you composer installation go through correctly?
    • Are you installing Drupal through drush or the web interface?
    • Provide your composer.json contents in <code> blocks.
    • Provide your Composer installation output in <code> blocks.
  • 🇳🇱Netherlands kingdutch

    Also downgrading since this doesn't seem to be a reproducible bug but seems to be a support request for properly configuring the local composer.json file.

  • 🇪🇸Spain rol

    answering your question, yes, composer install wents well, tried also after executing composer update.
    Both drush or web interface give same error

    or wirth composer installation you mean, result of this command?
    composer create-project goalgorilla/social_template:dev-master DIRECTORY --no-interaction

Production build 0.71.5 2024