Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Call to undefined function

Solved by pamtbaau View solution

Started by Bernhard Ernst 4 years ago · 4 replies · 610 views
4 years ago

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?

Regards
Berni

4 years ago Solution

@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.

4 years ago

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?

Regards
Berni

4 years ago

@berni51, So, now you know about Google, you might consider using it yourself next time... ;-)

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?

4 years ago

Yes, it was ... 😢

Will train googleworks, promised.

Berni

👍 1

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 95 15 hours ago
General · by pamtbaau, 20 hours ago
1 61 19 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 356 5 days ago
General · by Duc , 6 days ago
3 44 6 days ago