Hi, thank you for your message, I did not see it !
It is caused by mysql interpreting the ‘_’ characters in our queries as “any character” so we need to escape them before looking for tables to copy.
If you want to add the patch manually, just add :
$from_site_prefix = str_replace('_', '\\_', $from_site_prefix);
line 46 in file lib/data.php and it should be ok.
Or you can wait that I publish this patch in the next version 1.2.0 in a few days.
Best Regards
Pierre
Just confirming, do i add above code before Get sources Tables comment ?
Yes, that’s it.
Here you can see what I made :
https://github.com/pierre-dargham/multisite-clone-duplicator/blob/master/lib/data.php#L47
I have not yet publish it on ww.wp.xz.cn, i need to run a few more tests.
Can you confirm me that it solved your problem ?
Thank you,
Best Regards
Pierre
Can you give me two days, because for testing i have to startup for multisite, because my previous database is stop responding to me because of huge amount of tables i.e. above 95000. So i am starting it for Cloning on tomorrow.
Thankyou so much for your instant help. It seems like it will solve my problem.
Best Regards
Aliasger Sabunwala
Hello sir,
You work like charm sir…
I have checked the issue, now my problem has been solved.
Thankyou once again sir for helping me instantly.
Best Regards
Aliasger Sabunwala
Hi !
I just released the last version 1.2.0 of the plugin, which includes this patch.
Thank you for the 5-stars 😉
Best regards,
Pierre
Thanks to you also sir to solve this problem instantly sir.
Best Regards
Aliasger Sabunwala