Попытка получить свойство, не являющееся объектом, из Drupal GTPhp

Кемеровские программисты php общаются здесь
Anonymous
Попытка получить свойство, не являющееся объектом, из Drupal GT

Сообщение Anonymous »

Я новичок в Drupal 8. Когда я создаю собственную тему из Drupal GT на Mac, я получаю сообщение об ошибке.

Код: Выделить всё

Enter the new theme name []:
> test

Enter the theme machine name [test]:
> test

Enter the theme Path [themes/custom]:
> themes/custom

Enter theme description [My Awesome theme]:
> my first theme

Enter package name [Other]:
> Other

Enter Drupal Core version [8.x]:
> 8.x

Base theme (i.e. classy, stable) [false]:
> classy

Enter the global styling library name [global-styling]:
> global-styling

Do you want to add another library? (yes/no) [yes]:
> no

Do you want to generate the theme regions? (yes/no) [yes]:
> no

Do you want to generate the theme breakpoints? (yes/no) [yes]:
> no

Do you want proceed with the operation? (yes/no) [yes]:
> no

Код: Выделить всё

>[WARNING] The generation was cancelled and

>    [ERROR] Notice: Trying to get property of non-object in system_sort_modules_by_info_name() (line 1090 of core/modules/system/system.module). system_sort_modules_by_info_name(Object, '')
uasort(Array, 'system_sort_modules_by_info_name') (Line: 330)
Drupal\Console\Command\Generate\ThemeCommand->interact(Object, Object) (Line: 236)
Symfony\Component\Console\Command\Command->run(Object, Object) (Line: 964)
Symfony\Component\Console\Application->doRunCommand(Object, Object, Object) (Line: 248)
Symfony\Component\Console\Application->doRun(Object, Object) (Line: 185)
Drupal\Console\Core\Application->doRun(Object, Object) (Line: 64)
Drupal\Console\Application->doRun(Object, Object) (Line: 148)
Symfony\Component\Console\Application->run() (Line: 89)
require('/Users/kailinchang/Sites/drupal8/vendor/drupal/console/bin/drupal.php') (Line: 4)

Я не могу понять эту ошибку. Кто-нибудь может помочь?


Подробнее здесь: https://stackoverflow.com/questions/528 ... -drupal-gt

Вернуться в «Php»