Title: StatPress Giving Error
Last modified: August 19, 2016

---

# StatPress Giving Error

 *  [flipjargendy](https://wordpress.org/support/users/flipjargendy/)
 * (@flipjargendy)
 * [18 years ago](https://wordpress.org/support/topic/statpress-giving-error/)
 * I’m using the StatPress plugin. I keep getting the error:
 *     ```
       Warning: gethostbyaddr() [functino.gethostbyaddr]: Address is not in a.b.c.d form in /var/www/flipjarg/blog/wp-content/plugins/wp-statpress/statpress.php on line 978
       ```
   
 * And here are a few lines from that section (here is the whole file: [http://pastebin.ca/1004406](http://pastebin.ca/1004406)):
 *     ```
       function iriDomain($ip) {
               $host=gethostbyaddr($ip);
           if (ereg('^([0-9]{1,3}\.){3}[0-9]{1,3}$', $host)) {
               return "";
           } else {
       return substr(strrchr($host,"."),1);
               }
       ```
   
 * Does anyone have any ideas as to how I should fix this? Thanks 🙂

The topic ‘StatPress Giving Error’ is closed to new replies.

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [flipjargendy](https://wordpress.org/support/users/flipjargendy/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/statpress-giving-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
