Hello,
I recently upgraded an 11.2-R host to 12.0-R from sources without issue -- until I was dumb enough to do a mass upgrade via pkg
I ended up getting postfix, dovecot, mysql working with their upgraded versions (and lots of builds from src), but roundcube is causing me headaches. I'm unable to access it, seeing this error via apache:
line 43 of boostrap.php looks like:
I don't think it's an issue with filter_var() itself, as a little test code tells me filter_var() is a valid function in my installation.
here's output of php -m
Has anyone run into this issue and solved? Doing sort of - bull in the china shop troubleshooting I've rebuilt roundcube and its dependencies (most of php 7.2) from src (ports). help!
thanks
matt
I recently upgraded an 11.2-R host to 12.0-R from sources without issue -- until I was dumb enough to do a mass upgrade via pkg

I ended up getting postfix, dovecot, mysql working with their upgraded versions (and lots of builds from src), but roundcube is causing me headaches. I'm unable to access it, seeing this error via apache:
Code:
[Fri Nov 01 18:31:34.112854 2019] [php7:error] [pid 26949] [client x.x.y.180:53929] PHP Fatal error: Uncaught Error: Call to undefined function filter_var() in /usr/local/www/roundcube/program/lib/Roundcube/bootstrap.php:43\nStack trace:\n#0 /usr/local/www/roundcube/program/include/iniset.php(63): require_once()\n#1 /usr/local/www/roundcube/index.php(40): require_once('/usr/local/www/...')\n#2 {main}\n thrown in /usr/local/www/roundcube/program/lib/Roundcube/bootstrap.php on line 43
Code:
$ini_optval = filter_var(ini_get($optname), is_bool($optval) ? FILTER_VALIDATE_BOOLEAN FILTER_VALIDATE_INT);
here's output of php -m
Code:
[PHP Modules]
apcu
Core
ctype
date
dom
exif
fileinfo
filter
ftp
gd
hash
iconv
imap
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pgsql
Phar
pspell
Reflection
session
SPL
sqlite3
standard
tokenizer
xml
xmlrpc
zip
zlib
thanks
matt
Last edited by a moderator: