Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Funcion depreciada desde version 3.0 genera mensajes de error en PHP #59

Open
clang0000 opened this issue Feb 8, 2021 · 0 comments
Open

Comments

@clang0000
Copy link

$order->reduce_order_stock();

El codigo del plugin parece que no se actualiza desde hace un tiempo. Esta previsto actualizarlo para una compatibilidad al 100% con WooCommerce?

*16832 FastCGI sent in stderr: "
PHP message:
[CULQI]...Validando...
PHP message:
The WC_Order::reduce_order_stock function is deprecated since version 3.0. Replace with wc_reduce_stock_levels.
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_culqi->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_culqi->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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant