при выпольнение заказа выдает ошибку
-
Приветствую.
у меня установлено woo commerce 2.0.10. создал новой продукт. входил как обычной пользователь, добавил товар на карт, нажал кнопка для Proceed to checkout, далее запольнил свой данные и Placed order. показывает следуующие ощибка.
Warning: Missing argument 2 for get_post_meta(), called in /home/a5113256/public_html/edu/wp-content/plugins/woocommerce/classes/class-wc-order.php on line 204 and defined in /home/a5113256/public_html/edu/wp-includes/post.php on line 1465при смотре данные строки, первом class-wc-order.php есть
// Standard post data
199 $this->id = $result->ID;
200 $this->order_date = $result->post_date;
201 $this->modified_date = $result->post_modified;
202 $this->customer_note = $result->post_excerpt;
203 $this->post_status = $result->post_status;
204 $this->order_custom_fields = get_post_meta( $this->id );на втором т.е. post.php есть
1465 function get_post_meta($post_id, $key, $single = false) {
1466 return get_metadata(‘post’, $post_id, $key, $single);
скажите как можно решить проблем?
жду ващего ответа.
- Тема «при выпольнение заказа выдает ошибку» закрыта для новых ответов.