Попытка получить свойство необъекта от drupal gt - PullRequest
0 голосов
/ 17 октября 2018

Я новичок в 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)           
         

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

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...