Не могу сохранить запись с полем text_format

Главные вкладки

Аватар пользователя archerl archerl 15 января 2020 в 18:11

Выдается ошибка (http://prntscr.com/qo3i9t) - Notice: Array to string conversion в функции drupal_write_record() (строка 7420 в файле P:\home\demo-magiclab.ok\www\includes\common.inc).

<?php$form['description'] = array
  (
    '#title' => 'Текст',
    '#description' => '',
    '#type' => 'text_format',
    '#default_value' => isset($items->description) ? $items->description : '',
    '#format' => 'filtered_html',
    '#required' => true
  );?>