Created
November 30, 2017 18:10
-
-
Save HongPong/4604747cc4f0784edc5f2715377fa69e to your computer and use it in GitHub Desktop.
error when converting service links to d8 https://www.drupal.org/project/service_links/issues/2379109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
see https://www.drupal.org/project/service_links/issues/2379109 | |
$ drush dmu-upgrade service_links | |
Indexing...done. | |
service_links does not implement hook_@hook. [warning] | |
Error at line 1:69: expected T_VARIABLE [error] | |
Error: Undefined class constant 'DUMP_EXCEPTION_ON_INVALID_TYPE' in Drupal\Component\Serialization\YamlSymfony::encode() (line 22 of [error] | |
/site/web/core/lib/Drupal/Component/Serialization/YamlSymfony.php) #0 /site/web/core/lib/Drupal/Component/Serialization/Yaml.php(27): | |
Drupal\Component\Serialization\YamlSymfony::encode(Array) | |
#1 /site/web/modules/custom/drupalmoduleupgrader/src/ConverterBase.php(167): Drupal\Component\Serialization\Yaml::encode(Array) | |
#2 /site/web/modules/custom/drupalmoduleupgrader/src/Plugin/DMU/Converter/HookPermission.php(23): | |
Drupal\drupalmoduleupgrader\ConverterBase->writeInfo(Object(Drupal\drupalmoduleupgrader\Target), 'permissions', Array) | |
#3 /site/web/modules/custom/drupalmoduleupgrader/drupalmoduleupgrader.drush.inc(313): | |
Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\HookPermission->convert(Object(Drupal\drupalmoduleupgrader\Target)) | |
#4 /site/vendor/drush/drush/includes/command.inc(422): drush_drupalmoduleupgrader_dmu_upgrade('service_links') | |
#5 /site/vendor/drush/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array) | |
#6 /site/vendor/drush/drush/includes/command.inc(199): drush_command('service_links') | |
#7 /site/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array) | |
#8 /site/vendor/drush/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch() | |
#9 /site/vendor/drush/drush/drush.php(12): drush_main() | |
#10 {main}. | |
Error: Undefined class constant 'DUMP_EXCEPTION_ON_INVALID_TYPE' in /site/web/core/lib/Drupal/Component/Serialization/YamlSymfony.php on line 22 #0 /site/web/core/lib/Drupal/Component/Serialization/Yaml.php(27): Drupal\Component\Serialization\YamlSymfony::encode(Array) | |
#1 /site/web/modules/custom/drupalmoduleupgrader/src/ConverterBase.php(167): Drupal\Component\Serialization\Yaml::encode(Array) | |
#2 /site/web/modules/custom/drupalmoduleupgrader/src/Plugin/DMU/Converter/HookPermission.php(23): Drupal\drupalmoduleupgrader\ConverterBase->writeInfo(Object(Drupal\drupalmoduleupgrader\Target), 'permissions', Array) | |
#3 /site/web/modules/custom/drupalmoduleupgrader/drupalmoduleupgrader.drush.inc(313): Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\HookPermission->convert(Object(Drupal\drupalmoduleupgrader\Target)) | |
#4 /site/vendor/drush/drush/includes/command.inc(422): drush_drupalmoduleupgrader_dmu_upgrade('service_links') | |
#5 /site/vendor/drush/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array) | |
#6 /site/vendor/drush/drush/includes/command.inc(199): drush_command('service_links') | |
#7 /site/vendor/drush/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array) | |
#8 /site/vendor/drush/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch() | |
#9 /site/vendor/drush/drush/drush.php(12): drush_main() | |
#10 {main} | |
Error: Undefined class constant 'DUMP_EXCEPTION_ON_INVALID_TYPE' in Drupal\Component\Serialization\YamlSymfony::encode() (line 22 of /site/web/core/lib/Drupal/Component/Serialization/YamlSymfony.php). | |
Drush command terminated abnormally due to an unrecoverable error. [error] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment