Call to undefined function

Yesterday I downloaded a running Grav installation from my provider to a local server.
The server runs under FreebSD 13 with nginx and php74.
Trying to open my website ends up with this message:
Call to undefined function Grav\Common\Service\filter_var()

Any idea what’s going wrong here?


@berni51, I have no idea personally, but if you do a quick Google search, all answers for error Call to undefined function path\to\filter_var() say that php-7x-filter should be installed.

Exactly that was the problem, @pamtbaau, thanks for your quick help.

But I never had this behaviour before. Must the php7c-filter module into the list of required php modules?


@berni51, So, now you know about Google, you might consider using it yourself next time… :wink:

I don’t think every exceptional situation can be listed. You are the first raising this issue (here as well as on Github), so it is quite exceptional that the filter module is not available in the core PHP installation.

Besides… it was an easy find on Google wasn’t it?

Yes, it was … :cry:

Will train googleworks, promised.


1 Like