Cloner create_empty_blog deprecated in WP 4.5

Hi,

I'm trying to use your Cloner plugin to clone a site in a MultiSite install on my local dev environment but I'm getting the notice "create_empty_blog is deprecated since version 4.4 with no alternative available".

We're running our current site with the following:
WordPress 4.5.3
Cloner 1.7.2

Is there anything can we do to resolve this as quickly as possible as we need to launch the new site early next week.

Thanks.

  • Sajid
    • DEV MAN’s Sidekick

    Hi Peter,
    Hope you are doing good today :slight_smile:

    Yes I could replicate this issue on my own local site too on a same setup. Its depreciated but not removed completely. That means we can still use this function until it gets removed. This is just notice for developer and I will pass it along so it could be fixed in future versions of this plugin.

    To make it work, what you need to do is set the WP_DEBUG flag to false from true in wp-config.php.

    Open up wp-config.php file, find the following line of code:
    define('WP_DEBUG', true);

    ...and replace it with this one:
    define('WP_DEBUG', false);

    Thanks a lot for bringing it to our attention and have a nice day :slight_smile:

    Best Regards,
    Sajid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.