Title: error on import
Last modified: August 31, 2016

---

# error on import

 *  Resolved [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/)
 * I am unable to import subscriptions from Subscribe to Comments Reloaded. I get
   the following error:
 * Fatal error: Uncaught exception ‘Exception’ with message ‘Insert/replace failure.’
   in /home3/little/public_html/wp-content/plugins/comment-mail/includes/classes/
   sub-inserter.php:698 Stack trace: #0 /home3/little/public_html/wp-content/plugins/
   comment-mail/includes/classes/sub-inserter.php(672): comment_mail\sub_inserter-
   >insert() #1 /home3/little/public_html/wp-content/plugins/comment-mail/includes/
   classes/sub-inserter.php(456): comment_mail\sub_inserter->maybe_insert_update()#
   2 /home3/little/public_html/wp-content/plugins/comment-mail/includes/classes/
   import-stcr.php(262): comment_mail\sub_inserter->__construct(Array) #3 /home3/
   little/public_html/wp-content/plugins/comment-mail/includes/classes/import-stcr.
   php(184): comment_mail\import_stcr->maybe_import_sub(117, Object(stdClass)) #
   4 /home3/little/public_html/wp-content/plugins/comment-mail/includes/classes/
   import-stcr.php(144): comment_mail\import_stcr->maybe_import_post(117) #5 /home3/
   little/public_html/wp-content/plugins/comment-mail/includes/classes/import-stcr.
   php( in /home3/little/public_html/wp-content/plugins/comment-mail/includes/classes/
   sub-inserter.php on line 698
 * Please advise!
 * [https://wordpress.org/plugins/comment-mail/](https://wordpress.org/plugins/comment-mail/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [Israel Barragan](https://wordpress.org/support/users/reedyseth/)
 * (@reedyseth)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136021)
 * Hello [@gretchen](https://wordpress.org/support/users/gretchen/),
 * Do you know if your current Database User has Insert Privileges ?, Also if you
   purchase the plugin you can open a ticket on comment mail:
 * [https://www.websharks-inc.com/support/?product=comment-mail](https://www.websharks-inc.com/support/?product=comment-mail)
 * Regards.!!
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136024)
 * [@gretchenlouise](https://wordpress.org/support/users/gretchenlouise/) Can you
   tell us which version Comment Mail you’re using and which version Subscribe to
   Comments Reloaded you have installed? I’d like to run a few tests against both
   of those versions to see if there might be a bug in the importer.
 *  Thread Starter [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136029)
 * [@raam](https://wordpress.org/support/users/raam/), I’m using Comment Mail Version
   160213 and Subscribe to Comments Reloaded Version 150611. The latest version 
   of STCR breaks the site, so I had to download a previous version, per another
   support thread I saw.
 * [@reedyseth](https://wordpress.org/support/users/reedyseth/), I don’t know that,
   unfortunately. But I would assume so, as it’s an Admin WP user. I’ll do some 
   digging.
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136032)
 * [@gretchenlouise](https://wordpress.org/support/users/gretchenlouise/) Do you
   have anything inside `wp-content/plugins/comment-mail/stcr-import-failures.log`?
 *  Thread Starter [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136034)
 * [@raam](https://wordpress.org/support/users/raam/), yes, actually, I do. It’s
   a lot of lines with entries like these (I removed email addresses). Is it possible
   that it has all already beeen imported? How can I tell?
 * Skipping this subscription
    note: A Replies Only (R) subscription already exists
   for this Post ID; see [http://bit.ly/1RqXCyD](http://bit.ly/1RqXCyD) email: status:
   R post_id: 5
 * Failed to import Replies Only (R) subscription
    note: Associated comment has 
   been deleted, trashed, or marked as spam post_id: 10 email:
 * Failed to import Replies Only (R) subscription
    note: Associated comment has 
   been deleted, trashed, or marked as spam post_id: 11
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136040)
 * [@gretchenlouise](https://wordpress.org/support/users/gretchenlouise/) Well, 
   it’s possible subscriptions have been imported (if so, they should show up in**
   Dashboard → Comment Mail → Subscriptions**). However, the “Insert/replace failure.”
   error is a bit worrying and would indicate to me that even if subscriptions _were_
   imported, they might not have _all_ been imported.
 * My first thought when I saw those errors and heard this was related to an StCR
   import from an older version of StCR, which you downgraded to because of having
   issues with a newer version of StCR, was that the Comment Mail import failure
   could be related to a corruption of your StCR database in some way. If that’s
   the case, fixing this isn’t going to be easy.
 * Do you have a large number of StCR subscriptions or would you be able to cross-
   reference the StCR subscriptions list with the subscriptions imported by Comment
   Mail (if any)?
 *  Thread Starter [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136046)
 * There are 696 subscriptions in STCR. But none of them show in Comment Mail. And
   they all originally came from Comment Reply Notification. I was using STCR to
   get them from Comment Reply to Comment Mail… So right now, there are zero in 
   Comment Mail. We can stick with STCR but it just is scary that we can’t update
   the plugin without the whole site going down due to a STCR error.
 *  [Israel Barragan](https://wordpress.org/support/users/reedyseth/)
 * (@reedyseth)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136047)
 * > We can stick with STCR but it just is scary that we can’t update the plugin
   > without the whole site going down due to a STCR error.
 * [@gretchenlouise](https://wordpress.org/support/users/gretchenlouise/)
 * That error that you describe is because of your PHP version is lower thatn 5.4.
   x
 * [@raamdev](https://wordpress.org/support/users/raamdev/)
 * Her error could be issues with PHP version as well ?
 *  Thread Starter [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136050)
 * You know what, I realized that I hadn’t tried updating Subscribe to Comments 
   Reloaded since we had taken care of our PHP version. So, I updated STCR and it’s
   all working fine. However, the Comment Mail import still gives me the same failure
   notices.
 * I can just leave STCR for now unless I can help troubleshoot the Insert/replace
   failure.
 * Thank you!
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136053)
 * [@gretchenlouise](https://wordpress.org/support/users/gretchenlouise/) I’m glad
   to hear you got StCR working again. 🙂
 * The only thing I can suggest trying for Comment Mail is to deactivate the plugin
   deletion safeguards in **Comment Mail → Config. Options → Data Safeguards**, 
   and then deactivate and delete the plugin (that will wipe away any Comment Mail
   configuration, including from the database). Then you could try reinstalling 
   Comment Mail and running the import again.
 * If you still receive errors, then the only other thing that would help us would
   be a copy of your StCR database, so that we can run an import in our development
   environment and attempt to debug the issue from there. If you’d like to help 
   us with that, please email me privately at raam at websharks-inc dot com. If 
   not, no worries at all. 🙂
 *  Thread Starter [Gretchen Louise](https://wordpress.org/support/users/gretchenlouise/)
 * (@gretchenlouise)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136055)
 * Deleting the plugin and all its options and reinstalling worked perfectly. Thank
   you!
 *  [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * (@raamdev)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136061)
 * [@gretchenlouise](https://wordpress.org/support/users/gretchenlouise/) Awesome!
   That’s great to hear. 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘error on import’ is closed to new replies.

 * ![](https://ps.w.org/comment-mail/assets/icon-256x256.png?rev=1210411)
 * [Comment Mail](https://wordpress.org/plugins/comment-mail/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comment-mail/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comment-mail/)
 * [Active Topics](https://wordpress.org/support/plugin/comment-mail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comment-mail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comment-mail/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [Raam Dev](https://wordpress.org/support/users/raamdev/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/error-on-import-2/#post-7136061)
 * Status: resolved