wpsnoop: fix WP Download Codes plugin conflicts, errors & issues

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


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

Get professional support for WP Download Codes here

When you need professional help with WordPress: get help here


What does WP Download Codes version 2.5.4 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for WP Download Codes to perform differently in your installation, previous versions before 2.5.4 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 2.5.4 of WP Download Codes 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 Download Codes 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 Download Codes add to WordPress?

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

Type & Path Size Conflicts
wp-content/plugins/wp-download-codes/ 79.07kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/ 60.23kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/admin/ 31.43kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/admin/admin-menu.php 1.87kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/admin/download-code-settings.php 7.99kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/admin/help.php 478.00B No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/admin/main.php 3.63kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/admin/manage-codes.php 9.05kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/admin/manage-releases.php 8.43kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/download.php 3.82kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/helpers/ 20.73kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/helpers/db.php 13.95kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/helpers/file.php 3.18kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/helpers/messages.php 1.39kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/helpers/options.php 892.00B No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/helpers/string.php 1.34kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/includes/shortcode.php 4.25kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/index.html 1.00B No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/README.txt 10.45kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/resources/ 5.76kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/resources/css/ 1.91kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/resources/css/buttons/ 1.07kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/resources/css/buttons/close.png 1.07kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/resources/css/wp-download-codes.css 855.00B No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/resources/icon.png 732.00B No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/resources/js/ 3.14kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/resources/js/wp-download-codes.js 3.14kB No known conflicts with other themes or plugins.
wp-content/plugins/wp-download-codes/wp-download-codes.php 2.63kB No known conflicts with other themes or plugins.

Which new shortcodes does WP Download Codes add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[download-code] The download-code 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 Download Codes?

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

Option Name   Known Conflicts
dc_version Potential conflict with 1 plugin or theme

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

Function   Conflicts Common Errors
dc_admin_menu 1 conflict Fatal error: Cannot redeclare dc_admin_menu()
dc_init 2 conflicts Fatal error: Cannot redeclare dc_init()
format_bytes 2 conflicts Fatal error: Cannot redeclare format_bytes()
get_mime_content_type 1 conflict Fatal error: Cannot redeclare get_mime_content_type()
rand_str 1 conflict Fatal error: Cannot redeclare rand_str()
dc_add_release 0 conflicts Fatal error: Cannot redeclare dc_add_release()
dc_admin_init 0 conflicts Fatal error: Cannot redeclare dc_admin_init()
dc_admin_message 0 conflicts Fatal error: Cannot redeclare dc_admin_message()
dc_code_chars 0 conflicts Fatal error: Cannot redeclare dc_code_chars()
dc_delete_codes 0 conflicts Fatal error: Cannot redeclare dc_delete_codes()
dc_delete_release 0 conflicts Fatal error: Cannot redeclare dc_delete_release()
dc_edit_release 0 conflicts Fatal error: Cannot redeclare dc_edit_release()
dc_embed_download_code_form 0 conflicts Fatal error: Cannot redeclare dc_embed_download_code_form()
dc_file_location 0 conflicts Fatal error: Cannot redeclare dc_file_location()
dc_file_types 0 conflicts Fatal error: Cannot redeclare dc_file_types()
dc_finalize_codes 0 conflicts Fatal error: Cannot redeclare dc_finalize_codes()
dc_generate_codes 0 conflicts Fatal error: Cannot redeclare dc_generate_codes()
dc_get_code_groups 0 conflicts Fatal error: Cannot redeclare dc_get_code_groups()
dc_get_codes 0 conflicts Fatal error: Cannot redeclare dc_get_codes()
dc_get_hosting_types 0 conflicts Fatal error: Cannot redeclare dc_get_hosting_types()
dc_get_release 0 conflicts Fatal error: Cannot redeclare dc_get_release()
dc_get_releases 0 conflicts Fatal error: Cannot redeclare dc_get_releases()
dc_header_content_type 0 conflicts Fatal error: Cannot redeclare dc_header_content_type()
dc_help 0 conflicts Fatal error: Cannot redeclare dc_help()
dc_import_codes 0 conflicts Fatal error: Cannot redeclare dc_import_codes()
dc_is_default_hosting_type 0 conflicts Fatal error: Cannot redeclare dc_is_default_hosting_type()
dc_is_valid_url 0 conflicts Fatal error: Cannot redeclare dc_is_valid_url()
dc_list_codes 0 conflicts Fatal error: Cannot redeclare dc_list_codes()
dc_list_downloads 0 conflicts Fatal error: Cannot redeclare dc_list_downloads()
dc_manage_codes 0 conflicts Fatal error: Cannot redeclare dc_manage_codes()
dc_manage_releases 0 conflicts Fatal error: Cannot redeclare dc_manage_releases()
dc_manage_settings 0 conflicts Fatal error: Cannot redeclare dc_manage_settings()
dc_max_attempts 0 conflicts Fatal error: Cannot redeclare dc_max_attempts()
dc_msg 0 conflicts Fatal error: Cannot redeclare dc_msg()
dc_reset_downloads 0 conflicts Fatal error: Cannot redeclare dc_reset_downloads()
dc_resources_admin_head 0 conflicts Fatal error: Cannot redeclare dc_resources_admin_head()
dc_send_download_headers 0 conflicts Fatal error: Cannot redeclare dc_send_download_headers()
dc_tbl_code_groups 0 conflicts Fatal error: Cannot redeclare dc_tbl_code_groups()
dc_tbl_codes 0 conflicts Fatal error: Cannot redeclare dc_tbl_codes()
dc_tbl_downloads 0 conflicts Fatal error: Cannot redeclare dc_tbl_downloads()
dc_tbl_releases 0 conflicts Fatal error: Cannot redeclare dc_tbl_releases()
dc_trim_value 0 conflicts Fatal error: Cannot redeclare dc_trim_value()
dc_uninstall 0 conflicts Fatal error: Cannot redeclare dc_uninstall()
dc_xsendfile_enabled 0 conflicts Fatal error: Cannot redeclare dc_xsendfile_enabled()

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

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

wp plugin install wp-download-codes


How to activate WP Download Codes from the command line with WP-CLI

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

wp plugin install wp-download-codes --activate


How to reinstall WP Download Codes from the command line with WP-CLI

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

wp plugin install wp-download-codes --force


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

wp plugin update wp-download-codes


How to delete WP Download Codes from the command line with WP-CLI

wp plugin delete wp-download-codes

Where can you download earlier versions of WP Download Codes?

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 Download Codes 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 Download Codes

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