Ubuntu 管理心得

搜尋此網誌

2021年4月13日 星期二

drupal error: Type Error: Argument 1 passed to Symfony\Component\HttpFoundation\ParameterBag::replace() must be of the type array,

 https://www.drupal.org/forum/support/installing-drupal/2020-12-06/unable-to-start-drupal-9-webpage-on-server

  1. Open settings.php (/sites/default/settings.php) in any plain text editor. Add this line to the end of the file and save it:

    $settings['rebuild_access'] = TRUE;
  2. Visit http://www.example.com/core/rebuild.php in your browser (where www.example.com is your site’s URL). After a short pause, you should be redirected to the home page of your site, and the cache should be rebuilt.
  3. Open settings.php (/sites/default/settings.php) in a text editor. Find the line you added with $settings[rebuild_access], remove this line, and save the file.

 

沒有留言:

張貼留言

網誌存檔