Page 1 of 1

Module Statistics - Warning message

Posted: Wed Mar 10, 2010 6:43 pm
by nico63
I use the new relase (1.0rc1) of the module statistics and i have this warning message on the top of my pages:
Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6
So I search in this forum and don't find solution. Then i search in google and found a fix in an old wp forum :

find : gethostbyaddr and replace by @gethostbyaddr. So in Statistics.module.php line 274 i replace that and it seem to fix the problem : the warning message disappear.

I don't knows if it is the good solution and i don't know exactly what i do but it works for me...

Anyway, many thanks to the author of this module.