Друзья, всем привет. Помогите разобраться с данной ошибкой, как её обойти или что нужно исправить? При установке CMS Drupal8 на лок. сервер OpenServis вылазит ошибка на этапе "Настройка сайта". Error The website encountered an unexpected error. Please try again later. Error: Call to a member function setRecipients() on null in standard_form_install_configure_submit() (line 25 of core\profiles\standard\standard.profile). standard_form_install_configure_submit(Array, Object) call_user_func_array('standard_form_install_configure_submit', Array) (Line: 112) Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52) Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 591) Drupal\Core\Form\FormBuilder->processForm('install_configure_form', Array, Object) (Line: 320) Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SiteConfigureForm', Object) (Line: 955) install_get_form('Drupal\Core\Installer\Form\SiteConfigureForm', Array) (Line: 624) install_run_task(Array, Array) (Line: 577) install_run_tasks(Array, NULL) (Line: 117) install_drupal(Object) (Line: 44)
При чем тут сервер, посмотрите в настройках php какой там версии, бд итд Наверняка у друпала есть минимальные требования к серверу
Добрый день. Существуют следующие рекомендации: в строке ContactForm::load('feedback')->setRecipients([$site_mail])->trustData()->save(); заменить feedback на personal ContactForm::load('personal')->setRecipients([$site_mail])->trustData()->save(); Либо же попробовать изменить настройки php: 1. Открыть php.ini 2. увеличить max_execution_time = 120 3. Удостовериться в настройках opcache: [opcache] ; Determines if Zend OPCache is enabled opcache.enable=1 ; Determines if Zend OPCache is enabled for the CLI version of PHP opcache.enable_cli=1 ; The OPcache shared memory storage size. opcache.memory_consumption=128 ; The amount of memory for interned strings in Mbytes. opcache.interned_strings_buffer=8 ; The maximum number of keys (scripts) in the OPcache hash table. ; Only numbers between 200 and 100000 are allowed. opcache.max_accelerated_files=4000 ... ; How often (in seconds) to check file timestamps for changes to the shared ; memory storage allocation. ("1" means validate once per second, but only ; once per request. "0" means always validate) opcache.revalidate_freq=60 ... ; If enabled, a fast shutdown sequence is used for the accelerated code opcache.fast_shutdown=1 ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; ... ; Tyme added to resolve install issue zend_extension = "C:\xampp\php\ext\php_opcache.dll" ;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; 4. Перезагрузить вебсервер. Подробнее здесь: https://www.drupal.org/project/drupal/issues/2780071