wpsnoop: fix AmaDiscount plugin conflicts, errors & issues

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


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

Get professional support for AmaDiscount here

When you need professional help with WordPress: get help here


What does AmaDiscount version 1.0 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/plugins/amadiscount/ 528.97kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/adp_config.php 5.13kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/adp_errors.log 35.00B No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/adp_functions.php 25.10kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/adp_search.php 16.99kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/ 440.17kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/adp.png 213.42kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/canada.png 707.00B No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/china.jpg 18.50kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/keyword.png 2.66kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/pig.png 2.23kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/price.png 4.77kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/search_logo_old_trans.png 11.24kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/search_logo_old.png 12.11kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/search_logo.png 168.03kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/shop.png 4.88kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/toggle.png 1.39kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/uk.gif 149.00B No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/images/us.gif 115.00B No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/jquery-ui.css 34.39kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/readme.txt 3.05kB No known conflicts with other themes or plugins.
wp-content/plugins/amadiscount/style.css 4.11kB No known conflicts with other themes or plugins.

Which new shortcodes does AmaDiscount add to WordPress?

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

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

Option Name   Known Conflicts
Activated_Plugin Potential conflict with 36 plugins or themes

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

Function   Conflicts Common Errors
adp_admin_actions 0 conflicts Fatal error: Cannot redeclare adp_admin_actions()
adp_amazonsearch 0 conflicts Fatal error: Cannot redeclare adp_amazonsearch()
adp_arraysort 0 conflicts Fatal error: Cannot redeclare adp_arraysort()
adp_aws_locale 0 conflicts Fatal error: Cannot redeclare adp_aws_locale()
adp_config 0 conflicts Fatal error: Cannot redeclare adp_config()
adp_credentials_menu 0 conflicts Fatal error: Cannot redeclare adp_credentials_menu()
adp_form 0 conflicts Fatal error: Cannot redeclare adp_form()
adp_geo 0 conflicts Fatal error: Cannot redeclare adp_geo()
adp_install 0 conflicts Fatal error: Cannot redeclare adp_install()
adp_item_list 0 conflicts Fatal error: Cannot redeclare adp_item_list()
adp_item_preview 0 conflicts Fatal error: Cannot redeclare adp_item_preview()
adp_item_search 0 conflicts Fatal error: Cannot redeclare adp_item_search()
adp_load_plugin 0 conflicts Fatal error: Cannot redeclare adp_load_plugin()
adp_plugin_activate 0 conflicts Fatal error: Cannot redeclare adp_plugin_activate()
adp_plugin_deactivate 0 conflicts Fatal error: Cannot redeclare adp_plugin_deactivate()
adp_restore_search 0 conflicts Fatal error: Cannot redeclare adp_restore_search()
adp_script 0 conflicts Fatal error: Cannot redeclare adp_script()
adp_search_menu 0 conflicts Fatal error: Cannot redeclare adp_search_menu()
adp_update_searches 0 conflicts Fatal error: Cannot redeclare adp_update_searches()
adp_verifycredentials 0 conflicts Fatal error: Cannot redeclare adp_verifycredentials()

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

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

wp plugin install amadiscount


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

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

wp plugin install amadiscount --activate


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

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

wp plugin install amadiscount --force


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

wp plugin update amadiscount


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

wp plugin delete amadiscount

Where can you download earlier versions of AmaDiscount?

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

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