Cielo Error
-
When I finalized the buy apear this error, so it is a error on woocommerce or Cielo plugin?
https://codex.wordpres%20in%20<b>/home/escolaedti/public_html/wp-includes/functions.php</b>%20on%20line%20<b>4139</b><br%20/><br%20/><b>Notice</b>:%20%20WC_Order_Item_Meta::__construct%20está%20obsoleto%20desde%20a%20versão%203.1!%20Use%20WC_Order_Item_Product%20em%20seu%20lugar.%20in%20<b>/home/escolaedti/public_html/wp-includes/functions.php</b>%20on%20line%20<b>3831</b><br%20/>%0A<form%20action=
-
this is a link to the print screen.
http://www.escolaedti.com.br/wp-content/uploads/2017/08/Captura-de-Tela-2017-08-14-às-08.52.11.png
it say that WC_Order_Item_Meta::_construct is obsolete since version 203.1! Use WC_Order_item_Product in the place.
and pass the place:
/home/escolaedti/public_html/wp-includes/functions.phpso how can I fixed this?
my Enfold version is 3.6.1. should be a non update theme? ou something that I have to change in the code of the plugin?
when I made this change:
/*class WC_Order_Item_Meta {*/class WC_Order_Item_Product
on woocommerce/includes/class-wc-order-item-meta.php
I can see the page without redirection, and the page show me this:
Notice: id foi chamada incorretamente. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/enfold/page.php’), get_template_part, locate_template, load_template, require(‘/themes/enfold/includes/loop-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, do_action(‘woocommerce_receipt_checkout-cielo’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Checkout_Cielo_Gateway->receipt_page, WC_Checkout_Cielo_Gateway->generate_cielo_form, WC_Checkout_Cielo_API->get_transaction_data, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Leia como Depurar o WordP in /home/escolaedti/public_html/wp-includes/functions.php on line 4139
Notice: billing_first_name foi chamada incorretamente. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/enfold/page.php’), get_template_part, locate_template, load_template, require(‘/themes/enfold/includes/loop-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, do_action(‘woocommerce_receipt_checkout-cielo’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Checkout_Cielo_Gateway->receipt_page, WC_Checkout_Cielo_Gateway->generate_cielo_form, WC_Checkout_Cielo_API->get_transaction_data, WC_Checkout_Cielo_API->get_customer_data, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Leia como /home/escolaedti/public_html/wp-includes/functions.php on line 4139
Notice: billing_email foi chamada incorretamente. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/enfold/page.php’), get_template_part, locate_template, load_template, require(‘/themes/enfold/includes/loop-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, do_action(‘woocommerce_receipt_checkout-cielo’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Checkout_Cielo_Gateway->receipt_page, WC_Checkout_Cielo_Gateway->generate_cielo_form, WC_Checkout_Cielo_API->get_transaction_data, WC_Checkout_Cielo_API->get_customer_data, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Leia como /home/escolaedti/public_html/wp-includes/functions.php on line 4139
Notice: shipping_address_1 foi chamada incorretamente. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/enfold/page.php’), get_template_part, locate_template, load_template, require(‘/themes/enfold/includes/loop-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, do_action(‘woocommerce_receipt_checkout-cielo’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Checkout_Cielo_Gateway->receipt_page, WC_Checkout_Cielo_Gateway->generate_cielo_form, WC_Checkout_Cielo_API->get_transaction_data, WC_Checkout_Cielo_API->get_shipping_data, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Leia como /home/escolaedti/public_html/wp-includes/functions.php on line 4139
Notice: shipping_address_2 foi chamada incorretamente. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/enfold/page.php’), get_template_part, locate_template, load_template, require(‘/themes/enfold/includes/loop-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, do_action(‘woocommerce_receipt_checkout-cielo’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Checkout_Cielo_Gateway->receipt_page, WC_Checkout_Cielo_Gateway->generate_cielo_form, WC_Checkout_Cielo_API->get_transaction_data, WC_Checkout_Cielo_API->get_shipping_data, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Leia como /home/escolaedti/public_html/wp-includes/functions.php on line 4139
Notice: shipping_city foi chamada incorretamente. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/enfold/page.php’), get_template_part, locate_template, load_template, require(‘/themes/enfold/includes/loop-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, do_action(‘woocommerce_receipt_checkout-cielo’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Checkout_Cielo_Gateway->receipt_page, WC_Checkout_Cielo_Gateway->generate_cielo_form, WC_Checkout_Cielo_API->get_transaction_data, WC_Checkout_Cielo_API->get_shipping_data, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Leia como /home/escolaedti/public_html/wp-includes/functions.php on line 4139
Notice: shipping_postcode foi chamada incorretamente. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/enfold/page.php’), get_template_part, locate_template, load_template, require(‘/themes/enfold/includes/loop-page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, call_user_func, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_pay, do_action(‘woocommerce_receipt_checkout-cielo’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Checkout_Cielo_Gateway->receipt_page, WC_Checkout_Cielo_Gateway->generate_cielo_form, WC_Checkout_Cielo_API->get_transaction_data, WC_Checkout_Cielo_API->get_shipping_data, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Leia como
Desative as mensagens de erro do servidor que deve tudo funcionar.
Tem instruções sobre isso no Status do Sistema do WooCommerce.
The topic ‘Cielo Error’ is closed to new replies.