Hi @creativeround,
Thanks for contacting us!
I’m afraid I can’t reproduce this issue. The function you’re talking about won’t produce any error because the $existing_invoice_number variable uses get_post_meta() function, which will return empty string when the value is not found. This means that $existing_invoice_number will always have value set to it (even though it’s just an empty string).
Are you using a modified version of the plugin? Because I can see that we have the mentioned function in line 207, not 213. Maybe you have a custom code that produces that error message? In this case, could you please try our released version instead?
If you have used our released version and still have the issue, could you please let me know the steps to reproduce it?
Also, could you please let me know the PHP version you have? I’m using PHP 7.0, right now.
Thanks,
Okky
Hi @creativeround,
Thanks for the reply!
I’ve tested it again with PHP 7.1.4, and still can’t reproduce the issue. Could you please make sure that you are not using the modified version of Invoice Gateway For WooCommerce? Could you please let me know the steps to reproduce the issue?
It seems you also contacted us via email. In this case, I’ll close this topic and we can move the discussion via email instead.
Thanks,
Okky