When attempting to use this theme the following error occurred:

Drupal\Component\Serialization\Exception\InvalidDataTypeException: yaml_parse(): scanning error encountered during parsing: mapping values are not allowed in this context (line 21, column 33) in Drupal\Component\Serialization\YamlPecl::errorHandler() (line 69 of /var/www/html/core/lib/Drupal/Component/Serialization/YamlPecl.php).

I've attached a patch that fixes the missing opening single quotes from light_skeleton.breakpoints.yml

Cheers,
Dan

CommentFileSizeAuthor
missing-single-quotes.patch669 bytestr33m4n

Comments

tr33m4n created an issue. See original summary.

tr33m4n’s picture

Status: Active » Needs review
freelock’s picture

Status: Needs review » Reviewed & tested by the community

Just hit this issue upon upgrading to 8.4.0. Error message is different:

PHP message: Uncaught PHP Exception Drupal\Component\Serialization\Exception\InvalidDataTypeException: "A colon cannot be used in an unquoted mapping value at line 21 (near "mediaQuery: all and (min-width: 751px) and (max-width: 1000px)'")." at /var/www/xxx/core/lib/Drupal/Component/Serialization/YamlSymfony.php line 40

... fix is the same.

granticusiv’s picture

I just encountered this, installing the theme for the first time (v 8.x-1.0). I had the same error message as freelock. This above patch fixes the issue.

Why hasn't this been committed yet?