SOLVED Fatal error: Uncaught Error when running Upgrade App Defaults

Status
Not open for further replies.

Skeelkat

Member
Jun 26, 2020
35
4
8
41
When attempting an Upgrade of Source Code / Database & Schema, I get the following error on executing App Defaults

Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/fusionpbx/resources/classes/settings.php:168 Stack trace: #0 /var/www/fusionpbx/resources/classes/settings.php(35): settings->default_settings() #1 /var/www/fusionpbx/resources/classes/domains.php(644): settings->__construct(Array) #2 /var/www/fusionpbx/core/upgrade/index.php(102): domains->upgrade() #3 {main} thrown in /var/www/fusionpbx/resources/classes/settings.php on line 168

Any help would be appreciated.
 

Attachments

  • Screenshot_20230923_144829.jpg
    Screenshot_20230923_144829.jpg
    226.1 KB · Views: 14

Skeelkat

Member
Jun 26, 2020
35
4
8
41
When attempting an Upgrade of Source Code / Database & Schema, I get the following error on executing App Defaults

Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/fusionpbx/resources/classes/settings.php:168 Stack trace: #0 /var/www/fusionpbx/resources/classes/settings.php(35): settings->default_settings() #1 /var/www/fusionpbx/resources/classes/domains.php(644): settings->__construct(Array) #2 /var/www/fusionpbx/core/upgrade/index.php(102): domains->upgrade() #3 {main} thrown in /var/www/fusionpbx/resources/classes/settings.php on line 168

Any help would be appreciated.
Turns out I was on the master branch instead of stable 5.1

Downgrading to Stable 5.1 fixed the issue
 
Status
Not open for further replies.