• Resolved Kay69

    (@kay69)


    Hello,

    Just updated the plugin then it took over my site! All admin links lead to its admin page!!?

    Managed to deactivate it. Any idea why this happened before I reactivate it?

    Kindly advise.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author priyankajagtap

    (@priyankajagtap)

    Hi @kay69,

    I apologize for the inconvenience caused to you due to our plugin.

    Can you please elaborate more on the issue occurring on your site? It would be great if you can share the screenshot of the issue you are facing so that will help us to know what exactly is happening on your site.

    We tried to replicate the issue you mentioned but everything is working fine at our end after updating the Plugin to its latest v4.4.3. Can you please create a ticket at address ‘support at tychesoftwares dot freshdesk dot com’ with the URL and the admin access of your site, so that we can check the issue on your site?

    Please let us know.

    Regards,
    Priyanka Jagtap

    Hi,

    This exact same thing has happened on my site, although I haven’t managed to deactivate the plugin as literally every single page I click onto in back end just takes me to the plugin welcome page (the one that states: Thank you for activating or updating to the latest version of WooCommerce Print Invoice & Delivery Note! If you’re a first time user, welcome! You’re well on your way to explore the print functionality for your WooCommerce orders.)
    When trying to click any of the buttons on the welcome page, it just reloads the welcome page in a new window. Absolute nightmare, can’t access any of the admin functions of the site. Happened when I tried to update the plugin after updating my wordpress version. Please can anyone advise a fix!

    Thanks!

    Thread Starter Kay69

    (@kay69)

    Hello @icedjems ,

    Just updated the plugin. All is well on the west front.

    Thank you.

    Plugin Author priyankajagtap

    (@priyankajagtap)

    Hi @icedjems and @kay69,

    We tried to replicate this issue multiple times at our end but we could not able to replicate the same.

    However, we have looked into the code and found one reason which can cause such issue. We have created a patch for the same. You will need to replace the below-provided function code on line number 270 to 276 in the file “ts-welcome.php” of our plugin.
    The file is located at <WordPress Installation Directory>/wp-content/plugins/ woocommerce-delivery-notes/includes/component/welcome-page/<HERE>

    The existing code is as below:

    public function ts_update_db_check() {
    
            if ( self::$plugin_version != self::$previous_plugin_version ) {
                delete_option( self::$plugin_prefix . '_pro_welcome_page_shown' );
                delete_option( self::$plugin_prefix . '_pro_welcome_page_shown_time' );
            }
        }

    You will need to replace the below code with the existing code:

    public function ts_update_db_check() {
    
           if ( ( false === self::$plugin_version || false === self::$previous_plugin_version ) &&
                 'yes' == get_option( self::$plugin_prefix . '_pro_welcome_page_shown' )
           ) {
               return;
           }
           
           if ( self::$plugin_version != self::$previous_plugin_version ) {
               delete_option( self::$plugin_prefix . '_pro_welcome_page_shown' );
               delete_option( self::$plugin_prefix . '_pro_welcome_page_shown_time' );
           }
       }

    Please see this screenshot with the patch: https://www.screencast.com/t/GiZlN54OVjB7

    Can you please change the above code and confirm with us whether it is working fine or not? I hope this can help to resolve the issue.

    Please let me know the result. So, we can apply the fix in our plugin’s update. If you still face the same issue then kindly drop us an email on “support at tychesoftwares dot freshdesk dot com”.

    Let me know if you have any further queries.

    Regards,
    Priyanka Jagtap

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin took over my site!’ is closed to new replies.