WillyXJ / facileManager

A modular suite of web apps built with the sysadmin in mind.
www.facilemanager.com
GNU General Public License v2.0
84 stars 37 forks source link

[BUG] PHP 8.2 str_replace() deprecation warning in config build #612

Closed imyller closed 3 months ago

imyller commented 4 months ago

fM Version : 4.6.1 fmDNS Version : 6.0.3

In raising this issue, I confirm the following (please check boxes, eg [X]):


(BUG | ISSUE) Expected Behavior:

(BUG | ISSUE) Actual Behavior:

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/facileManager/fm-modules/fmDNS/classes/class_buildconf.php on line 1083

fmdns-deprecated

(BUG | ISSUE) Steps to reproduce:

(BUG | ISSUE) Workaround:

beza2000 commented 4 months ago

Also in RHEL 9, PHP 8.1.14 (cli) (built: Jan 4 2023 17:23:14) (NTS gcc x86_64).

WillyXJ commented 3 months ago

This is now fixed in fmDNS 6.0.4 and later.