I was upgrading Drupal 8 to 9. I installed 'Upgrade Status' module and fixed as suggested by it. Now it was time to upgrade to D9. I changed on composer.json.

"drupal/core-composer-scaffold": "^8.9.0",
"drupal/core-recommended": "^8.9.0",


"drupal/core-composer-scaffold": "^9.1.0",
"drupal/core-recommended": "^9.1.0",

Then ran following command:

composer update
drush cr
drush updb -y

After running the update, I got the Drupal 9.2.6. When browsing the URL, it showed following error:

TypeError: Argument 6 passed to Drupal\layout_builder\Plugin\Block\InlineBlock::__construct() must implement interface Drupal\Core\Session\AccountInterface, instance of Drupal\Core\Logger\LoggerChannel given, called in /app/web/core/modules/layout_builder/src/Plugin/Block/InlineBlock.php on line 117 in Drupal\layout_builder\Plugin\Block\InlineBlock->__construct() (line 95 of core/modules/layout_builder/src/Plugin/Block/InlineBlock.php).

I googled but could not find out the solution. Any suggestion is really appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.