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.
By cri2mars on
Hi,
when working on local dev, i'm running into an issue with the drupal console
the command:
root@debian-salon:/var/www/cri# drupal config:export --tar --uri=www.example.com
ended with an error:
[Exception] DateTime::__construct(): Invalid date.timezone value 'Europe-Paris', we selected the timezone 'UTC' for now.
i checked my local php.ini, timezone currently defined is ok
Drupal Console Launcher version 1.0.1
Drupal Console version 1.5.0
Drupal version 8.4.4
PHP Version 7.0.27-0+deb9u1 (debian stable)
DataBase Version 5.5.5-10.1.26-MariaDB-0+deb9u1 (debian stable)
any clue, how to solve this ?
Comments
re
fortunately,
without the tar option, the command is completed
of course, i can export the config using the site config manager,
but i'd be really more convenient using the drupal console
i must miss something... :-/