Question

Getting errors while installing Drush using pear command???

Posted February 15, 2014 3.9k views
here's the error: Notice: Array to string conversion in PEAR/REST/13.php on line 80 PHP Notice: Array to string conversion in /usr/share/php/PEAR/REST/13.php on line 80 Warning: Invalid argument supplied for foreach() in PEAR/REST/13.php on line 84 PHP Warning: Invalid argument supplied for foreach() in /usr/share/php/PEAR/REST/13.php on line 84 PHP Fatal error: Cannot use string offset as an array in /usr/share/php/PEAR/REST/10.php on line 263

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer
Apparently you're no longer supposed to install drush via pear, but via composer. See https://github.com/drush-ops/drush/issues/465
Submit an Answer