Well I just done a restore and click on apply and BAM!! This is what I get:
exit: 255
PHP Fatal error: Cannot use object of type DB_Error as array in /var/www/html/admin/modules/findmefollow/functions.inc.php on line 471
Whoops\Exception\ErrorException: Cannot use object of type DB_Error as array in file /var/www/html/admin/modules/findmefollow/functions.inc.php on line 471
Stack trace:
This is the excerpt of code from the file in question if that might help, it doesnt help me.
global $astman;
global $db;
$results = sql("SELECT grpnum, strategy, grptime, grppre, grplist, annmsg_id, postdest, dring, needsconf, remotealert_id, toolate_id, ringing, pre_ring, voicemail, rvolume FROM findmefollow INNER JOIN `users` ON `extension` = `grpnum` WHERE grpnum = '".$db->escapeSimple($grpnum)."'","getRow",DB_FETCHMODE_ASSOC);
if (empty($results)) {
return array();
}
line 471 if (!isset($results[‘voicemail’])) {
$results[‘voicemail’] = sql(“SELECT voicemail FROM users WHERE extension = '”.$db->escapeSimple($grpnum)."’",“getOne”);
}