• Resolved mariusandersen

    (@mariusandersen)


    There is an important bug when using Easy Digital Downloads Pro that causes an error “The link you followed has expired.” when I try to duplicate a normal Woocommerce product (not EDD Download). I have testet it on two different sites with only Woocommerce (core) and EDD Pro activated.

    I contacted EDD and got this answer back: “If you are using WooCommerce you will need to reach out to the WooCommerce developers for assistance with their plugin.”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mariusandersen

    (@mariusandersen)

    Quick fix:

    The file you need to change is /easy-digital-downloads-pro/src/Pro/Admin/Duplicator/Worker.php

    On lines 43 and 44 you should have this now:
    check_admin_referer( “edd-duplicate-product_{$id}” ); $post = $this->get_product_to_duplicate( $id );

    Change those 2 lines with the one below then save the file:
    $post = $this->get_product_to_duplicate( $id ); if ( ‘download’ !== $post->post_type ) { return; } check_admin_referer( “edd-duplicate-product_{$id}” );

    Hi @mariusandersen

    Thanks for reaching out!

    I understand that you are using the third-party plugin Easy Digital Downloads Pro here which causes the error The link you followed has expired when trying to duplicate a normal WooCommerce product (not EDD Download).

    Since you are using a third-party plugin that we don’t provide support for based on our Support Policy, I recommend that you reach out to the developers of the plugin for further assistance. They will be better equipped to help you resolve any issues you’re experiencing with the plugin..

    https://codecanyon.net/item/easy-digital-downloads-points-and-rewards/20786389/support

    All the best and hopefully, the issue will be fixed soon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Easy digital download bug when trying to duplicate a product’ is closed to new replies.