Forums › Forums › Search & Filter Pro › Can't create tables
- This topic has 5 replies, 3 voices, and was last updated 7 years, 3 months ago by
Trevor.
-
Trevor(Private) November 14, 2017 at 11:52 am #141841
Hi
At what point did this happen for you? When you installed the plugin, or …
This thread might be an indicator of the issue (and maybe the suggestions might help fix it):
https://stackoverflow.com/questions/30761867/mysql-error-the-maximum-column-size-is-767-bytes
It seems like a database configuration issue, which might mean you need to talk with your host.
Anonymous(Private) August 21, 2018 at 1:58 pm #186104I ran into this same issue with Pantheon as my host. Of course they are absolutely not going to change their database settings for one site so I had to seek a different solution.
The only way I could solve this was to change how those two tables are created by adjusting the size of the
VARCHARin theCREATE TABLEfrom255to191. The odds that the data in those fields is that big are pretty slim.Of course it is not ideal to edit the plugin’s code so I am wondering if there is a better way to resolve this?
The lines where that change was made are:
/search-filter/admin/class-search-filter-admin.phplines 1069-1070, 1092-1093
/search-filter/includes/class-search-filter-activator.phplines 83-84, 106-107 -
AuthorPosts