Title: Wrong email replace
Last modified: December 8, 2023

---

# Wrong email replace

 *  [Yuri Baranov](https://wordpress.org/support/users/yhunter/)
 * (@yhunter)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wrong-email-replace/)
 * Hi. After cloning a site, fatal errors in WooCommece plugin due to incorrect 
   replacement of email addresses.
 * The administrative email and Woo email templates address changes to something
   like this: _[mail@domain.com](https://wordpress.org/support/topic/wrong-email-replace/mail@domain.com?output_format=md)/
   newsite/ _

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

 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wrong-email-replace/#post-17263860)
 * What is the fatal error?
 *  Thread Starter [Yuri Baranov](https://wordpress.org/support/users/yhunter/)
 * (@yhunter)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wrong-email-replace/#post-17263958)
 * “Fatal error: Uncaught WC_Data_Exception: Invalid billing email address” and 
   some others similar errors. Actually all emails on new site including the Administration
   Email Address were broken.
 * I needed to replace all email addresses in the DB from “mail@domain.com/newsite/”
   back to “mail@domain.com” manual.
 *  Thread Starter [Yuri Baranov](https://wordpress.org/support/users/yhunter/)
 * (@yhunter)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/wrong-email-replace/#post-17263962)
 * I mean, your plugin, when cloning a site, does a search and replacement of the
   site url. But please do not do this for email addresses if the new site is in
   a subdirectory.

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

The topic ‘Wrong email replace’ is closed to new replies.

 * ![](https://ps.w.org/ns-cloner-site-copier/assets/icon-256x256.gif?rev=2323308)
 * [NS Cloner - Site Copier](https://wordpress.org/plugins/ns-cloner-site-copier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ns-cloner-site-copier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ns-cloner-site-copier/)
 * [Active Topics](https://wordpress.org/support/plugin/ns-cloner-site-copier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ns-cloner-site-copier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ns-cloner-site-copier/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Yuri Baranov](https://wordpress.org/support/users/yhunter/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/wrong-email-replace/#post-17263962)
 * Status: not resolved