PHP Warning: Undefined array key 0 in Automation.php on line 135
-
Hi, when I cancel an order via the admin interface – i get the following error message in my wp-errors.log file with debugging enabled.
It seems that my payment gateway plugin (may) be throwing an error about unsupported used of is_internal_meta_key for internal meta data. Suggesting to use “getters and setters” instead – possibly related?
Backtrace: edit_post, wp_update_post, wp_insert_post, do_action(‘save_post’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Admin_Meta_Boxes->save_meta_boxes, do_action(‘woocommerce_process_shop_order_meta’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Meta_Box_Order_Data::save, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_changed’), WP_Hook->do_action, WP_Hook->apply_filters, Reepay\Checkout\OrderFlow\OrderStatuses->order_status_changed, Reepay\Checkout\Gateways\ReepayGateway->cancel_payment, Reepay\Checkout\Api->cancel_payment, WC_Data->update_meta_data, WC_Data->is_internal_meta_key, wc_doing_it_wrong Se venligst Fejlfinding i WordPress for mere information. (denne meddelelse blev tilf??jet i version 3.2.0). in /var/www/*****-com,/wp-includes/functions.php on line 6031
[01-Mar-2024 00:32:41 UTC] PHP Warning: Undefined array key 0 in /var/www/******-com/wp-content/plugins/shopmagic-for-woocommerce/src/Workflow/Automation/Automation.php on line 135
I’m running the latest version of the plugin. Please see attached Woocommerce status file.
Your help is greatly appreciated!
- The topic ‘PHP Warning: Undefined array key 0 in Automation.php on line 135’ is closed to new replies.