Quantcast
Channel: Topic Tag: Database Error | WordPress.org
Viewing all articles
Browse latest Browse all 631

Too many keys specified; max 64 keys allowed

$
0
0

Hello,

I’m using your plugin in wordpress multisite, but this plugin is generating a database error in the following query:
ALTER TABLE wp_sp_email_logs CHANGE COLUMNidid SERIAL

Error Code: 1069
Error Message: Too many keys specified; max 64 keys allowed.

The Call Stack is:


    do_action('plugins_loaded')
    wp-includes/plugin.php:453
    WPSparkPost\SparkPost->db_update_check()
    wp-content/plugins/sparkpost/sparkpost.class.php:89
    WPSparkPost\SparkPost->install_db()
    wp-content/plugins/sparkpost/sparkpost.class.php:83
    WPSparkPost\SparkPost->install_email_log_table()
    wp-content/plugins/sparkpost/sparkpost.class.php:75

I think this is happening because you’re calling the install_db function on plugins_loaded hook, and creating the table again and again.
add_action('plugins_loaded', array($this, 'db_update_check'));

Please resolve this issue ASAP, this is causing slowdown to my site by creating errors in huge number.

Thanks


Viewing all articles
Browse latest Browse all 631

Trending Articles