Bolt:升级到 2.2beta 后出现黑屏

Bolt: Getting blank screen after upgrading to 2.2beta

我在尝试访问网站的所有部分(前后)时出现空白屏幕。这是错误日志:

PHP Catchable fatal error:  Argument 1 passed to Bolt\Content::setValues() must be of the type array, null given, called in /var/www/html/feral/src/Content.php on line 410 and defined in /var/www/html/feral/src/Content.php on line 245, referer: http://localhost/feral/

这里是 config.yml 主题:

templatefields:
    templates/home.twig:
        subheading:
            type: text
        feature_section_heading:
            type: text
        feature_section_text:
            type: textarea

/src/Content.php 中,第 406 行,更改:

if ($unserdata !== false) {

至:

if ($unserdata !== false && is_array($unserdata)) {

我还不能复制它,所以这是未经测试的..