Project

General

Profile

Actions

Bug #2796

closed

PHP error on status_upnp.php

Added by Phil Lavin almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Start date:
02/05/2013
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
All

Description

Fatal error: Cannot use string offset as an array in /usr/local/www/status_upnp.php on line 66

Fix is to change line 66 to the following:

if(!$config['installedpackages'] || !$config['installedpackages']['miniupnpd']['config'][0]['iface_array']

Do check the logic of that as I'm assuming that having no packages installed means UPNP will be disabled.

Actions

Also available in: Atom PDF