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.
Drupal\Component\Serialization\Exception\InvalidDataTypeException: yaml_parse(): scanning error encountered during parsing: found character that cannot start any token (line 5, column 9), context while scanning for the next token (line 5, column 9) in Drupal\Component\Serialization\YamlPecl::errorHandler() (line 63 of /var/www/drupalvm/drupal/web/core/lib/Drupal/Component/Serialization/YamlPecl.php).
Due to imporper format arguments in social_auth.services.yml. Will be uploading the patch shortly. Note that this is, also, happening in beta2.
Comment | File | Size | Author |
---|---|---|---|
#2 | social_auth-invalid_data_type_exception_yaml_parse-2842821-2.patch | 929 bytes | nikathone |
Comments
Comment #2
nikathoneAnd here is the patch.
Comment #3
gvsoThanks @nikathone. I'll try to reproduce this issue in a fresh installation later. Do you know if there was a change in Drupal core which makes using quotes mandatory? It was working fine for me.
By the way, what version of Drupal 8 are you using? Did you install the module using drush or Drupal UI?
Comment #4
nikathoneAdded related issue. And the information about my environment, using https://www.drupalvm.com and https://github.com/drupal-composer/drupal-project for dupal installation. As for how I install this module I did run
composer require drupal/social_auth
which gave me the beta version, which wasn't working then I changed tocomposer require drupal/social_auth:1.x-dev
to get the dev version.Comment #5
gvsoI followed your steps and was not able to reproduce the issue. However, I looked at the module in core and all of them enclose the services inside quotes.
Comment #7
gvso