On line 20 in the route plugin file wc-duplicate-order.php replace the whole line :-
if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
with :-
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
if (is_plugin_active( 'woocommerce/woocommerce.php')){
That should resolve the issue with the Multisite for you.
Cheers
J
Hey thank you very much for the response!
I tried I get this error
The extension was turned off because the changes caused a serious error.
Parse error: syntax error, unexpected ‘&’ in /home/public_html/wp-content/plugins/wc-duplicate-order/wc-duplicate-order.php on line 20
Hi Yossi,
This suggests there was an ampersand in your code on line 20 however the code above does not contain an ampersand did you take out and replace as pasted above?
As mentioned I have tested this and it works fine.
Cheers
J
Hey Jamie
Wow! it worked!
I probably did not copy the code correctly
Thank you!
Awesome glad it worked dude!
Hi Jamie,
We had the same issue. I copied the codes and still not working.
When I clicked the duplicate link, I redirected to blank page, HTTP ERROR 500.
Looking forward to hearing from you.
Warmest,
Vanthumbling
Hi Vanthumbling,
I cannot replicate the issue my end a 500 error is normally a server issue or a fatal error which I do not get this end.
Are WordPress and Woocommerce fully up to date? Also can you turn on WordPress config debug as this may display an error that may help debug the issue if there is a conflict somewhere.
Many Thanks
Jamie