Ошибка php в логах
-
Добрый день, в логах присутствует ошибка php связанная с методом оплаты
2020/02/27 18:09:31 [error] 14889#14889: *8653 FastCGI sent in stderr: "PHP message: id was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_ROBOKASSA->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: order_key was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, WC_ROBOKASSA->process_payment, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.PHP message: The woocommerce_get_page_id function is deprecated since version 3.0. Replace with wc_get_page_id.PHP message: The wc_get_page_id argument is deprecated since version 2.1. The "pay" and "thanks" pages are no-longer used - an endpoint is added to the checkout instead. To get a valid link use the WC_Order::get_checkout_payment_url() or WC_Order::get_checkout_order_received_url() methods instead" while reading response header from upstream, client: 79.165.66.130, server: xxx.com, request: "POST /?wc-ajax=checkout HTTP/1.1", upstream: "fastcgi://unix:/var/www/php-fpm/www-root.sock:", host: "xxx.com", referrer: "https://xxx.com/checkout-2/"
- The topic ‘Ошибка php в логах’ is closed to new replies.