-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Support
-
Affects Version/s: 13
-
Fix Version/s: None
-
Component/s: Backup & Restore
-
Labels:None
-
ToDo:
-
Asterisk Version:13.7.1
-
Distro Version:10.13.66-21
-
Distro:FreePBX Distro
Invalid argument exception occurs when attempting to restore from backup. The backup file was created on FreePBX 13.0.197.28. The error occurs when attempting to restore to a fresh install of the same version.
After the restore fails the dashboard reports "Can Not Connect to Asterisk"
Run Restore Output:
Starting restore.
Initializing Restore...
Running pre-restore hooks, if any...
Restoring files (this may take some time)...
File restore complete!
Restoring Database...
Restored Database
Restoring astDB...
Whoops\Exception\ErrorException: Invalid argument supplied for foreach() in file /var/www/html/admin/libraries/utility.functions.php on line 765
Stack trace:
1. Whoops\Exception\ErrorException->() /var/www/html/admin/libraries/utility.functions.php:765
2. Whoops\Run->handleError() /var/www/html/admin/libraries/utility.functions.php:765
3. astdb_put() /var/www/html/admin/modules/backup/bin/restore.php:435