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
Comment #2
bajah1701 commentedComment #3
junaidpvIMHO, this module should not have hard dependency on local and language modules.
Comment #4
anybodyUnsure 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
Comment #5
junaidpvI 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.