$this->setDefaultCallback(array($this, 'handlePES'));
}
- function getMessages(&$error, $separator = '<br />') {
+ static public function getMessages(&$error, $separator = '<br />') {
if (is_a($error, 'CRM_Core_Error')) {
$errors = $error->getErrors();
$message = array();