Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I try to create a new site with beta4 I get this error:
Drupal\Core\Config\UnsupportedDataTypeConfigException Object
(
[message:protected] => Invalid data type in config bootstrap.settings, found in filethemes/contrib/bootstrap/config/install/bootstrap.settings.yml : yaml_parse(): end of stream reached without finding document 0
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /data/disk/o1/static/open-social/core/lib/Drupal/Core/Config/FileStorage.php
...
After removing bootstrap.settings.yml
the installation worked.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2821397-3.patch | 1.33 KB | jaapjan |
Comments
Comment #2
jaapjan CreditAttribution: jaapjan as a volunteer and for Open Social commentedThis appears to be an issue in Bootstrap rc2: https://www.drupal.org/node/2813829 in combination with Drupal 8.2
I can't reproduce it in the Open Social Docker images or on Platform.sh (PHP 7). But my 2 cents: look into how the YAML files are parsed on your system.
http://php.net/manual/en/function.yaml-parse.php
https://www.drupal.org/node/1920902 (change in Drupal 8.2 Core)
Marking the issue as closed because I think it would be best to continue discussion in the issue queue of Bootstrap.
Comment #3
jaapjan CreditAttribution: jaapjan as a volunteer and for Open Social commentedAttached a patch based on http://cgit.drupalcode.org/bootstrap/commit/?id=7edda10 which should help fix this issue.