sh 修复更新drupal 8

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 修复更新drupal 8相关的知识,希望对你有一定的参考价值。

drush up drupal-8.3.7
composer require commerceguys/zone
composer require "drupal/address ~1.0"
composer update drupal/address --with-dependencies
drush up ds-8.x-3.1
#https://www.drupal.org/files/issues/0001-Fix-address-module-protected-function-change-to-priv.patch
drush up context-8.x-4.0-beta2
#on bootstrap https://www.drupal.org/files/issues/2779295-3.patch
#LogicException: Render context is empty, because render() was called outside of a renderRoot() or renderPlain() call. Use renderPlain()/renderRoot() or #lazy_builder/#pre_render instead. in Drupal\Core\Render\Renderer->doRender() (line 241 of core/lib/Drupal/Core/Render/Renderer.php).
\Drupal::service('renderer')->renderPlain($content)

以上是关于sh 修复更新drupal 8的主要内容,如果未能解决你的问题,请参考以下文章

sh Drupal 8 Docker命令

sh drush drupal 8

sh 生成Drupal 8哈希盐

Drupal开发团队发布安全更新,修复Symfony组件中的一个安全漏洞

sh 使用Composer创建Drupal 8.x项目

sh Drush在其自己的文件夹中更新Drupal Sites的目录