我正在处理一个Drupal 8网站。这个网站之前是可以工作的,但是我最近将它移动到了另一台机器上。
现在它显示出如下错误:
Recoverable fatal error: Argument 1 passed to
Drupal\Component\DependencyInjection\Container::__construct() must be of
the type array, boolean given, called in [DRUPAL-
PATH]/core/lib/Drupal/Core/DrupalKernel.php on line 883 and defined in
[DRUPAL-PATH]/core/lib/Drupal/Component/DependencyInjection/Container.php
on line 119 #0 [DRUPAL-PATH]/core/includes/bootstrap.inc(550):
_drupal_error_handler_real(4096, 'Argument 1 pass...',
'/Applications/M...', 119, Array)
我需要以编程方式清除缓存。