h5ai icon indicating copy to clipboard operation
h5ai copied to clipboard

Fatal error

Open hong0980 opened this issue 2 years ago • 1 comments

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

hong0980 avatar Jul 07 '21 04:07 hong0980

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.

glubsy avatar Jul 07 '21 14:07 glubsy