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] Client function.php, processUpdateMethod function definition is using deprecated form #608

Closed racribeiro closed 4 months ago

racribeiro commented 5 months ago

fM Version : 4.5.1 core Version : 4.5.1

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


(BUG | ISSUE) Expected Behavior:

When action over client, it should perform the action.

(BUG | ISSUE) Actual Behavior:

The message "It appears %s does not have php configured properly within httpd or httpd is not running." is presented

(BUG | ISSUE) Steps to reproduce:

Using PHP 8, the request fails because function processUpdateMethod is defined as:

function processUpdateMethod($module_name, $update_method = null, $data, $url)

and should be defined as:

function processUpdateMethod($module_name, $update_method = null, $data = [], $url = "")

ValeriiVozniuk commented 5 months ago

Not reproducible for me on PHP 8.1.2-1ubuntu2.14 What is your PHP version?

WillyXJ commented 4 months ago

This is now fixed in fM 4.6.0 and later.