WordPress.org

Ready to get started?Download WordPress

Forums

Add Clone Sites for WPMU (batch)
FIX for "Could not find any sites which could be used as a templates" (1 post)

  1. Parham
    Member
    Posted 1 year ago #

    Hey Frits,

    Here is a fix for the issue which cause the error "Could not find any sites which could be used as a templates", on a multisite setup with multiple blogs.

    In adminpage-add-cloned-sites.php on both lines 15 and 27, replace '$wpdb->prefix' with '$wpdb->base_prefix'. In my case $wpdb->prefix gave the prefix for my third site (wp_3_), but base_prefix always gives you the prefix for the base setup which is wp_.

    Best,
    Parham.

    http://wordpress.org/extend/plugins/add-cloned-sites-for-wpmu-batch/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic