wpsnoop: fix WPML Country Detector plugin conflicts, errors & issues

When the plugin WPML Country Detector 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 WPML Country Detector, plus learn which plugins and/or themes could be in conflict with WPML Country Detector.


Troubleshooting theme and plugin conflicts is easier when you know what WPML Country Detector 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 WPML Country Detector

Get professional support for WPML Country Detector here

When you need professional help with WordPress: get help here


What does WPML Country Detector version 0.2 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for WPML Country Detector to perform differently in your installation, previous versions before 0.2 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 0.2 of WPML Country Detector 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 WPML Country Detector 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 WPML Country Detector add to WordPress?

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

Type & Path Size Conflicts
wp-content/plugins/wpml-country-detector/ 758.90kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/inc/ 729.29kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/inc/country-redirect.php 2.51kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/inc/GeoIP.dat 684.82kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/inc/geoip.inc 41.96kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/js/ 2.84kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/js/country-redirect.js 1.98kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/js/samplescript-admin.js 884.00B No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/lang/ 2.53kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/lang/messages.po 2.53kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/readme.txt 2.90kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/wcd-plugin-settings.class.php 4.87kB No known conflicts with other themes or plugins.
wp-content/plugins/wpml-country-detector/wpml-country-detector.php 16.46kB No known conflicts with other themes or plugins.

Which new shortcodes does WPML Country Detector add to WordPress?

Which new database tables are created by the WordPress plugin WPML Country Detector?

Which new options are added to the wp-options table by WPML Country Detector?

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

During use WPML Country Detector 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 WPML Country Detector declare when it is active?

Function   Conflicts Common Errors
_common_get_org 15 conflicts Fatal error: Cannot redeclare _common_get_org()
_geoip_seek_country 18 conflicts Fatal error: Cannot redeclare _geoip_seek_country()
_geoip_seek_country_v6 15 conflicts Fatal error: Cannot redeclare _geoip_seek_country_v6()
_get_org 19 conflicts Fatal error: Cannot redeclare _get_org()
_get_org_v6 16 conflicts Fatal error: Cannot redeclare _get_org_v6()
_get_region 18 conflicts Fatal error: Cannot redeclare _get_region()
_safe_substr 7 conflicts Fatal error: Cannot redeclare _safe_substr()
_setup_segments 18 conflicts Fatal error: Cannot redeclare _setup_segments()
geoip_close 18 conflicts Fatal error: Cannot redeclare geoip_close()
geoip_country_code_by_addr 18 conflicts Fatal error: Cannot redeclare geoip_country_code_by_addr()
geoip_country_code_by_addr_v6 15 conflicts Fatal error: Cannot redeclare geoip_country_code_by_addr_v6()
geoip_country_code_by_name 18 conflicts Fatal error: Cannot redeclare geoip_country_code_by_name()
geoip_country_code_by_name_v6 15 conflicts Fatal error: Cannot redeclare geoip_country_code_by_name_v6()
geoip_country_id_by_addr 18 conflicts Fatal error: Cannot redeclare geoip_country_id_by_addr()
geoip_country_id_by_addr_v6 15 conflicts Fatal error: Cannot redeclare geoip_country_id_by_addr_v6()
geoip_country_id_by_name 18 conflicts Fatal error: Cannot redeclare geoip_country_id_by_name()
geoip_country_id_by_name_v6 15 conflicts Fatal error: Cannot redeclare geoip_country_id_by_name_v6()
geoip_country_name_by_addr 18 conflicts Fatal error: Cannot redeclare geoip_country_name_by_addr()
geoip_country_name_by_addr_v6 15 conflicts Fatal error: Cannot redeclare geoip_country_name_by_addr_v6()
geoip_country_name_by_name 18 conflicts Fatal error: Cannot redeclare geoip_country_name_by_name()
geoip_country_name_by_name_v6 15 conflicts Fatal error: Cannot redeclare geoip_country_name_by_name_v6()
geoip_load_shared_mem 18 conflicts Fatal error: Cannot redeclare geoip_load_shared_mem()
geoip_name_by_addr 14 conflicts Fatal error: Cannot redeclare geoip_name_by_addr()
geoip_name_by_addr_v6 15 conflicts Fatal error: Cannot redeclare geoip_name_by_addr_v6()
geoip_open 18 conflicts Fatal error: Cannot redeclare geoip_open()
geoip_org_by_addr 18 conflicts Fatal error: Cannot redeclare geoip_org_by_addr()
geoip_region_by_addr 19 conflicts Fatal error: Cannot redeclare geoip_region_by_addr()
getdnsattributes 13 conflicts Fatal error: Cannot redeclare getdnsattributes()
wcd_on_activate_callback 0 conflicts Fatal error: Cannot redeclare wcd_on_activate_callback()
wcd_on_deactivate_callback 0 conflicts Fatal error: Cannot redeclare wcd_on_deactivate_callback()
wcdp_widgets_init 0 conflicts Fatal error: Cannot redeclare wcdp_widgets_init()

Using WPML Country Detector 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 WPML Country Detector from the command line with WP-CLI

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

wp plugin install wpml-country-detector


How to activate WPML Country Detector from the command line with WP-CLI

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

wp plugin install wpml-country-detector --activate


How to reinstall WPML Country Detector from the command line with WP-CLI

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

wp plugin install wpml-country-detector --force


How to update WPML Country Detector to the latest version from the command line with WP-CLI

wp plugin update wpml-country-detector


How to delete WPML Country Detector from the command line with WP-CLI

wp plugin delete wpml-country-detector

Where can you download earlier versions of WPML Country Detector?

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 WPML Country Detector 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 WPML Country Detector

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 WPML Country Detector. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.