Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When both Mollom and webprofiler modules are enabled on dev systems, we see the following error while trying this drush command.
The same command when only webprofiler is enabled:
We have seen the Mollom error at other times and are concerned about Mollom's stability.
Comment | File | Size | Author |
---|---|---|---|
#2 | mollom-update-php.png | 307.98 KB | esod |
webprofiler-permissions.png | 45.07 KB | esod | |
mollom-webprofiler-permissions.png | 468.62 KB | esod |
Comments
Comment #2
esod CreditAttribution: esod as a volunteer and commentedHere is another place where these two modules don't play well together.
Admittedly having mollom and webprofiler enabled on the same system is not a common occurrence because the services the two modules provide are quite different. But mollom is a part of our build and its being enabled is included when we build our local systems. We'd also like to have Web profiler enabled locally as a part of our build, but that's currently not possible because of this issue.
Comment #3
bostonid CreditAttribution: bostonid at Thinkbean commentedJust a note to say we too have a need for mollom and webprofiler running together. We have managed it by performing the following on sites which throw the errors you are seeing:
manually delete the mollom folder
drush pmu webprofiler
composer require "drupal/mollom ~8.1"
drush en mollom
(optional) drush en webprofiler
Not a fix but a workaround suggestion.
Comment #4
yukare CreditAttribution: yukare commentedOn drupal 8.2 we use composer from root, not from each module. Is not possible just remove the vendor folder from mollom and run the proper commands on drupal root? This will remove the need of add another autoloader in mollom.
Comment #5
eshta CreditAttribution: eshta at Acquia commentedSo am I understanding correctly that the problem is due to the faulty use of composer.json in the Mollom module? If so, would resolving https://www.drupal.org/node/2840112 also resolve this bug?