Support » Plugin: 410 for WordPress » How to fix database errors coming from WP-410

  • Resolved wpmhweb


    I am getting database errors from this plugin:

    [02-Apr-2013 19:42:33] WordPress database error Duplicate entry ‘12345’ for key 1 for query INSERT INTO wp_410_links (gone_key,gone_regex,is_404) VALUES (‘’,’|^http\\://domain\\.com/wp$|i’,’1′) made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, WP_410->check_for_410, WP_410->add_link

    There is any way to fix this?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Samir Shah


    Hi, it looks like your database didn’t upgrade properly when the plugin was last upgraded. I’m trying to figure out why that could have happened and whether I can prevent it.

    In the mean time, if you want to fix it quickly, then it should be fixed by deactivating and uninstalling the plugin and then reinstalling it (make sure you keep a temporary list of your 410 pages).

    Plugin Author Samir Shah


    Having looked into this, I think there is some corruption in your database because the field which it is saying is duplicate should be auto-incremented by the database system (i.e., duplicates should never occur).

    Please uninstall (not just deactivate but uninstall) the plugin and then reinstall it – that should resolve this problem.

    Thank you for the response!

    I just upgraded to the latest update and just in case I deactivated/activate.

    I also have a error log plugin that I just cleared, hopefully it will not show me the error again.


    PS: I’ll wait to see if no error shows up and I will mark this topic as solved.

    So far, so good.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to fix database errors coming from WP-410’ is closed to new replies.