Project

General

Profile

Actions

Bug #8967

closed

PHP error in DNS Forwarder when config has no dnsmasq settings

Added by Jim Pingle about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DNS Forwarder
Target version:
Start date:
09/27/2018
Due date:
% Done:

100%

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

Description

https://www.reddit.com/r/PFSENSE/comments/9je1ar/244_php_error/

Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/services_dnsmasq.php:96 Stack trace: #0 {main} thrown in /usr/local/www/services_dnsmasq.php on line 96 PHP ERROR: Type: 1, File: /usr/local/www/services_dnsmasq.php, Line: 96, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/www/services_dnsmasq.php:96 Stack trace: #0 {main} thrown 

Code on that line assigns by reference, needs initialized first.

To me, I have a fix.

Actions

Also available in: Atom PDF