Title: Errors when clonig
Last modified: August 31, 2016

---

# Errors when clonig

 *  Resolved [nossfloda](https://wordpress.org/support/users/nossfloda/)
 * (@nossfloda)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/errors-when-clonig/)
 * We’ve discussed this before. Can’t you fix it?
 * ( ! ) Notice: Undefined variable: query in D:\work\WP-dev\DesktopServer\wp-dev.
   se.dev\wp-content\plugins\ns-cloner-site-copier\ns-cloner.php on line 453
    Call
   Stack # Time Memory Function Location 1 0.0060 198296 {main}( ) ..\admin.php:
   0 2 0.0060 241904 require_once( ‘D:\work\WP-dev\DesktopServer\wp-dev.se.dev\wp-
   admin\admin.php’ ) ..\admin.php:13 3 0.5600 27386632 do_action( ) ..\admin.php:
   168 4 0.5690 27533856 call_user_func_array:{D:\work\WP-dev\DesktopServer\wp-dev.
   se.dev\wp-includes\plugin.php:525} ( ) ..\plugin.php:525 5 0.5690 27533968 ns_cloner-
   >admin_init( ) ..\plugin.php:525 6 0.6180 27755408 ns_cloner->process_init( )..\
   ns-cloner.php:193 7 0.6240 27757760 ns_cloner->process( ) ..\ns-cloner.php:290
   8 1.2291 28430376 call_user_func:{D:\work\WP-dev\DesktopServer\wp-dev.se.dev\
   wp-content\plugins\ns-cloner-site-copier\ns-cloner.php:351} ( ) ..\ns-cloner.
   php:351 9 1.2291 28431128 ns_cloner->clone_tables( ) ..\ns-cloner.php:351
 * ( ! ) Warning: Cannot modify header information – headers already sent by (output
   started at D:\work\WP-dev\DesktopServer\wp-dev.se.dev\wp-content\plugins\ns-cloner-
   site-copier\ns-cloner.php:453) in D:\work\WP-dev\DesktopServer\wp-dev.se.dev\
   wp-includes\pluggable.php on line 1228
    Call Stack # Time Memory Function Location
   1 0.0060 198296 {main}( ) ..\admin.php:0 2 0.0060 241904 require_once( ‘D:\work\
   WP-dev\DesktopServer\wp-dev.se.dev\wp-admin\admin.php’ ) ..\admin.php:13 3 0.5600
   27386632 do_action( ) ..\admin.php:168 4 0.5690 27533856 call_user_func_array:{
   D:\work\WP-dev\DesktopServer\wp-dev.se.dev\wp-includes\plugin.php:525} ( ) ..\
   plugin.php:525 5 0.5690 27533968 ns_cloner->admin_init( ) ..\plugin.php:525 6
   0.6180 27755408 ns_cloner->process_init( ) ..\ns-cloner.php:193 7 1.8081 28438424
   wp_redirect( ) ..\ns-cloner.php:325 8 1.8091 28445280 header ( ) ..\pluggable.
   php:1228
 * [https://wordpress.org/plugins/ns-cloner-site-copier/](https://wordpress.org/plugins/ns-cloner-site-copier/)

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

 *  [idpokute](https://wordpress.org/support/users/idpokute/)
 * (@idpokute)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/errors-when-clonig/#post-7034891)
 * I have the same error.
    Notice: Undefined variable: query in /var/www/html/wp-
   content/plugins/ns-cloner-site-copier/ns-cloner.php on line 453
 * Warning: Cannot modify header information – headers already sent by (output started
   at /var/www/html/wp-content/plugins/ns-cloner-site-copier/ns-cloner.php:453) 
   in /var/www/html/wp-includes/pluggable.php on line 1228
 * [@kristian](https://wordpress.org/support/users/kristian/) Adolfsson Did you 
   solve the issue?
 *  Thread Starter [nossfloda](https://wordpress.org/support/users/nossfloda/)
 * (@nossfloda)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/errors-when-clonig/#post-7034892)
 * Hi idpokute
    Kind of, they got back to me and told me that even though I see 
   the error everything has been done before the error pops up. I’m using the plugin
   on all my MS and it works.
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/errors-when-clonig/#post-7034893)
 * Hey guys – thanks for your patience on this. Although this issue shouldn’t have
   been preventing the cloner from working, and might only show up when WP_DEBUG
   is on we totally understand it’s annoying / concerning. We just pushed an update
   that adds checking to prevent this notice. Let us know if you still see it after
   updating. Thanks for posting the details!
 *  Thread Starter [nossfloda](https://wordpress.org/support/users/nossfloda/)
 * (@nossfloda)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/errors-when-clonig/#post-7034894)
 * Hi
    Thanks, updated on 2 sites (local and live) and both works without errors.
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/errors-when-clonig/#post-7034895)
 * Excellent! Thanks for the follow-up!

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

The topic ‘Errors when clonig’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [Never Settle](https://wordpress.org/support/users/neversettle/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/errors-when-clonig/#post-7034895)
 * Status: resolved