Project

General

Profile

Bug #5852

Changing update branch causes error and crash report

Added by Marco Novielli over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
02/07/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.3
Affected Architecture:

Description

Changing update branch causes this error:

Fatal error: Cannot unset string offsets in /usr/local/www/system_update_settings.php on line 82 Call Stack: 0.0001 233104 1. {main}() /usr/local/www/system_update_settings.php:0 PHP ERROR: Type: 1, File: /usr/local/www/system_update_settings.php, Line: 82, Message: Cannot unset string offsets

Crash report:

Crash report begins.  Anonymous machine information:

amd64
10.3-BETA1
FreeBSD 10.3-BETA1 #373 12edb8f(devel): Sun Feb 7 15:51:31 CST 2016 root@pfs23-amd64-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
[07-Feb-2016 18:52:47 America/Toronto] PHP Fatal error: Cannot unset string offsets in /usr/local/www/system_update_settings.php on line 82
[07-Feb-2016 18:52:47 America/Toronto] PHP Stack trace:
[07-Feb-2016 18:52:47 America/Toronto] PHP 1. {main}() /usr/local/www/system_update_settings.php:0
[07-Feb-2016 18:53:49 America/Toronto] PHP Fatal error: Cannot unset string offsets in /usr/local/www/system_update_settings.php on line 82
[07-Feb-2016 18:53:49 America/Toronto] PHP Stack trace:
[07-Feb-2016 18:53:49 America/Toronto] PHP 1. {main}() /usr/local/www/system_update_settings.php:0

Associated revisions

Revision 9d77d005 (diff)
Added by Chris Buechler over 3 years ago

['system']['gitsync'] and ['system']['firmware'] may not be arrays, only unset if they're set to avoid "Cannot unset string offsets". Ticket #5852

History

#1 Updated by Jim Thompson over 3 years ago

  • Assignee set to Renato Botelho

#2 Updated by Chris Buechler over 3 years ago

  • Status changed from New to Resolved
  • Assignee changed from Renato Botelho to Chris Buechler

happened to hit this too. just trying to unset something that may not be an array, fixed.

Also available in: Atom PDF