• Resolved yossi123

    (@yossi123)


    I saw that message
    Hi, i have multisite network and the plugin not work on my website. Its activate but i cant see the duplicate button …
    For me it does not work either
    I could not understand what was written there
    I would be happy if you could write the solution explicitly

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jamie Gill

    (@patchgill)

    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

    Thread Starter yossi123

    (@yossi123)

    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

    Plugin Author Jamie Gill

    (@patchgill)

    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

    Thread Starter yossi123

    (@yossi123)

    Hey Jamie
    Wow! it worked!
    I probably did not copy the code correctly
    Thank you!

    Plugin Author Jamie Gill

    (@patchgill)

    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

    Plugin Author Jamie Gill

    (@patchgill)

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘wc mu not working’ is closed to new replies.