Membership plugin fails to activate

Membership plugin fails to activate.

The message is:
Fatal error: Call to undefined function filter_var() in /home/babokguide/babokguide.ru/docs/wp-content/plugins/membership/classes/Membership/Plugin.php on line 206

Please advise what might cause this error.