pantheon-systems / terminus-installer

Installer for Pantheon Terminus
MIT License
7 stars 6 forks source link

Can't get reinstall of Terminus working: Colliding constructor definitions #32

Open robwatson-intechra opened 6 years ago

robwatson-intechra commented 6 years ago

I upgraded my PHP like this thread said to do, but I'm still having trouble with colliding constructor definitions.

  1. Windows 10 Home
  2. Bash on Ubuntu on Windows
  3. PHP 5.5.9-1ubuntu4.22 (cli) (built: Aug 4 2017 19:40:28)

rwatson@DESKTOP-2O45UCN:~$ terminus PHP Fatal error: Pantheon\Terminus\Models\Branch has colliding constructor definitions coming from traits in /home/rwatson/vendor/pantheon-systems/terminus/src/Models/Branch.php on line 40

History

I'm getting this problem after having tried to upgrade from 1.3.0 to 1.6.1 using

curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update

The result was:

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3198k 100 3198k 0 0 7105k 0 --:--:-- --:--:-- --:--:-- 7107k Updating Terminus… Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files

So I tried installing the update via Composer. My Composer install was not working, either, so I reinstalled Composer. It all went downhill from there. I deleted both Composer and Terminus and started over with the command

curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar install