Title: Source dropdown blank
Last modified: August 21, 2016

---

# Source dropdown blank

 *  Resolved [msrebuildings](https://wordpress.org/support/users/msrebuildings/)
 * (@msrebuildings)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/source-dropdown-blank/)
 * I’ve installed and network-activated the plugin, but when I go to select the 
   cloning mode and source, the dropdown of available sources is blank (no items).
   The network currently has ~10 sites, mostly on subdomains.
 * [https://wordpress.org/plugins/ns-cloner-site-copier/](https://wordpress.org/plugins/ns-cloner-site-copier/)

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

 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140046)
 * Interesting issue! The NS Cloner is using WP’s built in wp_get_sites() function
   to retrieve and display a list of available sources – can you try adding a test.
   php file in your root directory with the following code:
 *     ```
       require 'wp-load.php';
       print_r( wp_get_sites() );
       ```
   
 * Then try loading that test.php in the browser and see if it outputs that ~10 
   sites as expected? That way we can narrow it down to a Cloner display issue or
   a WP issue (maybe another plugin is filtering that result, etc.)
 *  Thread Starter [msrebuildings](https://wordpress.org/support/users/msrebuildings/)
 * (@msrebuildings)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140154)
 * Hi – thanks for the quick reply. We never got round to testing this as we found
   that at some point one of our team had made a small change to WP core, which 
   we reverted and it worked after.
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140161)
 * Great, glad to here it was an easy fix!
 *  [Joel Bernerman](https://wordpress.org/support/users/yo-l1982/)
 * (@yo-l1982)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140240)
 * Hi, you should change the version compability on the front page of this plugin.
   
   wp_get_sites() was implemented in wp 3.7
 *  [Joel Bernerman](https://wordpress.org/support/users/yo-l1982/)
 * (@yo-l1982)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140241)
 * Or even better implement a fallback for older wp-versions.
    Something like this…
 *     ```
       if (!function_exists('wp_get_sites')) {
         $sites = get_blog_list(0, 'all');
       }
       else {
         $sites = wp_get_sites($args);
       }
       ```
   
 * I know get_blog_list is deprecated but it only because of performance reasons
   and performance might not be of any matter when doing this kind of tasks.
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140242)
 * Ah, great catch – thank you. We have an update coming out soon and we’ll squeeze
   in that change (or min version update).
 *  [sfdjraj](https://wordpress.org/support/users/sfdjraj/)
 * (@sfdjraj)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140251)
 * I have the same issue –
 * “when I go to select the cloning mode and source, the dropdown of available sources
   is blank (no items)”
 * I’m running wp3.5 and have updated to latest NS Cloner 3.0.3.1
 * If yo-l1982’s code will do the trick, where do I put that in?
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140252)
 * Quickly looking through our code and dependent add-ons it looks like there are
   several places you’d have to modify. If you can hang tight, we’re wrapping up
   an update that implements [@yo-l1982](https://wordpress.org/support/users/yo-l1982/)’
   s suggestion across the boards and should have it out in a day or two.
 * Thanks for your patience!
 *  [sfdjraj](https://wordpress.org/support/users/sfdjraj/)
 * (@sfdjraj)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140253)
 * Sounds Great, Thank you!
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140254)
 * Just wanted to follow up and let you know that we released this update a couple
   days ago with lots of other goodies in there too. Check out the changelog for
   details.
 * Best!
    NS

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

The topic ‘Source dropdown blank’ 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/)

## Tags

 * [Blank](https://wordpress.org/support/topic-tag/blank/)

 * 10 replies
 * 4 participants
 * Last reply from: [Never Settle](https://wordpress.org/support/users/neversettle/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/source-dropdown-blank/#post-5140254)
 * Status: resolved