Title: Resolve Strict Standards PHP Warning
Last modified: August 21, 2016

---

# Resolve Strict Standards PHP Warning

 *  Resolved [Grant Norwood](https://wordpress.org/support/users/grantnorwood/)
 * (@grantnorwood)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/resolve-strict-standards-php-warning/)
 * There is a Strict Standards PHP warning coming from api.php, line 63. The warning
   is regarding only passing variables by reference, where you are passing a function.
 * Please consider changing line 63 in api.php from:
 *     ```
       $result = wp_remote_retrieve_body(wp_remote_get($url, array('timeout' => 1)));
       ```
   
 * to:
 *     ```
       $get_result = wp_remote_get($url, array('timeout' => 1));
       $result = wp_remote_retrieve_body($get_result);
       ```
   
 * This should clear up the warning for those developers who develop with Strict
   Standards mode enabled.
 * Thank you so much, this is a great plugin!
    Grant
 * [https://wordpress.org/plugins/geoip-detect/](https://wordpress.org/plugins/geoip-detect/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Benjamin Pick](https://wordpress.org/support/users/benjaminpick/)
 * (@benjaminpick)
 * [12 years ago](https://wordpress.org/support/topic/resolve-strict-standards-php-warning/#post-4743345)
 * Done, Thanks.
 *  Thread Starter [Grant Norwood](https://wordpress.org/support/users/grantnorwood/)
 * (@grantnorwood)
 * [12 years ago](https://wordpress.org/support/topic/resolve-strict-standards-php-warning/#post-4743346)
 * Thank you, Benjamin!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Resolve Strict Standards PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/geoip-detect/assets/icon-256x256.jpg?rev=978998)
 * [Geolocation IP Detection](https://wordpress.org/plugins/geoip-detect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geoip-detect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geoip-detect/)
 * [Active Topics](https://wordpress.org/support/plugin/geoip-detect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geoip-detect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geoip-detect/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Grant Norwood](https://wordpress.org/support/users/grantnorwood/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/resolve-strict-standards-php-warning/#post-4743346)
 * Status: resolved