I updated my project, and a similar error appear (v2024)
“src\AdvancedSecurity.php(250): Call to undefined function PHPMaker2024\METSYS\array_any()”
array_any()
is a PHP 8.4 function. If you use PHP 8.4 on your PC but not on your web server, you should set the Target PHP version as that of your web server. You better always use the same PHP version on both the development and production environment.
Thank you men! I forgot update php on my server, the problem was fixed