Call to undefined function wc_get_notices()
-
Hello,
I’ve been seeing an error in WP Admin every time Braintree tries to process a subscription payment and fails due to “Fraud Suspected” or “Closed Card”:
An error has occurred while processing a recent subscription related event. For steps on how to fix the affected subscription and to learn more about the possible causes of this error, please read our guide here. Affected event: subscription payment retry for #80756 To see further details about these errors, view the failed-scheduled-actions log file from the WooCommerce logs screen.
Here’s the failed-scheduled-actions log file:
08-09-2023 @ 14:50:59 - scheduled action 342795 (subscription payment retry) failed to finish processing due to the following exception: Call to undefined function wc_get_notices() 08-09-2023 @ 14:50:59 - action args: order_id: 80756
I understand why the card isn’t being charged, but any idea what the error is about? I’m on PHP 8.2 and don’t remember seeing this when on PHP 7.
Thanks!
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Call to undefined function wc_get_notices()’ is closed to new replies.