Describe the Bug
WooCommerce PayPal Payments 4.0.3 displays an error when opening a variable product page, which in previous versions was still being generated in the code but was hidden as a WooCommerce notice (not shown to the user).
To Reproduce
- Plugins:
- WooCommerce 10.7.0
- WooPayments 10.7.1
- WooCommerce PayPal Payments 4.0.3
- Enable the PayPal payment gateway.
- Create a variable product with at least two options
- Open the product page on the frontend - an error will appear
Screenshots
It is triggered in every version of WooCommerce PayPal Payments 4.0.x that I tested.
It triggers execution of the code that produces this exception (which is later converted into a WooCommerce notice).
Expected Behavior
- Not generating the notice or hiding it.
Actual Behavior
- The notice is generated, but in previous versions it was being hidden.
Environment
Plugins:
- WooCommerce 10.7.0
- WooPayments 10.7.1
- WooCommerce PayPal Payments 4.0.3
Additional Details
I can see that between 4.0.2 and 4.0.3 you modified something in the notification hiding system - it’s likely that this is why it stopped working for this case.
Describe the Bug
WooCommerce PayPal Payments 4.0.3 displays an error when opening a variable product page, which in previous versions was still being generated in the code but was hidden as a WooCommerce notice (not shown to the user).
To Reproduce
Screenshots
It is triggered in every version of WooCommerce PayPal Payments 4.0.x that I tested.
It triggers execution of the code that produces this exception (which is later converted into a WooCommerce notice).
Expected Behavior
Actual Behavior
Environment
Plugins:
Additional Details
I can see that between 4.0.2 and 4.0.3 you modified something in the notification hiding system - it’s likely that this is why it stopped working for this case.