• Resolved Erik Molenaar

    (@erikmolenaar)


    Hoi,

    Ik wil graag melding maken van een PHP notice welke dagelijks veelvuldig optreedt in mijn PHP errorlog, zie onderstaande. Kunnen jullie deze fixen in de volgende versie? Alvast bedankt.

    Notice: 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.  order_status_changed(110501, 'processing', 'processing-ext')
        /wp-includes/class-wp-hook.php:289
    4.  WP_Hook->apply_filters(null, Array(4))
        /wp-includes/class-wp-hook.php:311
    5.  WP_Hook->do_action(Array(4))
        /wp-includes/plugin.php:478
    6.  do_action('woocommerce_order_stat...', 110501, 'processing', 'processing-ext', WC_Order)
        /wp-content/plugins/woocommerce/includes/class-wc-order.php:373
    7.  WC_Order->status_transition()
        /wp-content/plugins/woocommerce/includes/class-wc-order.php:221
    8.  WC_Order->save()
        /wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php:622
    9.  WC_Meta_Box_Order_Data::save(110501)
        /wp-includes/class-wp-hook.php:289
    10. WP_Hook->apply_filters(null, Array(2))
        /wp-includes/class-wp-hook.php:311
    11. WP_Hook->do_action(Array(2))
        /wp-includes/plugin.php:478
    12. do_action('woocommerce_process_sh...', 110501, WP_Post)
        /wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php:220
    13. WC_Admin_Meta_Boxes->save_meta_boxes(110501, WP_Post)
        /wp-includes/class-wp-hook.php:289
    14. WP_Hook->apply_filters(null, Array(3))
        /wp-includes/class-wp-hook.php:311
    15. WP_Hook->do_action(Array(3))
        /wp-includes/plugin.php:478
    16. do_action('save_post', 110501, WP_Post, true)
        /wp-includes/post.php:4260
    17. wp_insert_post(Array(112), false)
        /wp-includes/post.php:4354
    18. wp_update_post(Array(110))
        /wp-admin/includes/post.php:419
    19. edit_post()
        /wp-admin/post.php:227

    Context

    URL            : /wp-admin/post.php
    Referer        : /wp-admin/post.php?action=edit&post=110501
    HTTP Method    : POST
    HTTP Status    : 200
    isSSL          : Yes
    Current Filter : save_post, woocommerce_process_shop_order_meta, woocommerce_order_status_changed
    Execution Time : 3.080 s
    Memory Usage   : 114.71 MiB
    PHP SAPI       : fpm-fcgi
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Notice: Trying to get property ‘total’ of non-object’ is closed to new replies.