{"id":12643875,"date":"2020-04-08T07:07:36","date_gmt":"2020-04-08T07:07:36","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/database-error-307\/"},"modified":"2020-04-08T07:07:36","modified_gmt":"2020-04-08T07:07:36","slug":"database-error-307","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/database-error-307\/","title":{"rendered":"database error"},"content":{"rendered":"<p>I was able to install this plugin. However, the following error was output in the Apache log. How can I work around this problem?<\/p>\n<p><em>WordPress database error: Unknown column &#8216;t.name&#8217; in &#8216;where clause&#8217; for query UPDATE <code>wp_ab_testing_for_wp_ab_test<\/code> AS t,<br \/>\n  INNER JOIN <code>wp_posts<\/code> AS p on t.postId = p.ID,<br \/>\n  SET t.title = CONCAT(&#8216;Test &#8220;&#8216;, p.post_title, &#8216;&#8221;&#8216;),<br \/>\n  WHERE t.name IS NULL made by require_once(&#8216;wp-admin\/admin.php&#8217;), require_once(&#8216;wp-load.php&#8217;), require_once(&#8216;wp-config.php&#8217;), require_once(&#8216;wp-settings.php&#8217;), do_action(&#8216;init&#8217;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, ABTestingForWP\\\\Installer-&gt;runMigrations,<\/p>\n<p>WordPress database error: Specified key was too long; max key length is 767 bytes for query CREATE TABLE IF NOT EXISTS <code>wp_ab_testing_for_wp_variant_condition<\/code> (,<br \/>\n      <code>variantId<\/code> varchar(32) NOT NULL DEFAULT &#8221;,,<br \/>\n      <code>key<\/code> varchar(255) NOT NULL DEFAULT &#8221;,,<br \/>\n      <code>value<\/code> varchar(255) NOT NULL DEFAULT &#8221;,,<br \/>\n      PRIMARY KEY (<code>variantId<\/code>, <code>key<\/code>, <code>value<\/code>),<br \/>\n  ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; made by require_once(&#8216;wp-admin\/admin.php&#8217;), require_once(&#8216;wp-load.php&#8217;), require_once(&#8216;wp-config.php&#8217;), require_once(&#8216;wp-settings.php&#8217;), do_action(&#8216;init&#8217;), WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, ABTestingForWP\\\\Installer-&gt;runMigrations,<\/em><\/p>\n","protected":false},"template":"","class_list":["post-12643875","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12643875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12643875\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12643875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}