Fix 'Non-static method PEAR::isError() should not be called statically'

for php5