Author Topic: Call to undefined function filter_var()  (Read 6260 times)

Offline ahgu

  • Newbie
  • *
  • Posts: 1
Call to undefined function filter_var()
« on: November 30, 2019, 04:12:20 PM »
Fatal error: Uncaught Error: Call to undefined function filter_var() in /usr/local/www/roundcube/program/lib/Roundcube/bootstrap.php:49 Stack trace: #0 /usr/local/www/roundcube/program/include/iniset.php(62): require_once() #1 /usr/local/www/roundcube/installer/index.php(43): require('/usr/local/www/...') #2 {main} thrown in /usr/local/www/roundcube/program/lib/Roundcube/bootstrap.php on line 49

php73-filter-7.3.12

using php73 on freebsd.

[Wed Nov 27 12:57:49.001581 2019] [php7:error] [pid 7131] [client 192.168.0.80:19208] PHP Fatal error:  Uncaught Error: Call to undefined function filter_var() in /usr/local/www/roundcube/info.php:1\nStack trace:\n#0 {main}\n  thrown in /usr/local/www/roundcube/info.php on line 1

Please help.





Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: Call to undefined function filter_var()
« Reply #1 on: December 01, 2019, 03:15:30 AM »
This function is part of php-filter extension which is usually enabled. You're the first person with this disabled/not-installed. I guess, we should mention that in the INSTALL file.