Programmatic cloning sometimes does not complete
-
I’ve been using NS Cloner successfully for some time now using the admin interface, but I now need to start the cloning process programmatically. I used the code example at https://support.neversettle.it/article/22-how-to-call-ns-cloner-to-copy-sites-from-other-plugins which sometimes works, but a lot of the time doesn’t complete. The three outcomes I have so far identified are either a successful clone, a new, empty site or no site at all. If I open the admin interface then the cloning dialog pops up and sometimes that will complete the cloning process. Obviously this is no good. I need the cloning process to complete automatically.
Is there a way to trigger whatever processes run when the admin interface dialog pops up porogrammatically so that the process can complete without any human intervention?
The topic ‘Programmatic cloning sometimes does not complete’ is closed to new replies.