DinkumInteractive / mwu

Terminus plugin to mass update WordPress plugins or themes over all available Pantheon sites
MIT License
3 stars 0 forks source link

PHP Fatal error: Uncaught Error: Class 'Terminus\Models\Collections\Sites' not found #5

Closed mustela closed 8 years ago

mustela commented 8 years ago

Using the last release from terminus 0.13.2 I'm getting:

PHP Fatal error:  Uncaught Error: Class 'Terminus\Models\Collections\Sites' not found in /Users/mustela/Sites/dinkum/repos/mwu/Commands/SitesMassWordPressUpdateCommand.php:43
Stack trace:
#0 phar:///usr/local/bin/terminus/php/Terminus/Dispatcher/CommandFactory.php(131): Terminus\Commands\MassWordPressUpdateCommand->__construct(Array)
#1 [internal function]: Terminus\Dispatcher\CommandFactory::Terminus\Dispatcher\{closure}(Array, Array)
#2 phar:///usr/local/bin/terminus/php/Terminus/Dispatcher/Subcommand.php(118): call_user_func(Object(Closure), Array, Array)
#3 phar:///usr/local/bin/terminus/php/Terminus/Runner.php(309): Terminus\Dispatcher\Subcommand->invoke(Array, Array)
#4 phar:///usr/local/bin/terminus/php/Terminus/Runner.php(212): Terminus\Runner->runCommand()
#5 phar:///usr/local/bin/terminus/php/boot-cl.php(23): Terminus\Runner->run()
#6 phar:///usr/local/bin/terminus/php/boot-phar.php(4): include('phar:///usr/loc...')
#7 /usr/local/bin/terminus(4): include('phar:///usr/loc...')
#8 {main}
  thrown in /Users/mustela/Sites/dinkum/repos/mwu/Commands/SitesMassWordPressUpdateCommand.php on line 43

Fatal error: Uncaught Error: Class 'Terminus\Models\Collections\Sites' not found in /Users/mustela/Sites/dinkum/repos/mwu/Commands/SitesMassWordPressUpdateCommand.php:43
Stack trace:
#0 phar:///usr/local/bin/terminus/php/Terminus/Dispatcher/CommandFactory.php(131): Terminus\Commands\MassWordPressUpdateCommand->__construct(Array)
#1 [internal function]: Terminus\Dispatcher\CommandFactory::Terminus\Dispatcher\{closure}(Array, Array)
#2 phar:///usr/local/bin/terminus/php/Terminus/Dispatcher/Subcommand.php(118): call_user_func(Object(Closure), Array, Array)
#3 phar:///usr/local/bin/terminus/php/Terminus/Runner.php(309): Terminus\Dispatcher\Subcommand->invoke(Array, Array)
#4 phar:///usr/local/bin/terminus/php/Terminus/Runner.php(212): Terminus\Runner->runCommand()
#5 phar:///usr/local/bin/terminus/php/boot-cl.php(23): Terminus\Runner->run()
#6 phar:///usr/local/bin/terminus/php/boot-phar.php(4): include('phar:///usr/loc...')
#7 /usr/local/bin/terminus(4): include('phar:///usr/loc...')
#8 {main}
  thrown in /Users/mustela/Sites/dinkum/repos/mwu/Commands/SitesMassWordPressUpdateCommand.php on line 43