You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a duplicate FulltextSearch::enable() in your site or any of your module, it generates the below error on dev/build:
Uncaught SilverStripe\ORM\Connect\DatabaseException: Couldn't run query: ALTER TABLE "File" DROP INDEX "SearchFields", ADD fulltext "SearchFields" ("Name","Title","Name","Title") 42S21-1060: Duplicate column name 'Name'
The text was updated successfully, but these errors were encountered:
Batsis12
changed the title
Having accidental duplicate FulltextSearch::enable() create an error
Having accidental duplicate FulltextSearch::enable() creates an error
Oct 19, 2022
Yes @Batsis12 this is a known problem. I never did anything about this as I thought its straightforward for the module to call FulltextSearch::enable(). But it'd be good to check whether any other module or the app had called it before the module doing it. Would you want to send a patch for that?
If you have a duplicate
FulltextSearch::enable()
in your site or any of your module, it generates the below error on dev/build:Uncaught SilverStripe\ORM\Connect\DatabaseException: Couldn't run query: ALTER TABLE "File" DROP INDEX "SearchFields", ADD fulltext "SearchFields" ("Name","Title","Name","Title") 42S21-1060: Duplicate column name 'Name'
The text was updated successfully, but these errors were encountered: