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

Undefined index: backup in SiteCloneCommand.php on line 117 #31

Open CdrMarks opened 2 years ago

CdrMarks commented 2 years ago

While cloning a site on my MBP, I saw the following output during a site clone:

rmarks@Ryans-MacBook-Pro ~ % terminus site:clone source.dev desination.dev                                

 Warning: the source site has a PHP version of 7.4 and the destination site has a PHP version of 7.2. Would you like to proceed? Doing so will overwrite the PHP version of the destination to 7.4. (yes/no) [no]:
 > yes

PHP Notice:  Undefined index: backup in /Users/rmarks/.terminus/terminus-dependencies-a4e701042a/vendor/pantheon-systems/terminus-site-clone-plugin/src/Commands/SiteCloneCommand.php on line 117

Notice: Undefined index: backup in /Users/rmarks/.terminus/terminus-dependencies-a4e701042a/vendor/pantheon-systems/terminus-site-clone-plugin/src/Commands/SiteCloneCommand.php on line 117
 Are you sure you want to clone from the wp13n.dev environment (source) to the playground-template-wp.dev (destination)? This will completely destroy the destination.
 (yes/no) [no]:
 > yes

This did not prevent the site clone from running.