• Resolved diplomatperfume2018

    (@diplomatperfume2018)


    hi. in new version of woo 4 i receive 500 error in gateway when returning to site. and when i want to make a new action i may face to 500 error. it is interesting that howver we see 500 error the action in done correctly. for example the payment of order is completed.
    the time of 500 error the log is:
    [21-Mar-2020 12:33:05 Asia/Tehran] PHP Notice: ???? post_status ??????? ?????? ???????? ??. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_woocommerce_ir_gateway_parsian_new’), WP_Hook->do_action, WP_Hook->apply_filters, Persian_Woocommerce_Gateways->process_payment_verify, WC_Order->add_order_note, do_action(‘woocommerce_new_customer_note’), WP_Hook->do_action, WP_Hook->apply_filters, woo_app_woocommerce_new_customer_note, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong ????? ???? ??????? ?????? ????? ????? ?? ?????? ?? ?????? ????. (??? ???? ?? ????? 3.0 ????? ??? ???) in /home/******/public_html/wp-includes/functions.php on line 4986

    [21-Mar-2020 12:33:05 Asia/Tehran] PHP Notice: ???? discount_total ??????? ?????? ???????? ??. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_woocommerce_ir_gateway_parsian_new’), WP_Hook->do_action, WP_Hook->apply_filters, Persian_Woocommerce_Gateways->process_payment_verify, WC_Order->add_order_note, do_action(‘woocommerce_new_customer_note’), WP_Hook->do_action, WP_Hook->apply_filters, woo_app_woocommerce_new_customer_note, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong ????? ???? ??????? ?????? ????? ????? ?? ?????? ?? ?????? ????. (??? ???? ?? ????? 3.0 ????? ??? ???) in /home/******/public_html/wp-includes/functions.php on line 4986

    [21-Mar-2020 12:33:05 Asia/Tehran] PHP Notice: ???? discount_tax ??????? ?????? ???????? ??. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_woocommerce_ir_gateway_parsian_new’), WP_Hook->do_action, WP_Hook->apply_filters, Persian_Woocommerce_Gateways->process_payment_verify, WC_Order->add_order_note, do_action(‘woocommerce_new_customer_note’), WP_Hook->do_action, WP_Hook->apply_filters, woo_app_woocommerce_new_customer_note, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong ????? ???? ??????? ?????? ????? ????? ?? ?????? ?? ?????? ????. (??? ???? ?? ????? 3.0 ????? ??? ???) in /home/******/public_html/wp-includes/functions.php on line 4986

    [21-Mar-2020 12:33:05 Asia/Tehran] PHP Notice: ???? shipping_total ??????? ?????? ???????? ??. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_woocommerce_ir_gateway_parsian_new’), WP_Hook->do_action, WP_Hook->apply_filters, Persian_Woocommerce_Gateways->process_payment_verify, WC_Order->add_order_note, do_action(‘woocommerce_new_customer_note’), WP_Hook->do_action, WP_Hook->apply_filters, woo_app_woocommerce_new_customer_note, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong ????? ???? ??????? ?????? ????? ????? ?? ?????? ?? ?????? ????. (??? ???? ?? ????? 3.0 ????? ??? ???) in /home/******/public_html/wp-includes/functions.php on line 4986

    [21-Mar-2020 12:33:05 Asia/Tehran] PHP Notice: ???? shipping_tax ??????? ?????? ???????? ??. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_woocommerce_ir_gateway_parsian_new’), WP_Hook->do_action, WP_Hook->apply_filters, Persian_Woocommerce_Gateways->process_payment_verify, WC_Order->add_order_note, do_action(‘woocommerce_new_customer_note’), WP_Hook->do_action, WP_Hook->apply_filters, woo_app_woocommerce_new_customer_note, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong ????? ???? ??????? ?????? ????? ????? ?? ?????? ?? ?????? ????. (??? ???? ?? ????? 3.0 ????? ??? ???) in /home/******/public_html/wp-includes/functions.php on line 4986

    [21-Mar-2020 12:33:05 Asia/Tehran] PHP Notice: ???? cart_tax ??????? ?????? ???????? ??. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_woocommerce_ir_gateway_parsian_new’), WP_Hook->do_action, WP_Hook->apply_filters, Persian_Woocommerce_Gateways->process_payment_verify, WC_Order->add_order_note, do_action(‘woocommerce_new_customer_note’), WP_Hook->do_action, WP_Hook->apply_filters, woo_app_woocommerce_new_customer_note, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong ????? ???? ??????? ?????? ????? ????? ?? ?????? ?? ?????? ????. (??? ???? ?? ????? 3.0 ????? ??? ???) in /home/******/public_html/wp-includes/functions.php on line 4986

    [21-Mar-2020 12:33:05 Asia/Tehran] PHP Notice: ???? total ??????? ?????? ???????? ??. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_woocommerce_ir_gateway_parsian_new’), WP_Hook->do_action, WP_Hook->apply_filters, Persian_Woocommerce_Gateways->process_payment_verify, WC_Order->add_order_note, do_action(‘woocommerce_new_customer_note’), WP_Hook->do_action, WP_Hook->apply_filters, woo_app_woocommerce_new_customer_note, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong ????? ???? ??????? ?????? ????? ????? ?? ?????? ?? ?????? ????. (??? ???? ?? ????? 3.0 ????? ??? ???) in /home/******/public_html/wp-includes/functions.php on line 4986

    [21-Mar-2020 12:33:05 Asia/Tehran] PHP Notice: ???? total_tax ??????? ?????? ???????? ??. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, WC_API->handle_api_requests, do_action(‘woocommerce_api_woocommerce_ir_gateway_parsian_new’), WP_Hook->do_action, WP_Hook->apply_filters, Persian_Woocommerce_Gateways->process_payment_verify, WC_Order->add_order_note, do_action(‘woocommerce_new_customer_note’), WP_Hook->do_action, WP_Hook->apply_filters, woo_app_woocommerce_new_customer_note, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong ????? ???? ??????? ?????? ????? ????? ?? ?????? ?? ?????? ????. (??? ???? ?? ????? 3.0 ????? ??? ???) in /home/******/public_html/wp-includes/functions.php on line 4986

Viewing 2 replies - 1 through 2 (of 2 total)
  • None of what you have listed corresponds with a 500 HTTP response code or PHP fatal error. Those are all PHP notices that are telling you that something on your site is incorrectly accessing object properties. Here’s some documentation: https://docs.woocommerce.com/document/developing-using-woocommerce-crud-objects/

    To properly diagnose and correct the 500 response code, you will want to find the error message associated with it. I would expect that WooCommerce would log those messages. You can find the logs under WooCommerce -> Status -> Logs and then in the dropdown selector, look for any logs where the name begins with fatal-errors, followed by a date/time, followed by random letters/numbers.

    If there is nothing logged there, then you would need to find the server error logs to get the error messages. You may need to contact your host for help with locating those logs.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘500 error in woo 4’ is closed to new replies.