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