wpsnoop: fix WP Geocode plugin conflicts, errors & issues

When the plugin WP Geocode conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.


Discover which shortcodes wp-options PHP functions database tables and files are created by WP Geocode, plus learn which plugins and/or themes could be in conflict with WP Geocode.


Troubleshooting theme and plugin conflicts is easier when you know what WP Geocode leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.

Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for WP Geocode

Get professional support for WP Geocode here

When you need professional help with WordPress: get help here


What does WP Geocode version 1.0.13 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for WP Geocode to perform differently in your installation, previous versions before 1.0.13 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version 1.0.13 of WP Geocode behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for WP Geocode by clicking here.

Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.

Which new files does WP Geocode add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/wpgeocode/ 18.89MB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/database/ 18.34MB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/database/GeoLiteCity.dat 18.34MB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/geolite_city_license.txt 1.68kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/images/ 56.13kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/images/logo_125x125.png 25.69kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/images/logo_75x75.png 10.94kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/images/logo.png 6.61kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/images/whatiswpgeocode.png 12.90kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/includes/ 133.75kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/includes/geocity.php 6.81kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/includes/geoip.php 30.27kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/includes/geoipregionvars.php 96.67kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/readme.txt 6.32kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/screenshot-1.png 184.65kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/screenshot-2.png 138.32kB No known conflicts with other themes or plugins.
wp-content/plugins/wpgeocode/wpgeocode.php 49.71kB No known conflicts with other themes or plugins.

Which new shortcodes does WP Geocode add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[wpgc_city] The wpgc_city shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_country_code] The wpgc_country_code shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_country_flag] The wpgc_country_flag shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_country_list] The wpgc_country_list shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_country_name] The wpgc_country_name shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_database_date] The wpgc_database_date shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_distance_kilometers] The wpgc_distance_kilometers shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_distance_miles] The wpgc_distance_miles shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_env] The wpgc_env shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_ip] The wpgc_ip shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_cities] The wpgc_is_cities shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_city] The wpgc_is_city shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_city_and_state_code] The wpgc_is_city_and_state_code shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_country_code] The wpgc_is_country_code shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_country_codes] The wpgc_is_country_codes shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_country_name] The wpgc_is_country_name shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_country_names] The wpgc_is_country_names shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_ip] The wpgc_is_ip shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_ips] The wpgc_is_ips shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_nearby] The wpgc_is_nearby shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_cities] The wpgc_is_not_cities shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_city] The wpgc_is_not_city shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_country_code] The wpgc_is_not_country_code shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_country_codes] The wpgc_is_not_country_codes shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_country_name] The wpgc_is_not_country_name shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_country_names] The wpgc_is_not_country_names shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_ip] The wpgc_is_not_ip shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_ips] The wpgc_is_not_ips shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_nearby] The wpgc_is_not_nearby shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_postal_code] The wpgc_is_not_postal_code shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_postal_codes] The wpgc_is_not_postal_codes shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_state_code] The wpgc_is_not_state_code shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_not_state_codes] The wpgc_is_not_state_codes shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_postal_code] The wpgc_is_postal_code shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_postal_codes] The wpgc_is_postal_codes shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_state_code] The wpgc_is_state_code shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_state_codes] The wpgc_is_state_codes shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_is_within] The wpgc_is_within shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_latitude] The wpgc_latitude shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_longitude] The wpgc_longitude shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_options_nearby_range] The wpgc_options_nearby_range shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_postal_code] The wpgc_postal_code shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_state_code] The wpgc_state_code shortcode doesn't have any known conflicts with other themes or plugins.
[wpgc_state_name] The wpgc_state_name shortcode doesn't have any known conflicts with other themes or plugins.

Note: We have not yet checked to see if these shortcodes work as expected in pages, posts, sidebar widgets, or when set as the page title, in content, in the excert, in menus or anywhere else within a WordPress installation. A shortcode could produce errors due to parameters added when it is used, or if the plugin is updated and the format of the shortcode has changed.

Which new database tables are created by the WordPress plugin WP Geocode?

Which new options are added to the wp-options table by WP Geocode?

Option Name   Known Conflicts
wpgc_options The wpgc_options option doesn't have any known conflicts with other themes or plugins.

During use WP Geocode may or may not create more options depending on how the plugin is configured and depending on which other themes and plugins are active in your specific hosting environment.

What new PHP functions does WP Geocode declare when it is active?

Function   Conflicts Common Errors
distance 2 conflicts Fatal error: Cannot redeclare distance()
last_mod 0 conflicts Fatal error: Cannot redeclare last_mod()
read_header 0 conflicts Fatal error: Cannot redeclare read_header()
wpgc_add_defaults 0 conflicts Fatal error: Cannot redeclare wpgc_add_defaults()
wpgc_add_options_page 0 conflicts Fatal error: Cannot redeclare wpgc_add_options_page()
wpgc_case_convert 0 conflicts Fatal error: Cannot redeclare wpgc_case_convert()
wpgc_conditional_shortcode 0 conflicts Fatal error: Cannot redeclare wpgc_conditional_shortcode()
wpgc_country_list 0 conflicts Fatal error: Cannot redeclare wpgc_country_list()
wpgc_csv_find 0 conflicts Fatal error: Cannot redeclare wpgc_csv_find()
wpgc_delete_plugin_options 0 conflicts Fatal error: Cannot redeclare wpgc_delete_plugin_options()
wpgc_get_ip_address 0 conflicts Fatal error: Cannot redeclare wpgc_get_ip_address()
wpgc_get_location_info 0 conflicts Fatal error: Cannot redeclare wpgc_get_location_info()
wpgc_init 0 conflicts Fatal error: Cannot redeclare wpgc_init()
wpgc_is_cities 0 conflicts Fatal error: Cannot redeclare wpgc_is_cities()
wpgc_is_city 0 conflicts Fatal error: Cannot redeclare wpgc_is_city()
wpgc_is_city_and_state_code 0 conflicts Fatal error: Cannot redeclare wpgc_is_city_and_state_code()
wpgc_is_country_code 0 conflicts Fatal error: Cannot redeclare wpgc_is_country_code()
wpgc_is_country_codes 0 conflicts Fatal error: Cannot redeclare wpgc_is_country_codes()
wpgc_is_country_name 0 conflicts Fatal error: Cannot redeclare wpgc_is_country_name()
wpgc_is_country_names 0 conflicts Fatal error: Cannot redeclare wpgc_is_country_names()
wpgc_is_ip 0 conflicts Fatal error: Cannot redeclare wpgc_is_ip()
wpgc_is_ips 0 conflicts Fatal error: Cannot redeclare wpgc_is_ips()
wpgc_is_nearby 0 conflicts Fatal error: Cannot redeclare wpgc_is_nearby()
wpgc_is_not_cities 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_cities()
wpgc_is_not_city 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_city()
wpgc_is_not_city_and_state 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_city_and_state()
wpgc_is_not_country_code 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_country_code()
wpgc_is_not_country_codes 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_country_codes()
wpgc_is_not_country_name 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_country_name()
wpgc_is_not_country_names 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_country_names()
wpgc_is_not_ip 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_ip()
wpgc_is_not_ips 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_ips()
wpgc_is_not_nearby 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_nearby()
wpgc_is_not_postal_code 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_postal_code()
wpgc_is_not_postal_codes 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_postal_codes()
wpgc_is_not_state_code 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_state_code()
wpgc_is_not_state_codes 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_state_codes()
wpgc_is_not_state_name 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_state_name()
wpgc_is_not_within 0 conflicts Fatal error: Cannot redeclare wpgc_is_not_within()
wpgc_is_postal_code 0 conflicts Fatal error: Cannot redeclare wpgc_is_postal_code()
wpgc_is_postal_codes 0 conflicts Fatal error: Cannot redeclare wpgc_is_postal_codes()
wpgc_is_state_code 0 conflicts Fatal error: Cannot redeclare wpgc_is_state_code()
wpgc_is_state_codes 0 conflicts Fatal error: Cannot redeclare wpgc_is_state_codes()
wpgc_is_state_name 0 conflicts Fatal error: Cannot redeclare wpgc_is_state_name()
wpgc_is_within 0 conflicts Fatal error: Cannot redeclare wpgc_is_within()
wpgc_list_all_countries 0 conflicts Fatal error: Cannot redeclare wpgc_list_all_countries()
wpgc_options_nearby_range 0 conflicts Fatal error: Cannot redeclare wpgc_options_nearby_range()
wpgc_render_form 0 conflicts Fatal error: Cannot redeclare wpgc_render_form()
wpgc_shortcode_city 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_city()
wpgc_shortcode_country_code 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_country_code()
wpgc_shortcode_country_flag 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_country_flag()
wpgc_shortcode_country_name 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_country_name()
wpgc_shortcode_database_date 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_database_date()
wpgc_shortcode_distance_kilometers 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_distance_kilometers()
wpgc_shortcode_distance_miles 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_distance_miles()
wpgc_shortcode_env 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_env()
wpgc_shortcode_ip 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_ip()
wpgc_shortcode_latitude 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_latitude()
wpgc_shortcode_longitude 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_longitude()
wpgc_shortcode_postal_code 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_postal_code()
wpgc_shortcode_state_code 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_state_code()
wpgc_shortcode_state_name 0 conflicts Fatal error: Cannot redeclare wpgc_shortcode_state_name()
wpgc_validate_options 0 conflicts Fatal error: Cannot redeclare wpgc_validate_options()

Using WP Geocode from the command line with WP-CLI

The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.


How to install WP Geocode from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install wpgeocode


How to activate WP Geocode from the command line with WP-CLI

To immediately activate WP Geocode after WP-CLI downloads the latest version you can use the following command:

wp plugin install wpgeocode --activate


How to reinstall WP Geocode from the command line with WP-CLI

To force a reinstallation of WP Geocode which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install wpgeocode --force


How to update WP Geocode to the latest version from the command line with WP-CLI

wp plugin update wpgeocode


How to delete WP Geocode from the command line with WP-CLI

wp plugin delete wpgeocode

Where can you download earlier versions of WP Geocode?

Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of WP Geocode from the WordPress repository by visiting this link.

Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in WP Geocode

About our testing enviroment

Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9

It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with WP Geocode. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.