WordPress database error Specified key was too long
-
wp-admin/error.log is reporting the following error: Any help would be appreciated.
[31-Mar-2020 19:05:01 UTC] WordPress database error Specified key was too long; max key length is 767 bytes for query
CREATE TABLE IF NOT EXISTS wp_woocommerce_square_customers (
square_id varchar(200) NOT NULL,
email_address varchar(200) NOT NULL,
user_id BIGINT UNSIGNED NOT NULL,
PRIMARY KEY (square_id)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci made by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘wp_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, SkyVerge\WooCommerce\PluginFramework\v5_4_0\Plugin\Lifecycle->init, WooCommerce\Square\Lifecycle->install, WooCommerce\Square\Gateway\Customer_Helper::create_table, dbDelta
[31-Mar-2020 19:06:43 UTC] WordPress database error Table ‘boxzero_wpbetterness.wp_woocommerce_square_customers’ doesn’t exist for query INSERT INTO wp_woocommerce_square_customers (square_id, email_address) VALUES (‘GNHDW0MSG57MWWM2JAH6PTJSNM’, ”), (‘5173CBSCW53CEPQB6GTWGJ77V4’, ”) ON DUPLICATE KEY UPDATE email_address = VALUES(email_address) made by do_action(‘wp_ajax_as_async_request_queue_runner’), WP_Hook->do_action, WP_Hook->apply_filters, WP_Async_Request->maybe_handle, ActionScheduler_AsyncRequest_QueueRunner->handle, do_action(‘action_scheduler_run_queue’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_Action->execute, do_action_ref_array(‘wc_square_index_customers’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce\Square\Handlers\Connection->index_customers, WooCommerce\Square\Gateway\Customer_Helper::add_customers
[01-Apr-2020 18:34:28 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘_return_true’ not found or invalid function name in /”mysiteinfo”/wp-includes/class-wp-hook.php on line 288The page I need help with: [log in to see the link]
The topic ‘WordPress database error Specified key was too long’ is closed to new replies.