Deprecated method
-
Hi ! This call is deprecated and show warning :
id est appelée de la mauvaise manière. Order properties should not be accessed directly. Backtrace: include(‘wp-admin/edit-form-advanced.php’), do_meta_boxes, WC_Meta_Box_Order_Data::output, do_action(‘woocommerce_admin_order_data_after_billing_address’), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_paybox_show_details, WC_Paybox_Standard_Gateway->showDetails, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Veuillez lire Débogage dans WordPress (en) pour plus d’informations. (Ce message a été ajouté à la version 3.0.)
For fix :
/plugins/paybox-woocommerce-gateway/class/wc-paybox-standard-gateway.php in showDetails at line 23
Replace
$orderId = $order->id;
by
$orderId = $order->get_id();
- The topic ‘Deprecated method’ is closed to new replies.