Support » Plugin: WooCommerce Amazon Pay » PHP Error Log

  • Resolved joyryde

    (@joyryde)


    Are these errors that we should fix somehow?

    [08-Dec-2021 14:31:43 UTC] PHP Notice:  Undefined property: stdClass::$reasonCode in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1818
    [08-Dec-2021 14:31:43 UTC] PHP Notice:  Undefined property: stdClass::$reasons in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1814
    [08-Dec-2021 14:41:57 UTC] PHP Notice:  Undefined property: stdClass::$reasonCode in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1818
    [08-Dec-2021 19:57:04 UTC] PHP Notice:  Undefined property: stdClass::$reasonCode in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1818
    [08-Dec-2021 19:57:04 UTC] PHP Notice:  Undefined property: stdClass::$reasons in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1814
    [09-Dec-2021 06:13:43 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_items() on bool in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php:1574
    Stack trace:
    #0  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php(177): WC_Gateway_Amazon_Payments_Advanced->get_current_cart_action()
    #1  /wp-includes/class-wp-hook.php(303): WC_Gateway_Amazon_Payments_Advanced->scripts('')
    #2  /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3  /wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4  /wp-includes/script-loader.php(2083): do_action('wp_enqueue_scri...')
    #5  /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts('')
    #6  /wp-includ in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1574
    [09-Dec-2021 06:13:59 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_items() on bool in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php:1574
    Stack trace:
    #0  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php(177): WC_Gateway_Amazon_Payments_Advanced->get_current_cart_action()
    #1  /wp-includes/class-wp-hook.php(303): WC_Gateway_Amazon_Payments_Advanced->scripts('')
    #2  /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3  /wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4  /wp-includes/script-loader.php(2083): do_action('wp_enqueue_scri...')
    #5  /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts('')
    #6  /wp-includ in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1574
    [09-Dec-2021 06:14:13 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_items() on bool in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php:1574
    Stack trace:
    #0  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php(177): WC_Gateway_Amazon_Payments_Advanced->get_current_cart_action()
    #1  /wp-includes/class-wp-hook.php(303): WC_Gateway_Amazon_Payments_Advanced->scripts('')
    #2  /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3  /wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4  /wp-includes/script-loader.php(2083): do_action('wp_enqueue_scri...')
    #5  /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts('')
    #6  /wp-includ in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1574
    [09-Dec-2021 06:14:15 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_items() on bool in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php:1574
    Stack trace:
    #0  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php(177): WC_Gateway_Amazon_Payments_Advanced->get_current_cart_action()
    #1  /wp-includes/class-wp-hook.php(303): WC_Gateway_Amazon_Payments_Advanced->scripts('')
    #2  /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3  /wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4  /wp-includes/script-loader.php(2083): do_action('wp_enqueue_scri...')
    #5  /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts('')
    #6  /wp-includ in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1574
    [09-Dec-2021 06:14:15 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_items() on bool in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php:1574
    Stack trace:
    #0  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php(177): WC_Gateway_Amazon_Payments_Advanced->get_current_cart_action()
    #1  /wp-includes/class-wp-hook.php(303): WC_Gateway_Amazon_Payments_Advanced->scripts('')
    #2  /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3  /wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4  /wp-includes/script-loader.php(2083): do_action('wp_enqueue_scri...')
    #5  /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts('')
    #6  /wp-includ in  /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1574
    • This topic was modified 8 months, 1 week ago by joyryde.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Christian

    (@christian1983)

    Hey @joyryde ,

    Hope you are doing well!

    try to check the following link conflict test on a Staging site, could be some plugin or even the Theme you are using. We need to isolate the problem first.

    If you can’t find the issue, please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.
    Please include a link to this forum thread, so that we can keep track of what’s already been done.
    We will be able to help you further there.

    Best,
    Christian

    Plugin Support Christian

    (@christian1983)

    Hey there,

    Since we haven’t heard back from the OP in a while, I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Best,
    Christian

    Thread Starter joyryde

    (@joyryde)

    Hi, Looking at our fatal errors today, it mentions this specific plugin, but we don’t understand what it means:

    2021-12-18T09:18:38+00:00 CRITICAL Uncaught Error: Call to a member function get_items() on bool in /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php:1574
    Stack trace:
    #0 /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php(177): WC_Gateway_Amazon_Payments_Advanced->get_current_cart_action()
    #1 /wp-includes/class-wp-hook.php(303): WC_Gateway_Amazon_Payments_Advanced->scripts('')
    #2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #3 /wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /wp-includes/script-loader.php(2083): do_action('wp_enqueue_scri...')
    #5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts('')
    #6 /wp-includ in /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1574

    Same Problem here! Could it be php8.0? php 7.4 does not seem to have the problem.

    PHP Warning: Undefined property:
    stdClass::$reasonCode in /var/www/de-de/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/class-wc-gateway-amazon-payments-advanced.php on line 1838″ while reading response
    header from upstream

    Plugin Support Christian

    (@christian1983)

    Hey @derpetze @joyryde

    Hope you are doing well!

    We will need steps to reproduce the issue, because we can’t reproduce it with PHP8

    Best,
    Christian

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.