DB::connect() non static in class freepbx_db

Looks like PearDB released an update to some depreciated libraries we use that breaks FreePBX, so for the time being you’ll need to use an older version of PearDB. I have fixed this in our wikis.

Contrary to popular internet theories this was not a change or “improvement” made from FreePBX. It was instead a change from an upstream provider of a database abstraction layer FreePBX has been using for several years.

As for the future. We have already started writing FreePBX 13 without the need for the PearDB libraries.

The FreePBX Distro is unaffected by this because of our use of RPMs which we maintain outside of the Pear channels.

These commands might get you going but since the database commands were unable to run you might have to start over

pear uninstall db
pear install db-1.7.14