Support » Plugin: WooCommerce » 500 error in woo 4

  • 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)
  • Plugin Support wbrubaker.a11n

    (@wbrubaker)

    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.

    Plugin Support wbrubaker.a11n

    (@wbrubaker)

    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.