Hi,
I also have a problem during installation. I'm running xampp with php 7.4.33, composer 2.5.8 and 10.4.27-MariaDB.
While I run this command:
../vendor/bin/drush si -y --account-name username --account-pass my_pass --account-mail my_mail@example.com --site-name "OpenideaL" --db-url=mysql://dbuser@127.0.0.1/db_name idea
I receive this error:
[error] Error: Class 'Drupal\content_moderation\Event\ContentModerationEvents' not found in Drupal\openideal_idea\EventSubscriber\OpenidealIdeaEventSubscriber::getSubscribedEvents() (line 21 of C:\xampp\htdocs\openideal\web\profiles\contrib\idea\modules\openideal_idea\src\EventSubscriber\OpenidealIdeaEventSubscriber.php) #0 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\DependencyInjection\Compiler\RegisterEventSubscribersPass.php(37): Drupal\openideal_idea\EventSubscriber\OpenidealIdeaEventSubscriber::getSubscribedEvents()
#1 C:\xampp\htdocs\openideal\vendor\symfony\dependency-injection\Compiler\Compiler.php(140): Drupal\Core\DependencyInjection\Compiler\RegisterEventSubscribersPass->process(Object(Drupal\Core\DependencyInjection\ContainerBuilder))
#2 C:\xampp\htdocs\openideal\vendor\symfony\dependency-injection\ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Drupal\Core\DependencyInjection\ContainerBuilder))
#3 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\DrupalKernel.php(1335): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#4 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\DrupalKernel.php(916): Drupal\Core\DrupalKernel->compileContainer()
#5 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\Installer\InstallerKernel.php(20): Drupal\Core\DrupalKernel->initializeContainer()
#6 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\DrupalKernel.php(840): Drupal\Core\Installer\InstallerKernel->initializeContainer()
#7 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\Extension\ModuleInstaller.php(578): Drupal\Core\DrupalKernel->updateModules(Array, Array)
#8 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\Extension\ModuleInstaller.php(206): Drupal\Core\Extension\ModuleInstaller->updateKernel(Array)
#9 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\ProxyClass\Extension\ModuleInstaller.php(83): Drupal\Core\Extension\ModuleInstaller->install(Array, false)
#10 C:\xampp\htdocs\openideal\web\core\includes\install.core.inc(1882): Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array, false)
#11 C:\xampp\htdocs\openideal\web\core\includes\batch.inc(295): _install_module_batch('openideal_idea', 'OpenideaL Idea', Array)
#12 C:\xampp\htdocs\openideal\web\core\includes\form.inc(947): _batch_process()
#13 C:\xampp\htdocs\openideal\web\core\includes\install.core.inc(652): batch_process(Object(Drupal\Core\Url), Object(Drupal\Core\Url))
#14 C:\xampp\htdocs\openideal\web\core\includes\install.core.inc(570): install_run_task(Array, Array)
#15 C:\xampp\htdocs\openideal\web\core\includes\install.core.inc(118): install_run_tasks(Array, Array)
#16 C:\xampp\htdocs\openideal\vendor\drush\drush\includes\drush.inc(213): install_drupal(Object(Composer\Autoload\ClassLoader), Array, Array)
#17 C:\xampp\htdocs\openideal\vendor\drush\drush\includes\drush.inc(197): drush_call_user_func_array('install_drupal', Array)
#18 C:\xampp\htdocs\openideal\vendor\drush\drush\src\Commands\core\SiteInstallCommands.php(149): drush_op('install_drupal', Object(Composer\Autoload\ClassLoader), Array, Array)
#19 [internal function]: Drush\Commands\core\SiteInstallCommands->install('idea', Array)
#20 C:\xampp\htdocs\openideal\vendor\consolidation\annotated-command\src\CommandProcessor.php(257): call_user_func_array(Array, Array)
#21 C:\xampp\htdocs\openideal\vendor\consolidation\annotated-command\src\CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData))
#22 C:\xampp\htdocs\openideal\vendor\consolidation\annotated-command\src\CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#23 C:\xampp\htdocs\openideal\vendor\consolidation\annotated-command\src\AnnotatedCommand.php(302): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#24 C:\xampp\htdocs\openideal\vendor\symfony\console\Command\Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 C:\xampp\htdocs\openideal\vendor\symfony\console\Application.php(1005): Symfony\Component\Console\Command\Command->run(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#26 C:\xampp\htdocs\openideal\vendor\symfony\console\Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 C:\xampp\htdocs\openideal\vendor\symfony\console\Application.php(148): Symfony\Component\Console\Application->doRun(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#28 C:\xampp\htdocs\openideal\vendor\drush\drush\src\Runtime\Runtime.php(118): Symfony\Component\Console\Application->run(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#29 C:\xampp\htdocs\openideal\vendor\drush\drush\src\Runtime\Runtime.php(48): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
#30 C:\xampp\htdocs\openideal\vendor\drush\drush\drush.php(72): Drush\Runtime\Runtime->run(Array)
#31 C:\xampp\htdocs\openideal\vendor\drush\drush\drush(3): require('C:\xampp\htdocs...')
#32 C:\xampp\htdocs\openideal\vendor\bin\drush(115): include('C:\xampp\htdocs...')
#33 {main}.
Can someone help me?
Thanks in advance!
Hi,
I also have a problem during installation. I'm running xampp with php 7.4.33, composer 2.5.8 and 10.4.27-MariaDB.
While I run this command:
../vendor/bin/drush si -y --account-name username --account-pass my_pass --account-mail my_mail@example.com --site-name "OpenideaL" --db-url=mysql://dbuser@127.0.0.1/db_name idea
I receive this error:
[error] Error: Class 'Drupal\content_moderation\Event\ContentModerationEvents' not found in Drupal\openideal_idea\EventSubscriber\OpenidealIdeaEventSubscriber::getSubscribedEvents() (line 21 of C:\xampp\htdocs\openideal\web\profiles\contrib\idea\modules\openideal_idea\src\EventSubscriber\OpenidealIdeaEventSubscriber.php) #0 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\DependencyInjection\Compiler\RegisterEventSubscribersPass.php(37): Drupal\openideal_idea\EventSubscriber\OpenidealIdeaEventSubscriber::getSubscribedEvents()
#1 C:\xampp\htdocs\openideal\vendor\symfony\dependency-injection\Compiler\Compiler.php(140): Drupal\Core\DependencyInjection\Compiler\RegisterEventSubscribersPass->process(Object(Drupal\Core\DependencyInjection\ContainerBuilder))
#2 C:\xampp\htdocs\openideal\vendor\symfony\dependency-injection\ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Drupal\Core\DependencyInjection\ContainerBuilder))
#3 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\DrupalKernel.php(1335): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#4 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\DrupalKernel.php(916): Drupal\Core\DrupalKernel->compileContainer()
#5 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\Installer\InstallerKernel.php(20): Drupal\Core\DrupalKernel->initializeContainer()
#6 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\DrupalKernel.php(840): Drupal\Core\Installer\InstallerKernel->initializeContainer()
#7 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\Extension\ModuleInstaller.php(578): Drupal\Core\DrupalKernel->updateModules(Array, Array)
#8 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\Extension\ModuleInstaller.php(206): Drupal\Core\Extension\ModuleInstaller->updateKernel(Array)
#9 C:\xampp\htdocs\openideal\web\core\lib\Drupal\Core\ProxyClass\Extension\ModuleInstaller.php(83): Drupal\Core\Extension\ModuleInstaller->install(Array, false)
#10 C:\xampp\htdocs\openideal\web\core\includes\install.core.inc(1882): Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array, false)
#11 C:\xampp\htdocs\openideal\web\core\includes\batch.inc(295): _install_module_batch('openideal_idea', 'OpenideaL Idea', Array)
#12 C:\xampp\htdocs\openideal\web\core\includes\form.inc(947): _batch_process()
#13 C:\xampp\htdocs\openideal\web\core\includes\install.core.inc(652): batch_process(Object(Drupal\Core\Url), Object(Drupal\Core\Url))
#14 C:\xampp\htdocs\openideal\web\core\includes\install.core.inc(570): install_run_task(Array, Array)
#15 C:\xampp\htdocs\openideal\web\core\includes\install.core.inc(118): install_run_tasks(Array, Array)
#16 C:\xampp\htdocs\openideal\vendor\drush\drush\includes\drush.inc(213): install_drupal(Object(Composer\Autoload\ClassLoader), Array, Array)
#17 C:\xampp\htdocs\openideal\vendor\drush\drush\includes\drush.inc(197): drush_call_user_func_array('install_drupal', Array)
#18 C:\xampp\htdocs\openideal\vendor\drush\drush\src\Commands\core\SiteInstallCommands.php(149): drush_op('install_drupal', Object(Composer\Autoload\ClassLoader), Array, Array)
#19 [internal function]: Drush\Commands\core\SiteInstallCommands->install('idea', Array)
#20 C:\xampp\htdocs\openideal\vendor\consolidation\annotated-command\src\CommandProcessor.php(257): call_user_func_array(Array, Array)
#21 C:\xampp\htdocs\openideal\vendor\consolidation\annotated-command\src\CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData))
#22 C:\xampp\htdocs\openideal\vendor\consolidation\annotated-command\src\CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#23 C:\xampp\htdocs\openideal\vendor\consolidation\annotated-command\src\AnnotatedCommand.php(302): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#24 C:\xampp\htdocs\openideal\vendor\symfony\console\Command\Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 C:\xampp\htdocs\openideal\vendor\symfony\console\Application.php(1005): Symfony\Component\Console\Command\Command->run(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#26 C:\xampp\htdocs\openideal\vendor\symfony\console\Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 C:\xampp\htdocs\openideal\vendor\symfony\console\Application.php(148): Symfony\Component\Console\Application->doRun(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#28 C:\xampp\htdocs\openideal\vendor\drush\drush\src\Runtime\Runtime.php(118): Symfony\Component\Console\Application->run(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#29 C:\xampp\htdocs\openideal\vendor\drush\drush\src\Runtime\Runtime.php(48): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
#30 C:\xampp\htdocs\openideal\vendor\drush\drush\drush.php(72): Drush\Runtime\Runtime->run(Array)
#31 C:\xampp\htdocs\openideal\vendor\drush\drush\drush(3): require('C:\xampp\htdocs...')
#32 C:\xampp\htdocs\openideal\vendor\bin\drush(115): include('C:\xampp\htdocs...')
#33 {main}.
Can someone help me?
Thanks in advance!