Problem/Motivation
There are projects where the Language module is not enabled, hence there is an error in CookiePro.php at line 675
if ($config->get('url.source') === LanguageNegotiationUrl::CONFIG_DOMAIN) {
Fatal error: Uncaught Error: Class "Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl" not found in /app/web/modules/contrib/cookiepro_plus/src/CookiePro.php:675
Proposed resolution
Verify if the language module is enabled.
Remaining tasks
Add patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3353738-2.patch | 2.66 KB | bogdan.racz |
Issue fork cookiepro_plus-3353738
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
bogdan.racz commentedAdded patch.
Please review!
Comment #7
andreasderijckeWhoops, so used to multi-language sites it didn't even occur the module might be disabled.
Thanks for reporting this and providing the patch!
Release with the fix will follow in a few minutes.
Comment #8
andreasderijckeYou can use release 1.0.5.