[SOLVED] backup error after re-install

Hello All,


The server my FreePBX installation resides on got hacked. In the process some of the servers index. files got re written. So, Had to reinstall FreePBX which I had a saved zipped copy of what I was running.
Everything is working as expected other than now when doing a newly created backup job ,nightly I receive the following error.

PHP Fatal error: Call to undefined method DB_Error::getRow() in /var/www/html/freepbx/admin/modules/backup/bin/ampbackup.php on line 52

EDIT: I will place line #52 here,for possibly someone to take a stab at it.

$opts=$db->getRow($sql,array($argv[1]), DB_FETCHMODE_ASSOC);

I Googled this error and found no one else with this exact error within FreePBX.
Installed backup version is if that helps.
I’m not savy on php geekery whatsoever.
Any ideas are appreciated.

After upgrading from Framework to the available Framework the backup module is working as expected.
Just wanted to post this for completeness.