There are two possibilities:
– Your install is corrupt (simply re-install to verify)
– You have a conflict with another plug (more likely) that is using a different version of the MaxMind api and loading it before us. Try disabling your other plugins until you find the one that is conflicting.
Hi Greg,
Thank you for your reply. Unfortunately, the problem persists:
1. I’ve uninstalled the plugin (also made sure via FTP that it was completely removed from the server),
2. I’ve installed it again, this time manually – the problem returned.
3. I’ve disabled all my plugins, leaving only WP Statistics active – the problem persisted.
Is it possible that my PHP was compiled without some required dependency? I’ve had this problem with my provider before. If yes, what could that dependency be? Could you (possibly) take a look at my phpinfo() listing (would prefer not to put the URL on a public site)?
thanks.
A quick search found the following:
http://stackoverflow.com/questions/11735538/call-to-undefined-function-filter-var
Check to make sure the filter module is installed.
Unfortunately that’s not the problem:
Here is an excerpt from phpinfo():
“Loaded Modules core prefork http_core mod_so mod_authn_file mod_authn_dbm mod_authn_anon mod_authn_default mod_authn_alias mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_dbm mod_authz_owner mod_authz_default mod_auth_basic mod_auth_digest mod_file_cache mod_cache mod_disk_cache mod_dumpio mod_reqtimeout mod_include mod_filter mod_charset_lite mod_deflate mod_log_config mod_logio mod_env mod_mime_magic mod_cern_meta mod_expires mod_headers mod_usertrack mod_unique_id mod_setenvif mod_version mod_ssl mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_cgi mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imagemap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_php5 mod_suphp”
Any other ideas?
OK. I’ve just tested the filter_var() function in a simple script – I does not work, so it definitely is an issue on the part of my provider.
Will escalate and let you know the results.
All clear now: mod_filter for apache was installed, the filter module for PHP was not. It was installed and the error disappeared.
thanks.