FluxCP
FluxCP copied to clipboard
Error using PHP 7.4
Hi
Im using a latest clean Flux CP running in PHP 7.4. When I go to rA Logs > Logins I get the following message:
Notice: Trying to access array offset on value of type int in /myflux.com/lib/Flux/Connection/Statement.php on line 35
Regards.
I have the same problem, in version 7.3, even if I change the php version to lower it still appears.
PHP Notice: Undefined variable: response in /home/public_html/lib/Flux/LoginServer.php on line 156 PHP Notice: Array to string conversion in /home/public_html/lib/Flux/Template.php on line 440 PHP Notice: Array to string conversion in /home/public_html/lib/Flux/Authorization.php on line 75 PHP Notice: Array to string conversion in /home/public_html/lib/Flux/Authorization.php on line 75 PHP Notice: Array to string conversion in /home/public_html/lib/Flux/Template.php on line 464 PHP Notice: Array to string conversion in /home/public_html/lib/Flux/Template.php on line 656 PHP Warning: A non-numeric value encountered in /home/public_html/lib/Flux/Template.php on line 1287 PHP Warning: A non-numeric value encountered in /home/public_html/lib/Flux/Template.php on line 1287
I'm actually stuck trying to figure this one out. I thought it was erroring because it's trying to fetch data using a non-existent username, hence the missing keys (like "login server", "rathena" etc for system users/servers.. but I still get the error on 8.2. The PHP docs don't give anything useful, either.
Sned halp.