pantheon-systems / terminus-site-clone-plugin

A Terminus plugin that adds the `site:clone` command to facilitate cloning sites on Pantheon
MIT License
21 stars 11 forks source link

PHP Fatal error: Uncaught Error: Call to a member function get() #35

Closed kyletaylored closed 1 year ago

kyletaylored commented 1 year ago
PHP Fatal error:  Uncaught Error: Call to a member function get() on null in ~/.terminus/terminus-dependencies-7422d8f8f1/vendor/pantheon-systems/terminus-site-clone-plugin/src/Commands/SiteCloneCommand.php:214
jspellman814 commented 1 year ago

Tracking internally as BUGS-5608

rolriley commented 1 year ago

Hello, I am getting same error on this command .. Any updates or Alternative to clone site with Terminus? PHP Fatal error: Uncaught Error: Call to a member function get() on null in /home/rolri/.terminus/terminus-dependencies-7422d8f8f1/vendor/pantheon-systems/terminus-site-clone-plugin/src/Commands/SiteCloneCommand.php:214 Stack trace:

kporras07 commented 1 year ago

I was able to reproduce this only if I didn't use site.env as the argument for source and destination. Added an extra check in the linked PR.