Project

General

Profile

Actions

Bug #15195

closed

PHP error if config contain <ppps></ppps> empty tag

Added by Lev Prokofev over 1 year ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Configuration Upgrade
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

The error occurs on boot if the config containing <ppps></ppps>

tested on

Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:5447
Stack trace:
#0 /etc/inc/config.lib.inc(519): upgrade_172_to_173()
#1 /etc/rc.bootup(140): convert_config()
#2 {main}
  thrown in /etc/inc/upgrade_config.inc on line 5447
PHP ERROR: Type: 1, File: /etc/inc/upgrade_config.inc, Line: 5447, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:5447
Stack trace:
#0 /etc/inc/config.lib.inc(519): upgrade_172_to_173()
#1 /etc/rc.bootup(140): convert_config()
#2 {main}
  thrownStarting CRON... done.
Actions #1

Updated by Kris Phillips over 1 year ago

Lev Prokofev wrote:

The error occurs on boot if the config containing <ppps></ppps>

tested on

[...]

Lev,

What version were you testing from and upgrading to? Since this is the config upgrade script, I'm assuming you were moving versions when you bumped into this.

Actions #2

Updated by Lev Prokofev over 1 year ago

Yeah I found that config was <version>15.5</version> (seems 2.3.2 software)

Actions #3

Updated by Christopher Cope over 1 year ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF