pantheon-systems / terminus-secrets-plugin

A simple secrets management plugin for Terminus
MIT License
24 stars 14 forks source link

"Not found" error when running with 0.13.3 #5

Closed gchaix closed 7 years ago

gchaix commented 8 years ago

Running 0.13.3 on OS X (installed via Homebrew). terminus secrets show throws a fatal error:

PHP Fatal error: Uncaught Error: Class 'Terminus\Models\Collections\Sites' not found in /Users/gchaix/terminus/plugins/terminus-secrets-plugin/Commands/SecretsCommand.php:33

Changing line 10 of SecretsCommand.php from use Terminus\Models\Collections\Sites; to use Terminus\Collections\Sites; resolves the issue.

greg-1-anderson commented 7 years ago

Fixed in the latest 0.x branch.

n.b. Do not use master any longer. The Terminus 0.x version is on the 0.x branch, and the 1.x version is on the 1.x branch. The master branch will be deleted shortly.