Closed (fixed)
Project:
Rate
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 May 2018 at 09:46 UTC
Updated:
24 Oct 2018 at 16:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jordik commentedReceived the same error. Here is a quick fix, which helped me.
You can use drush to delete the entries in the config table:
drush sql-query "DELETE FROM config WHERE name ='views.view.rate_results';"
drush sql-query "DELETE FROM config WHERE name ='votingapi.vote_type.fivestar';"
drush sql-query "DELETE FROM config WHERE name ='votingapi.vote_type.updown';"
drush sql-query "TRUNCATE TABLE cache_config;"
Or you can execute the same SQL-queries in phpmyadmin.
Comment #3
Alexandre360 commentedHello,
Thank you for your reply, I cleaned the config directly with phpmyadmin and it worked.
Comment #4
mikechr commentedI've added an enforced dependency on the configuration created by the module. this way when you uninstall the module the configuration will also be removed.
However this won't fix, if you have already installed and uninstalled the module. Since the configuration has already been created.
In such a case use #2 to manually delete the configuration and then patch the module and reinstall.
Comment #5
mikechr commentedComment #6
mikechr commentedI've removed the enforced dependency added in #4 patch and instead added the configuration as optionalPatch #4 is more ideal since these dependencies are not optional
Comment #8
mikechr commentedComment #9
mikechr commentedComment #11
kevin.dutra commentedMakes sense -- committed. Thanks!