pantheon-deprecated / terminus-deprecated

Deprecated CLI for Pantheon. Do not install. Current project:
https://github.com/pantheon-systems/cli
82 stars 24 forks source link

trim() expects parameter 1 to be string, object given terminus.drush.inc:2724 #180

Closed messageagency closed 9 years ago

messageagency commented 10 years ago

received this warning when issuing the command "psite-commit"

mikevanwinkle commented 10 years ago

Hmmm looking at that line of code I don't see a trim call at all? are you using the latest version of terminus?

tamirko commented 9 years ago

I added some files and I also get the same warning after running the following : drush psite-commit "my_uuid" dev --message="This is my message" The commit succeeds but I get the following warning : trim() expects parameter 1 to be string, object given terminus.drush.inc:2241

P.S. : I use the latest Terminus version (from Dec 29th 2014) and Drush 5.10.0

joshkoenig commented 9 years ago

Hey @tamirko as Mike said, that line of code does't have trim() on it, so you kind of can't be using the latest version:

https://github.com/pantheon-systems/terminus/blob/master/terminus.drush.inc#L2241

Please make sure you have a clean copy of our drush module.