PHP Notice: Trying to get property ‘total’ of non-object
-
Hoi,
Ik wil graag melding maken van een PHP notice welke dagelijks zeer veel optreedt in mijn PHP errorlog, zie onderstaande. Kunnen jullie deze fixen in de volgende versie? Alvast bedankt.
Woocommerce 4.6.2
Woocommerce Sisow Payment Methods 5.5.3Notice: Trying to get property 'total' of non-object in /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php on line 268
Stack Trace
1. WC_Payment_Gateway->get_order_total() /wp-content/plugins/woocommerce-paynl-payment-methods/includes/classes/Pay/Gateway/Abstract.php:234 2. Pay_Gateway_Abstract->is_available() /wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:151 3. WC_Payment_Gateways->get_available_payment_gateways() /wp-content/plugins/sisow-for-woocommerce/woocommerce-payment-sisow.php:41 4. order_status_changed(109194, 'processing', 'processing-ext') /wp-includes/class-wp-hook.php:289 5. WP_Hook->apply_filters(null, Array(4)) /wp-includes/class-wp-hook.php:311 6. WP_Hook->do_action(Array(4)) /wp-includes/plugin.php:478 7. do_action('woocommerce_order_stat...', 109194, 'processing', 'processing-ext', WC_Order) /wp-content/plugins/woocommerce/includes/class-wc-order.php:373 8. WC_Order->status_transition() /wp-content/plugins/woocommerce/includes/class-wc-order.php:221 9. WC_Order->save() /wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php:622 10. WC_Meta_Box_Order_Data::save(109194) /wp-includes/class-wp-hook.php:289 11. WP_Hook->apply_filters(null, Array(2)) /wp-includes/class-wp-hook.php:311 12. WP_Hook->do_action(Array(2)) /wp-includes/plugin.php:478 13. do_action('woocommerce_process_sh...', 109194, WP_Post) /wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php:220 14. WC_Admin_Meta_Boxes->save_meta_boxes(109194, WP_Post) /wp-includes/class-wp-hook.php:289 15. WP_Hook->apply_filters(null, Array(3)) /wp-includes/class-wp-hook.php:311 16. WP_Hook->do_action(Array(3)) /wp-includes/plugin.php:478 17. do_action('save_post', 109194, WP_Post, true) /wp-includes/post.php:4260 18. wp_insert_post(Array(112), false) /wp-includes/post.php:4354 19. wp_update_post(Array(110)) /wp-admin/includes/post.php:419 20. edit_post() /wp-admin/post.php:227
Context
URL : /wp-admin/post.php Referer : /wp-admin/post.php?action=edit&post=112394 HTTP Method : POST HTTP Status : 200 isSSL : Yes Current Filter : save_post, woocommerce_process_shop_order_meta, woocommerce_order_status_changed PHP SAPI : fpm-fcgi
- The topic ‘PHP Notice: Trying to get property ‘total’ of non-object’ is closed to new replies.