wpsnoop: fix Postcodes4U plugin conflicts, errors & issues

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


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

Get professional support for Postcodes4U here

When you need professional help with WordPress: get help here


What does Postcodes4U version 1.5.25.0 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Postcodes4U to perform differently in your installation, previous versions before 1.5.25.0 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.5.25.0 of Postcodes4U 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 Postcodes4U 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 Postcodes4U add to WordPress?

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

Type & Path Size Conflicts
wp-content/plugins/postcodes4u-address-finder/ 1.35MB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/ 323.55kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/admin-page.php 22.34kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/cf7_integration.php 11.13kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/css/ 2.59kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/css/pc4u_styles_v1-0.css 1.99kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/css/styles.css 618.00B No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/data-processing.php 132.00B No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/display-functions.php 18.32kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/gf_integration.php 152.70kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/gravity/ 3.19kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/gravity/pc4u_class-gf-fields.php 3.19kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/js/ 106.24kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/js/pc4u_wp_v1_5_17.js 106.24kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/scripts.php 1.82kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/includes/woo_integration.php 5.10kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/PC4u_1_5.png 79.03kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/postcodes4U.php 3.66kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/readme.txt 20.17kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/Screenshot-1.jpg 128.09kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/Screenshot-2.jpg 160.75kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/Screenshot-3.jpg 69.31kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/Screenshot-4.jpg 138.76kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/Screenshot-5.jpg 114.41kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/Screenshot-6.jpg 94.79kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/Screenshot-7.jpg 67.97kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/Screenshot-8.jpg 85.44kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/Screenshot-9.jpg 64.48kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/woocommerce/ 32.39kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/woocommerce/checkout/ 18.60kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/woocommerce/checkout/form-billing.php 9.63kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/woocommerce/checkout/form-shipping.php 8.97kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/woocommerce/myaccount/ 13.79kB No known conflicts with other themes or plugins.
wp-content/plugins/postcodes4u-address-finder/woocommerce/myaccount/form-edit-address.php 13.79kB No known conflicts with other themes or plugins.

Which new shortcodes does Postcodes4U add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[pc4u_contact_form] The pc4u_contact_form 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 Postcodes4U?

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

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

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

Function   Conflicts Common Errors
change_default_checkout_country 2 conflicts Fatal error: Cannot redeclare change_default_checkout_country()
pc4u_add_content 0 conflicts Fatal error: Cannot redeclare pc4u_add_content()
pc4u_add_options_link 0 conflicts Fatal error: Cannot redeclare pc4u_add_options_link()
pc4u_contactform7integration_init 0 conflicts Fatal error: Cannot redeclare pc4u_contactform7integration_init()
pc4u_contactform_html 0 conflicts Fatal error: Cannot redeclare pc4u_contactform_html()
pc4u_contactform_send 0 conflicts Fatal error: Cannot redeclare pc4u_contactform_send()
pc4u_contactform_valid 0 conflicts Fatal error: Cannot redeclare pc4u_contactform_valid()
pc4u_gravityformintegration_init 0 conflicts Fatal error: Cannot redeclare pc4u_gravityformintegration_init()
pc4u_load_admin_scripts 0 conflicts Fatal error: Cannot redeclare pc4u_load_admin_scripts()
pc4u_load_scripts 0 conflicts Fatal error: Cannot redeclare pc4u_load_scripts()
pc4u_options_page 0 conflicts Fatal error: Cannot redeclare pc4u_options_page()
pc4u_register_settings 0 conflicts Fatal error: Cannot redeclare pc4u_register_settings()
pc4u_save_data 0 conflicts Fatal error: Cannot redeclare pc4u_save_data()
pc4u_shortcode 0 conflicts Fatal error: Cannot redeclare pc4u_shortcode()
pc4u_validate_settings 0 conflicts Fatal error: Cannot redeclare pc4u_validate_settings()
pc4uplugin_plugin_path 0 conflicts Fatal error: Cannot redeclare pc4uplugin_plugin_path()
pc4uplugin_woocommerce_locate_template 0 conflicts Fatal error: Cannot redeclare pc4uplugin_woocommerce_locate_template()
postcodes4u_install 0 conflicts Fatal error: Cannot redeclare postcodes4u_install()
postcodes4u_remove 0 conflicts Fatal error: Cannot redeclare postcodes4u_remove()
postcodes4u_woocommerce_checkout_fields 0 conflicts Fatal error: Cannot redeclare postcodes4u_woocommerce_checkout_fields()
register_all_pc4u_scripts 0 conflicts Fatal error: Cannot redeclare register_all_pc4u_scripts()
register_safe_script 0 conflicts Fatal error: Cannot redeclare register_safe_script()
wpcf7_pc4u_add_formtags_pc4upostcode 0 conflicts Fatal error: Cannot redeclare wpcf7_pc4u_add_formtags_pc4upostcode()
wpcf7_pc4upostcode_formtag_handler 0 conflicts Fatal error: Cannot redeclare wpcf7_pc4upostcode_formtag_handler()
wpcf7_pc4upostcode_validation_filter 0 conflicts Fatal error: Cannot redeclare wpcf7_pc4upostcode_validation_filter()
wptuts_get_the_ip 0 conflicts Fatal error: Cannot redeclare wptuts_get_the_ip()

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

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

wp plugin install postcodes4u-address-finder


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

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

wp plugin install postcodes4u-address-finder --activate


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

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

wp plugin install postcodes4u-address-finder --force


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

wp plugin update postcodes4u-address-finder


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

wp plugin delete postcodes4u-address-finder

Where can you download earlier versions of Postcodes4U?

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 Postcodes4U 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 Postcodes4U

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