Hi.

I just installed version 8.x-1.x-dev on a new local website.

At the end of the installation, I received the following message:

Fatal error: Class 'Drupal\spamicide\SpamicideManager' not found in C:\wamp64\www\eight\core\lib\Drupal\Component\DependencyInjection\Container.php on line 266

The website is down.

I would like to fix the bug or disable the Spamicide module through PHPmyAdmin.

Can someone help me?

Many thanks

CommentFileSizeAuthor
#2 spamicide-install-error-2943258-2.patch374 bytesmyLies
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

astutonet created an issue. See original summary.

myLies’s picture

Status: Active » Needs review
FileSize
374 bytes

This solution could help

astutonet’s picture

Thanks for your answer @myLies.

Even if I apply the patch at #2, the error persists.

I cleaned the cache in the database and in the browser, but it did not solve the problem.

The workaround was to temporarily delete the module.

myLies’s picture

Hi @astutonet

Thanks for your response.
Actually the patch just move the files according drupal modules structure.
If proposed patch not works, you could make the following changes
- move file src/Form/spamicideManager.php to src/SpamicideManager.php (with first letter uppercase)
- move file src/Form/SpamicideManagerInterface.php to src/SpamicideManagerInterface.php
After that changes the cache should be cleaned

lamp5’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm that patch resolve the initial problem during install but this module needs a lot of work to be usable. Code of a module isn't completely right now, without any forms to configure it.

  • lamp5 committed 54c9580 on 8.x-1.x authored by myLies
    Issue #2943258 by myLies, astutonet, lamp5: Fatal Error
    
lamp5’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.