Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter danieledti

    (@danieledti)

    Thread Starter danieledti

    (@danieledti)

    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.php

    so 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?

    Thread Starter danieledti

    (@danieledti)

    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

    Plugin Author Claudio Sanches

    (@claudiosanches)

    Desative as mensagens de erro do servidor que deve tudo funcionar.
    Tem instru??es sobre isso no Status do Sistema do WooCommerce.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cielo Error’ is closed to new replies.