Asterisk does not start after boot

Hi

FreePBX 12.0.57

PBX Firmware: 6.12.65-27

Originally installed from earlier version of distro and updated in place to this version.

the following error is being displayed on the SHH terminal window.

PHP Fatal error: Call to a member function Events() on a non-object in /var/www/html/admin/modules/xmpp/presence.php on line 16

Asterisk can be started by entering “sudo asterisk -vvvvvvc”

Any help Appreciated.

Chris