Проблема при оформлении заказа
-
Здравствуйте.
При Оформлении заказа появилась ошибка
Warning: Invalid argument supplied for foreach() in /home/www/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 267
Вот что в данной строке:foreach ( $this->fields as $field_type => $fields ) { // Sort each of the checkout field sections based on priority. uasort( $this->fields[ $field_type ], 'wc_checkout_fields_uasort_comparison' ); // Add accessibility labels to fields that have placeholders. foreach ( $fields as $single_field_type => $field ) { if ( empty( $field['label'] ) && ! empty( $field['placeholder'] ) ) { $this->fields[ $field_type ][ $single_field_type ]['label'] = $field['placeholder']; $this->fields[ $field_type ][ $single_field_type ]['label_class'] = array( 'screen-reader-text' ); } } }
подскажите как исправить
- Тема «Проблема при оформлении заказа» закрыта для новых ответов.