wpsnoop: fix consentmanager plugin conflicts, errors & issues

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


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

Get professional support for consentmanager here

When you need professional help with WordPress: get help here


What does consentmanager version 2.0.3 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/plugins/consent-manager/ 160.30kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/assets/ 135.76kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/assets/css/ 1.65kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/assets/css/admin.css 1.65kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/assets/images/ 134.11kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/assets/images/logo_neu.jpg 104.69kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/assets/images/logo_neu.png 19.21kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/assets/images/logo20.png 10.22kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/consentmanager.php 11.58kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/ConsentManagerMain.php 5.52kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/readme.txt 3.25kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/views/ 4.19kB No known conflicts with other themes or plugins.
wp-content/plugins/consent-manager/views/admin.php 4.19kB No known conflicts with other themes or plugins.

Which new shortcodes does consentmanager add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[consentmanager_cookies] The consentmanager_cookies shortcode doesn't have any known conflicts with other themes or plugins.
[consentmanager_vendors] The consentmanager_vendors 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 consentmanager?

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

What new PHP functions does consentmanager declare when it is active?

Function   Conflicts Common Errors
admin_register_head 37 conflicts Fatal error: Cannot redeclare admin_register_head()
buffer_end 8 conflicts Fatal error: Cannot redeclare buffer_end()
buffer_start 9 conflicts Fatal error: Cannot redeclare buffer_start()
do_stuff 1 conflict Fatal error: Cannot redeclare do_stuff()
dump 70 conflicts Fatal error: Cannot redeclare dump()
getsiteurl 1 conflict Fatal error: Cannot redeclare getsiteurl()
amp_body 0 conflicts Fatal error: Cannot redeclare amp_body()
amp_script 0 conflicts Fatal error: Cannot redeclare amp_script()
callbackforbuffer 0 conflicts Fatal error: Cannot redeclare callbackforbuffer()
consent_manager_inline_scripts 0 conflicts Fatal error: Cannot redeclare consent_manager_inline_scripts()
consent_manager_scripts 0 conflicts Fatal error: Cannot redeclare consent_manager_scripts()
consent_manager_style 0 conflicts Fatal error: Cannot redeclare consent_manager_style()
consentmanager_admin_action_links 0 conflicts Fatal error: Cannot redeclare consentmanager_admin_action_links()
consentmanagerdisplayadminpage 0 conflicts Fatal error: Cannot redeclare consentmanagerdisplayadminpage()
consentmanagermenu 0 conflicts Fatal error: Cannot redeclare consentmanagermenu()
getdomainfromurl 0 conflicts Fatal error: Cannot redeclare getdomainfromurl()
geturlfromstring 0 conflicts Fatal error: Cannot redeclare geturlfromstring()
sendunblockeddomaininfo 0 conflicts Fatal error: Cannot redeclare sendunblockeddomaininfo()
wp_consentmanager_cookielist_shortcode 0 conflicts Fatal error: Cannot redeclare wp_consentmanager_cookielist_shortcode()
wp_consentmanager_vendorlist_shortcode 0 conflicts Fatal error: Cannot redeclare wp_consentmanager_vendorlist_shortcode()

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

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

wp plugin install consent-manager


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

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

wp plugin install consent-manager --activate


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

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

wp plugin install consent-manager --force


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

wp plugin update consent-manager


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

wp plugin delete consent-manager

Where can you download earlier versions of consentmanager?

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

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