Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can no longer create new fields. Maximum table row size reached error warning. #7221

Closed
riusi88 opened this issue Dec 3, 2020 · 2 comments
Closed
Assignees
Labels

Comments

@riusi88
Copy link

riusi88 commented Dec 3, 2020

We just ran into an issue on one of our large Craft sites, and can no longer create text content fields (with the exception of "number" fields). The following error gets logged.

SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs

Our temporary solution was to modify a mysql config, and set innodb_strict_mode=0, but we're concerned that this won't be a stable fix. We'd appreciate any guidance to resolve this problem any other way, and can provide additional info/db's if requested.

Additional info

  • Craft version: 3.4.30
  • PHP version: 7.1.33
  • Database driver & version: MySQL 5.5.5
@riusi88 riusi88 added the bug label Dec 3, 2020
@angrybrad angrybrad self-assigned this Dec 8, 2020
@angrybrad
Copy link
Member

There are other MySQL config options to help, too: #2009 (comment)

Ultimately, this is a MySQL limitation that you're running into. We hope to lower the chance that people actually hit it with the planned element content refactoring: #1524

@brandonkelly
Copy link
Member

Row size limits are no longer an issue in Craft 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants