Project

General

Profile

Actions

Regression #13781

closed

Feature #13446: Upgrade PHP from 7.4 to 8.1

DNS Forwarder: PHP error in ``services_dnsmasq_edit``

Added by Steve Wheeler almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
DNS Forwarder
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Force Exclusion
Affected Version:
2.7.0
Affected Architecture:

Description

Trying to add a host override in a clean DNSmasq config throws a PHP error.

Using:

    <dnsmasq>
        <enable></enable>
        <interface></interface>
    </dnsmasq>

Gives:

PHP ERROR: Type: 1, File: /usr/local/www/services_dnsmasq_edit.php, Line: 154, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_dnsmasq_edit.php:154
Stack trace:
#0 {main}
thrown @ 2022-12-19 22:59:57

Tested:

23.01-BETA (amd64)
built on Sat Dec 17 14:33:51 UTC 2022
FreeBSD 14.0-CURRENT

Actions

Also available in: Atom PDF