h5ai
h5ai copied to clipboard
Fatal error
php 7.4.16 Fatal error: Uncaught Error: Call to undefined function filter_var() in /opt/wwwroot/h5ai/_h5ai/private/php/core/class-request.php:24 Stack trace: #0 /opt/wwwroot/h5ai/_h5ai/private/php/class-bootstrap.php(15): Request->query_boolean('refresh', false) #1 /opt/wwwroot/h5ai/_h5ai/public/index.php(17): Bootstrap::run() #2 {main} thrown in /opt/wwwroot/h5ai/_h5ai/private/php/core/class-request.php on line 24
The fllter_var()
function seems to be part of the PHP standard library now: see reference.
There is a StackOverflow thread about a similar issue. You might want to check it out.
Compilations flags that were used to compile your version of PHP might be the reason why you are missing this function. Since you did not specify your operating system, it's hard to tell.