• Resolved voicefeed

    (@voicefeed)


    Hi – we’re testing out a plugin called “ProfileGrid” and NS Cloner is throwing the following error when it’s active:

    “Uh-oh – there was an sql error: Cannot delete or update a parent row: a foreign key constraint fails.”

    Looking in the PHP error log, we also see this error, with more details:

    WordPress database error Cannot delete or update a parent row: a foreign key constraint fails for query DROP TABLE IF EXISTSwp_40_promag_msg_threads made by require_once(‘wp-admin/admin.php’), do_action(‘admin_init’), WP_Hook->do_action, WP_Hook->apply_filters, ns_cloner->admin_init, ns_cloner->process_init, ns_cloner->process, ns_cloner->clone_tables

    • This topic was modified 7 years, 1 month ago by voicefeed.
Viewing 1 replies (of 1 total)
  • Plugin Author Never Settle

    (@neversettle)

    That is a problem with how the other plugin installs it’s own tables and foreign key constraints. The best option is to manually remove the FK constraint(s) and try again.

    Regards,
    NS

Viewing 1 replies (of 1 total)
  • The topic ‘Foreign key error’ is closed to new replies.