Drupal -8安装错误

时间:2018-02-03 18:28:53

标签: php drupal drupal-8

这是我第一次安装Drupal 8。

但我收到此错误

Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\MemoryBackend->set() (line 110 of core\lib\Drupal\Core\Cache\MemoryBackend.php).
Drupal\Core\Cache\MemoryBackend->set('module_implements', Array)
Drupal\Core\Extension\ModuleHandler->resetImplementations()
Drupal\Core\Extension\ModuleHandler->add('module', 'system', 'core/modules/system')
Drupal\Core\Extension\ModuleHandler->addModule('system', 'core/modules/system')
install_begin_request(Object, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Plugin\DefaultPluginManager->setCacheBackend() (line 145 of core\lib\Drupal\Core\Plugin\DefaultPluginManager.php).
Drupal\Core\Plugin\DefaultPluginManager->setCacheBackend(Object, 'typed_config_definitions')
Drupal\Core\Config\TypedConfigManager->__construct(Object, Object, Object, Object)
ReflectionClass->newInstanceArgs(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'config.typed')
Symfony\Component\DependencyInjection\ContainerBuilder->get('config.typed', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'config.factory')
Symfony\Component\DependencyInjection\ContainerBuilder->get('config.factory', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'theme_handler')
Symfony\Component\DependencyInjection\ContainerBuilder->get('theme_handler', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'access_check.theme')
Symfony\Component\DependencyInjection\ContainerBuilder->get('access_check.theme', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'theme.negotiator')
Symfony\Component\DependencyInjection\ContainerBuilder->get('theme.negotiator', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'theme.manager')
Symfony\Component\DependencyInjection\ContainerBuilder->get('theme.manager')
Drupal::theme()
_drupal_maintenance_theme()
drupal_maintenance_theme()
install_begin_request(Object, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\MemoryBackend->set() (line 110 of core\lib\Drupal\Core\Cache\MemoryBackend.php).
Drupal\Core\Cache\MemoryBackend->set('system_list', Array)
system_list('theme')
Drupal\Core\Extension\ThemeHandler->systemThemeList()
Drupal\Core\Extension\ThemeHandler->listInfo()
_drupal_maintenance_theme()
drupal_maintenance_theme()
install_begin_request(Object, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\MemoryBackend->set() (line 110 of core\lib\Drupal\Core\Cache\MemoryBackend.php).
Drupal\Core\Cache\MemoryBackend->set('hook_info', Array)
Drupal\Core\Extension\ModuleHandler->getHookInfo()
Drupal\Core\Extension\ModuleHandler->buildImplementationInfo('system_info_alter')
Drupal\Core\Extension\ModuleHandler->getImplementationInfo('system_info_alter')
Drupal\Core\Extension\ModuleHandler->getImplementations('system_info_alter')
Drupal\Core\Extension\ModuleHandler->alter('system_info', Array, Object, 'theme')
Drupal\Core\Extension\ThemeHandler->rebuildThemeData()
Drupal\Core\Extension\ThemeHandler->refreshInfo()
Drupal\Core\Extension\ThemeHandler->listInfo()
_drupal_maintenance_theme()
drupal_maintenance_theme()
install_begin_request(Object, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Plugin\DefaultPluginManager->setCacheBackend() (line 145 of core\lib\Drupal\Core\Plugin\DefaultPluginManager.php).
Drupal\Core\Plugin\DefaultPluginManager->setCacheBackend(Object, 'element_info')
Drupal\Core\Render\ElementInfoManager->__construct(Object, Object, Object, Object, Object)
ReflectionClass->newInstanceArgs(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'plugin.manager.element_info')
Symfony\Component\DependencyInjection\ContainerBuilder->get('plugin.manager.element_info', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'form_builder')
Symfony\Component\DependencyInjection\ContainerBuilder->get('form_builder')
Drupal::formBuilder()
install_get_form('Drupal\Core\Installer\Form\SelectLanguageForm', Array)
install_select_language(Array)
install_run_task(Array, Array)
install_run_tasks(Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\MemoryBackend->set() (line 110 of core\lib\Drupal\Core\Cache\MemoryBackend.php).
Drupal\Core\Cache\MemoryBackend->set('element_info', Array, -1, Array)
Drupal\Core\Plugin\DefaultPluginManager->cacheSet('element_info', Array, -1, Array)
Drupal\Core\Plugin\DefaultPluginManager->setCachedDefinitions(Array)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
Drupal\Core\Render\ElementInfoManager->buildInfo('seven')
Drupal\Core\Render\ElementInfoManager->getInfo('form')
Drupal\Core\Form\FormBuilder->prepareForm('install_select_language_form', Array, Object)
Drupal\Core\Form\FormBuilder->buildForm('install_select_language_form', Object)
install_get_form('Drupal\Core\Installer\Form\SelectLanguageForm', Array)
install_select_language(Array)
install_run_task(Array, Array)
install_run_tasks(Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\MemoryBackend->set() (line 110 of core\lib\Drupal\Core\Cache\MemoryBackend.php).
Drupal\Core\Cache\MemoryBackend->set('element_info_build:seven', Array, -1, Array)
Drupal\Core\Render\ElementInfoManager->buildInfo('seven')
Drupal\Core\Render\ElementInfoManager->getInfo('form')
Drupal\Core\Form\FormBuilder->prepareForm('install_select_language_form', Array, Object)
Drupal\Core\Form\FormBuilder->buildForm('install_select_language_form', Object)
install_get_form('Drupal\Core\Installer\Form\SelectLanguageForm', Array)
install_select_language(Array)
install_run_task(Array, Array)
install_run_tasks(Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\CacheCollector->__construct() (line 119 of core\lib\Drupal\Core\Cache\CacheCollector.php).
Drupal\Core\Cache\CacheCollector->__construct(NULL, Object, Object, Array)
Drupal\Core\Asset\LibraryDiscoveryCollector->__construct(Object, Object, Object, Object)
ReflectionClass->newInstanceArgs(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'library.discovery.collector')
Symfony\Component\DependencyInjection\ContainerBuilder->get('library.discovery.collector', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'library.discovery')
Symfony\Component\DependencyInjection\ContainerBuilder->get('library.discovery', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'asset.resolver')
Symfony\Component\DependencyInjection\ContainerBuilder->get('asset.resolver', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'html_response.attachments_processor')
Symfony\Component\DependencyInjection\ContainerBuilder->get('html_response.attachments_processor', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'drupal.proxy_original_service.bare_html_page_renderer')
Symfony\Component\DependencyInjection\ContainerBuilder->get('drupal.proxy_original_service.bare_html_page_renderer')
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->lazyLoadItself()
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
install_display_output(Array, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\MemoryBackend->set() (line 110 of core\lib\Drupal\Core\Cache\MemoryBackend.php).
Drupal\Core\Cache\MemoryBackend->set('theme_registry:build:modules', Array, -1, Array)
Drupal\Core\Theme\Registry->build()
Drupal\Core\Theme\Registry->get()
Drupal\Core\Utility\ThemeRegistry->initializeRegistry()
Drupal\Core\Utility\ThemeRegistry->__construct('theme_registry:runtime:seven', Object, Object, Array, 1)
Drupal\Core\Theme\Registry->getRuntime()
Drupal\Core\Theme\ThemeManager->render('html', Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
install_display_output(Array, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\MemoryBackend->set() (line 110 of core\lib\Drupal\Core\Cache\MemoryBackend.php).
Drupal\Core\Cache\MemoryBackend->set('theme_registry:seven', Array, -1, Array)
Drupal\Core\Theme\Registry->setCache()
Drupal\Core\Theme\Registry->get()
Drupal\Core\Utility\ThemeRegistry->initializeRegistry()
Drupal\Core\Utility\ThemeRegistry->__construct('theme_registry:runtime:seven', Object, Object, Array, 1)
Drupal\Core\Theme\Registry->getRuntime()
Drupal\Core\Theme\ThemeManager->render('html', Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
install_display_output(Array, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\MemoryBackend->set() (line 110 of core\lib\Drupal\Core\Cache\MemoryBackend.php).
Drupal\Core\Cache\MemoryBackend->set('theme_registry:runtime:seven', Array, -1, Array)
Drupal\Core\Utility\ThemeRegistry->updateCache()
Drupal\Core\Utility\ThemeRegistry->__construct('theme_registry:runtime:seven', Object, Object, Array, 1)
Drupal\Core\Theme\Registry->getRuntime()
Drupal\Core\Theme\ThemeManager->render('html', Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
install_display_output(Array, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Plugin\DefaultPluginManager->setCacheBackend() (line 145 of core\lib\Drupal\Core\Plugin\DefaultPluginManager.php).
Drupal\Core\Plugin\DefaultPluginManager->setCacheBackend(Object, 'entity_type', Array)
Drupal\Core\Entity\EntityTypeManager->__construct(Object, Object, Object, Object, Object)
ReflectionClass->newInstanceArgs(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'entity_type.manager')
Symfony\Component\DependencyInjection\ContainerBuilder->get('entity_type.manager')
Drupal\Core\Entity\EntityManager->getStorage('date_format')
Drupal\Core\Datetime\DateFormatter->__construct(Object, Object, Object, Object, Object)
ReflectionClass->newInstanceArgs(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'date.formatter')
Symfony\Component\DependencyInjection\ContainerBuilder->get('date.formatter', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->callMethod(Object, Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'twig.extension')
Symfony\Component\DependencyInjection\ContainerBuilder->get('twig.extension', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->callMethod(Object, Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'twig')
Symfony\Component\DependencyInjection\ContainerBuilder->get('twig')
Drupal::service('twig')
twig_render_template('core/themes/classy/templates/layout/html.html.twig', Array)
Drupal\Core\Theme\ThemeManager->render('html', Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
install_display_output(Array, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\MemoryBackend->set() (line 110 of core\lib\Drupal\Core\Cache\MemoryBackend.php).
Drupal\Core\Cache\MemoryBackend->set('entity_type', Array, -1, Array)
Drupal\Core\Plugin\DefaultPluginManager->cacheSet('entity_type', Array, -1, Array)
Drupal\Core\Plugin\DefaultPluginManager->setCachedDefinitions(Array)
Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
Drupal\Core\Plugin\DefaultPluginManager->getDefinition('date_format', )
Drupal\Core\Entity\EntityTypeManager->getDefinition('date_format')
Drupal\Core\Entity\EntityTypeManager->getHandler('date_format', 'storage')
Drupal\Core\Entity\EntityTypeManager->getStorage('date_format')
Drupal\Core\Entity\EntityManager->getStorage('date_format')
Drupal\Core\Datetime\DateFormatter->__construct(Object, Object, Object, Object, Object)
ReflectionClass->newInstanceArgs(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'date.formatter')
Symfony\Component\DependencyInjection\ContainerBuilder->get('date.formatter', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->callMethod(Object, Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'twig.extension')
Symfony\Component\DependencyInjection\ContainerBuilder->get('twig.extension', 1)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Object)
Symfony\Component\DependencyInjection\ContainerBuilder->resolveServices(Array)
Symfony\Component\DependencyInjection\ContainerBuilder->callMethod(Object, Array)
Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object, 'twig')
Symfony\Component\DependencyInjection\ContainerBuilder->get('twig')
Drupal::service('twig')
twig_render_template('core/themes/classy/templates/layout/html.html.twig', Array)
Drupal\Core\Theme\ThemeManager->render('html', Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
install_display_output(Array, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\Cache::mergeContexts() (line 37 of core\lib\Drupal\Core\Cache\Cache.php).
Drupal\Core\Cache\Cache::mergeContexts(Array, Array)
Drupal\Core\Cache\CacheableMetadata->merge(Object)
Drupal\Core\Render\BubbleableMetadata->merge(Object)
Drupal\Core\Render\RenderContext->update(Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
install_display_output(Array, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\Cache::mergeContexts() (line 37 of core\lib\Drupal\Core\Cache\Cache.php).
Drupal\Core\Cache\Cache::mergeContexts(Array, Array)
Drupal\Core\Cache\CacheableMetadata->merge(Object)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\Render\Renderer->renderPlain(Array)
Drupal\Core\Render\Renderer->renderPlaceholder('form_action_cc611e1d', Array)
Drupal\Core\Render\Renderer->replacePlaceholders(Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
install_display_output(Array, Array)
install_drupal(Object)
Deprecated function: assert(): Calling assert() with a string argument is deprecated in Drupal\Core\Cache\Cache::mergeContexts() (line 37 of core\lib\Drupal\Core\Cache\Cache.php).
Drupal\Core\Cache\Cache::mergeContexts(Array, Array)
Drupal\Core\Cache\CacheableMetadata->merge(Object)
Drupal\Core\Render\BubbleableMetadata->merge(Object)
Drupal\Core\Render\Renderer->mergeBubbleableMetadata(Array, Array)
Drupal\Core\Render\Renderer->renderPlaceholder('form_action_cc611e1d', Array)
Drupal\Core\Render\Renderer->replacePlaceholders(Array)
Drupal\Core\Render\Renderer->doRender(Array, 1)
Drupal\Core\Render\Renderer->render(Array, 1)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object)
Drupal\Core\Render\Renderer->renderRoot(Array)
Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage(Array, 'Choose language', 'install_page', Array)
install_display_output(Array, Array)
install_drupal(Object)

hNiqsq9

1 个答案:

答案 0 :(得分:1)

问题是PHP 7.2.1不支持Drupal 8.0.3。我已经下载了Drupal 8.5.0 Alpha 1,现在它运行正常。