Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Issue: Using drush or manual module install #133

Closed
ibwo88 opened this issue Oct 25, 2020 · 11 comments
Closed

Install Issue: Using drush or manual module install #133

ibwo88 opened this issue Oct 25, 2020 · 11 comments

Comments

@ibwo88
Copy link

ibwo88 commented Oct 25, 2020

Hi, not able to install with drush or manual install with web GUI.
Environment:
Drupal 8.9.7
php 7.4
MySQL 5.7
Centos 8

Error message:

[notice] Performed install task: install_bootstrap_full
[error] Error: Class 'Drupal\content_moderation\Event\ContentModerationEvents' not found in Drupal\openideal_idea\EventSubscriber\OpenidealIdeaEventSubscriber::getSubscribedEvents() (line 21 of /var/www/html/openideal-composer/web/profiles/contrib/idea/modules/openideal_idea/src/EventSubscriber/OpenidealIdeaEventSubscriber.php) #0 /var/www/html/openideal-composer/web/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterEventSubscribersPass.php(37): Drupal\openideal_idea\EventSubscriber\OpenidealIdeaEventSubscriber::getSubscribedEvents()

@zohar
Copy link
Member

zohar commented Oct 25, 2020

Hi @ibwo88 , can you confirm you ran the installation command as described in https://github.com/linnovate/openideal#build ?

@ibwo88
Copy link
Author

ibwo88 commented Oct 26, 2020

@zohar hi, yes I tried the installation step as described. And also tried the manual module install.
I also noticed there is no Events folder under the content_moderation core. Wonder if this class has been removed?

https://git.drupalcode.org/project/drupal/-/tree/8.9.x/core/modules/content_moderation/src

@ibwo88
Copy link
Author

ibwo88 commented Nov 6, 2020

Is it only me facing installation issue? What is the supported drupal version?

@zohar
Copy link
Member

zohar commented Nov 7, 2020

@ibwo88 Sorry I missed your earlier response.
We did have a broken installation with the master version until a few days ago, but it has been fixed.
Also, using the official release (3.0.3) should not yield in errors.
make sure you run composer with --no-cache

We will also be releasing a new version very soon.

@elrond1337
Copy link

@zohar same issue here, also with 3.0.3 release on drupal 8.9.11 and PHP 7.4.13. Any othe hint for solving the problem?

@Artmir
Copy link

Artmir commented Jan 5, 2021

Increase php limits. Don't use web browser installation for quick and error-free installation. I already am running a copy of this on production site. Very minor issues mainly with administration i.e. still can't delete custom fields that I create. Which I think the issue may rely on the layout module. Been on holiday for a while and haven't had the time to get back to the issue.

@michpull
Copy link

@zohar same issue with 3.0.5, Drupal 8.9.13 and PHP 7.1.26 and also tried the manual module install, no way.
With drush errors on modules ajax_comments, ckeditor_mentions, group_roles_management too :(
Any hint?

@uncappedshady
Copy link

@zohar same issue with 3.0.5, Drupal 8.9.13 and PHP 7.1.26 and also tried the manual module install, no way.
With drush errors on modules ajax_comments, ckeditor_mentions, group_roles_management too :(
Any hint?

I had the same issues with modules being missing as you have mentioned. I manually installed the modules and then I was able to proceed further but I am now stuck on the below error:

error] Error: Class 'Drupal\content_moderation\Event\ContentModerationEvents' not found in Drupal\openideal_idea\EventSubscriber\

@zohar
Copy link
Member

zohar commented Mar 19, 2021 via email

@devadiga-navya
Copy link

devadiga-navya commented Mar 20, 2021

Hello Zohar,

Thank you for your response.

I was able to setup openideal successfully. The problem was that particular Drupal patch had failed during create project.

Manually applying the failed patch fixed the issue .

Regards,
Navya

@vinodsashi
Copy link

@devadiga-navya
Can you please suggest which exact Drupal patch you installed to resolve this issue ?
Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants