- 🇬🇧United Kingdom rajeevk London
I tried installing this today with DDEV, and just after the installation, I got this error just after the install. I was trying to install the latest "3.2.0-rc1" version to test it locally. It was resolved after running the 'drush cr' once, as mentioned in the previous comment. Thanks
I had this error message when i created a new FiledType.
I chose names for columns in the schema (example: this_is_an_example_schema_column_name) that were too long.
When i wanted to create the field in the backend with name mycustom_options (example: field_mycustom_options) than i got that error.
But when i created the field in the backend with name foo (field_foo) it worked.The reason for that was, that the field name and the column names i chose in my schema were combined in the database as column name.
Example:
- field_mycustom_options_this_is_an_example_schema_column_name
- field_foo_this_is_an_example_schema_column_nameso - the problem was, that the resulting column name was too long for drupals column name restrictions and drupal obviously refused to create the schema with that nice message.
Solution for me was to shorten the column names in my Custom FieldType.