PHP 8.1 - Automatic conversion of false to array is deprecated in COREPATH/classes/config/file.php on line 105
iturgeon opened this issue · comments
Ian Turgeon commented
I'm getting an error with PHP 8.1.11 with fuel/core 1.9/develop. The error:
Runtime Deprecated code usage - Automatic conversion of false to array is deprecated in COREPATH/classes/config/file.php on line 105
I believe this is getting called due to some \Config::load('auth', true);
calls, though I'm not 100% sure - it's just that the contents of $replacement
end up matching the arguments to Config::load.
Upon searching, the code in file.php is a pattern used in a number of classes in and around core.