Problem/Motivation

When enabling the cookies module you are asked to enable a few other modules such as config_translation and language. After enabling all the required modules and navigating to the site I get the famous white screen of death. Checking the logs give the following error
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'table.locales_source' doesn't exist: SELECT "s".* FROM "locales_source" "s" WHERE ("s"."source" IN (:db_condition_placeholder_0)) AND ("s"."context" IN (:db_condition_placeholder_1)); Array ( [:db_condition_placeholder_0] => @count items added to @container [:db_condition_placeholder_1] => ) in Drupal\locale\StringDatabaseStorage->findString() (line 59 of core/modules/locale/src/StringDatabaseStorage.php).

Steps to reproduce

Install cookies module via composer
Run drush en cookies
Accept the installation of other modules suggested by drush
Go to site

Comments

bajah1701 created an issue. See original summary.

bajah1701’s picture

Issue summary: View changes
junaidpv’s picture

IMHO, this module should not have hard dependency on local and language modules.

anybody’s picture

IMHO, this module should not have hard dependency on local and language modules.

Unsure if that's possible due to how the strings are passed to the 3rd party library. Feel free to create a MR or close this, if you switched to https://www.drupal.org/project/klaro

Thanks

junaidpv’s picture

I chose Klaro already after evaluating available modules for the purpose which were not depending on other modules.

I don't I can close this as original post can be a valid issue.