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.
Hi guys,
Today I have installed the module and when I enter in admin page, drupal gives me this error:
Fatal error: Cannot redeclare class JSMinPlus in /sites/all/modules/advagg/advagg_js_compress/jsminplus.inc on line 174
Another module declares it (javascript_aggregator) before the same class.
Usually, this kind of situations how they are resolved in drupal?
Thanks.
hachreak
Comment | File | Size | Author |
---|---|---|---|
#1 | advagg-1531026-1-prevent-fatal-if-jsminplus-already-defined.patch | 1.69 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedjavascript_aggregator and advagg are incompatible with each other. advagg does all that javascript_aggregator does and more. Highly recommend you disable javascript_aggregator. Going fatal when this happens is unfortunate so I've committed this patch that checks to make sure it doesn't happen.