Skip Navigation

[Resolved] Row size too large. The maximum row size for the used table type, not counting..

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Derick 4 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#2034959
Screen Shot 2021-04-28 at 12.21.14 PM.png

I am trying to:
We upgraded WP Toolset to latest version but got the error message:
"Oops! There's been a problem when upgrading Toolset data structures. Please make sure your current configuration allows WordPress to alter database tables.If the problem persists, please don't hesitate to contact our support with this technical information:

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"

Link to a page where the issue can be seen:
hidden link

I expected to see:
We expected to be fine, since we did test upgrade on a UAT environment and we did not encounter this error before

#2035011

Hello,

It is database problem, if you are using Mysql server, you can follow below document to fix your website database:
hidden link

If it is Mariadb server, please check below document:
hidden link

#2035045

Hi Lou,

The error message we see is too vague, we are not sure which table or columns need to update.

Can we get more details on which tables and columns toolset is using?

#2035053

I am not sure which one is the problem database table, please provide your website database dump file in below private message box, you can put the package files in your own google drive disk, share the link only, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2035269

Thanks for the details, I can download the files, will update here if find anything

#2035271
dhl.JPG

I can install the database dump file in my localhost (MySQL 8.0), it works fine, see my screenshot dhl.JPG.

And I have checked the debug information you provided above, you are using mysql 5.5.5, it is lower than the Toolset Server requirements:
https://toolset.com/toolset-requirements/
MySQL 5.6 and above.

You need to upgrade your mysql server to MySQL 5.6 or above, and test again

#2036543
Screen Shot 2021-04-29 at 5.35.03 PM.png

Hi Lou,

Thanks for the reply, but we checked our db and details below, sorry it is MariaDB

Server: Localhost via UNIX socket
Server type: MariaDB
Server connection: SSL is not being used Documentation
Server version: 10.5.9-MariaDB-1:10.5.9+maria~focal - mariadb.org binary distribution
Protocol version: 10

Errors coming from " ALTER TABLE `wp_toolset_relationships`" area

I also attached a sample screenshot of the errors logs we having right now.

#2036553
Screen Shot 2021-04-29 at 5.35.03 PM.png

Hi Lou,

Sorry forgot to mention we are on Kinsta and the db is Mariadb server.

and also we see this error on our logs about " ALTER TABLE `wp_toolset_relationships`"

"PHP message: WordPress database error 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 for query ALTER TABLE `wp_toolset_relationships`
ADD `autodelete_intermediary` TINYINT(1) NOT NULL DEFAULT '1' AFTER `is_active` made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('after_setup_theme'), WP_Hook->do_action, WP_Hook->apply_filters, Types_Main->after_setup_theme, Toolset_Common_Bootstrap::get_instance, Toolset_Common_Bootstrap->__construct, do_action('toolset_common_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, OTGS\Toolset\Common\Upgrade\UpgradeController->check_upgrade, OTGS\Toolset\Common\Upgrade\UpgradeController->do_upgrade, OTGS\Toolset\Common\Upgrade\UpgradeController->process_command, OTGS\Toolset\Common\Upgrade\Command\AddRelationshipTableColumnAut", client: 34.87.248.217, server: lot.dhl.com, request: "GET / HTTP/1.0", host: "lot.dhl.com"

#2037385

Thanks for the details, according to MariaDB document:
hidden link
MariaDB 10.5 should compatible with Mysql 8.0, so I need to test it with with MariaDB database, and will update here if find anything.

#2040345
compacttodynamic.png

Hi Lou,

Just found the fix and solution for it, just need to the Update `wp_toolset_relationships` table row_format from "Compact" to "Dynamic".

Thanks!

#2040355

My issue is resolved now. Thank you!