Title: Error When install plugin on localhost
Last modified: May 26, 2020

---

# Error When install plugin on localhost

 *  [chandr4](https://wordpress.org/support/users/chandr4/)
 * (@chandr4)
 * [6 years ago](https://wordpress.org/support/topic/error-when-install-plugin-on-localhost/)
 * Warning: file_get_contents([https://api.ipgeolocationapi.com/geolocate/](https://api.ipgeolocationapi.com/geolocate/)::
   1): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server 
   Error in C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\
   public\class-warehouse-popups-woocommerce-public.php on line 1242
 * Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\
   domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-
   popups-woocommerce-public.php on line 1245
 * Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\
   domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-
   popups-woocommerce-public.php on line 1246
 * Notice: Trying to access array offset on value of type null in C:\xampp\htdocs\
   domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-
   popups-woocommerce-public.php on line 1247
 * Fatal error: Uncaught GeoIp2\Exception\AddressNotFoundException: The address ::
   1 is not in the database. in C:\xampp\htdocs\domain\wp-content\plugins\warehouse-
   popups-woocommerce\public\vendor\geoip2\geoip2\src\Database\Reader.php:248 Stack
   trace: #0 C:\xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\
   public\vendor\geoip2\geoip2\src\Database\Reader.php(217): GeoIp2\Database\Reader-
   >getRecord(‘City’, ‘City’, ‘::1’) #1 C:\xampp\htdocs\domain\wp-content\plugins\
   warehouse-popups-woocommerce\public\vendor\geoip2\geoip2\src\Database\Reader.
   php(73): GeoIp2\Database\Reader->modelFor(‘City’, ‘City’, ‘::1’) #2 C:\xampp\
   htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-warehouse-
   popups-woocommerce-public.php(368): GeoIp2\Database\Reader->city(‘::1’) #3 C:\
   xampp\htdocs\domain\wp-content\plugins\warehouse-popups-woocommerce\public\class-
   warehouse-popups-woocommerce-public.php(430): Warehouse_Popups_Woocommerce_Public::
   auto_warehouse_switch() #4 C:\xampp\htdocs\domain\wp-includes\ in C:\xampp\htdocs\
   domain\wp-content\plugins\warehouse-popups-woocommerce\public\vendor\geoip2\geoip2\
   src\Database\Reader.php on line 248
    ========================================
   ======================
 * What should I do to test this plugin?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Joel](https://wordpress.org/support/users/joeleem0n/)
 * (@joeleem0n)
 * [6 years ago](https://wordpress.org/support/topic/error-when-install-plugin-on-localhost/#post-12899901)
 * [@chandr4](https://wordpress.org/support/users/chandr4/) thanks for the heads
   up. This should be fixed with latest update.

Viewing 1 replies (of 1 total)

The topic ‘Error When install plugin on localhost’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/warehouse-popups-woocommerce_84c1c8.
   svg)
 * [Woocommerce Multi Warehouses - Location Based Inventory Management](https://wordpress.org/plugins/warehouse-popups-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/warehouse-popups-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/warehouse-popups-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/warehouse-popups-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/warehouse-popups-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Joel](https://wordpress.org/support/users/joeleem0n/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/error-when-install-plugin-on-localhost/#post-12899901)
 * Status: not resolved