Call to undefined method PEAR::raiseErro()

I went to install PHPMD on my Ubuntu dev box, and received the following error:


Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165

This was easily cleared up by running the following command:

mkdir -p /tmp/pear/cache

~ by ityndall on May 4, 2011.

Leave a Reply