Cannot run drush rsync - PHP Fatal error in sitealias.inc drush rsync @ dev @stage


  PHP Fatal error:  Unsupported operand types in
  /usr/local/share/drush/includes/sitealias.inc on line 1468


Drush command terminated abnormally due to an unrecoverable
Error: 


  Unsupported operand types in
  /usr/local/share/drush/includes/sitealias.inc, line 1468
Found an error in my alias files. I had a space between SQL username and password. 

$aliases['devyau'] = array(
  'uri'=&gt; 'dev.[sitename]',
  'root'=&gt; '/var/www/vhosts/dev.[sitename]/',
  'db-url' =&gt; 'mysql://[username]: [password]/devDBname',
);