wpsnoop: fix Black Hat theme conflicts, errors & issues

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


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

Get professional support for Black Hat here

When you need professional help with WordPress: get help here


What does Black Hat version 1.2 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Black Hat to perform differently in your installation, previous versions before 1.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 1.2 of Black Hat behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this theme 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 Black Hat by clicking here.

Our testing covered the free version of this theme 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 Black Hat add to WordPress?

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

Type & Path Size Conflicts
wp-content/themes/black-hat/ 152.61kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/404.php 979.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/archive.php 3.14kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/attachment.php 3.12kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/author.php 2.94kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/category.php 2.77kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/comments.php 5.35kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/footer.php 985.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/functions.php 22.29kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/header.php 6.37kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/hidden.css 84.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/ 28.06kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/404.png 4.63kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/apple-touch-icon.png 2.33kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/bullet.gif 73.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/bullet2.gif 70.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/cbubble.gif 947.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/comm_rss_icon.png 709.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/comments_icon.png 449.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/email.gif 2.52kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/facebook_icon.png 656.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/favadmin.ico 2.49kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/favicon.ico 2.49kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/favorite.gif 2.24kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/rss_feed.gif 3.02kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/rss.gif 608.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/search_magnifier.gif 741.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/sticky.gif 563.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/stripes.png 129.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/trackback_icon.png 534.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/twitter_icon.png 628.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/twitter.png 1.08kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/images/user.gif 1.29kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/index.php 2.79kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/left.css 58.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/legacy.comments.php 8.44kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/links.php 738.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/page.php 762.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/print.css 2.26kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/readme.htm 14.90kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/right.css 57.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/screenshot.png 15.16kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/search.php 3.72kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/sidebar.php 4.11kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/single.php 6.84kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/sitemap.php 2.17kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/style_rec_posts.css 64.00B No known conflicts with other themes or plugins.
wp-content/themes/black-hat/style.css 11.90kB No known conflicts with other themes or plugins.
wp-content/themes/black-hat/tag.php 2.62kB No known conflicts with other themes or plugins.

Which new shortcodes does Black Hat add to WordPress?

Which new database tables are created by the WordPress theme Black Hat?

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

Option Name   Known Conflicts
current_theme Potential conflict with 8753 plugins or themes
theme_mods_twentytwentytwo Potential conflict with 8767 plugins or themes
theme_switched Potential conflict with 8753 plugins or themes
theme_mods_black-hat The theme_mods_black-hat option doesn't have any known conflicts with other themes or plugins.

During use Black Hat may or may not create more options depending on how the theme is configured and depending on which other themes and plugins are active in your specific hosting environment.

What new PHP functions does Black Hat declare when it is active?

Function   Conflicts Common Errors
comment_count 19 conflicts Fatal error: Cannot redeclare comment_count()
fb_addgravatar 1 conflict Fatal error: Cannot redeclare fb_addgravatar()
gettinyurl 2 conflicts Fatal error: Cannot redeclare gettinyurl()
legacy_comments 98 conflicts Fatal error: Cannot redeclare legacy_comments()
list_pings 24 conflicts Fatal error: Cannot redeclare list_pings()
mytheme_add_admin 76 conflicts Fatal error: Cannot redeclare mytheme_add_admin()
mytheme_admin 77 conflicts Fatal error: Cannot redeclare mytheme_admin()
sandbox_body_class 6 conflicts Fatal error: Cannot redeclare sandbox_body_class()
sandbox_cats_meow 6 conflicts Fatal error: Cannot redeclare sandbox_cats_meow()
sandbox_comment_class 6 conflicts Fatal error: Cannot redeclare sandbox_comment_class()
sandbox_date_classes 6 conflicts Fatal error: Cannot redeclare sandbox_date_classes()
sandbox_globalnav 6 conflicts Fatal error: Cannot redeclare sandbox_globalnav()
sandbox_post_class 6 conflicts Fatal error: Cannot redeclare sandbox_post_class()
sandbox_tag_ur_it 6 conflicts Fatal error: Cannot redeclare sandbox_tag_ur_it()
sandbox_widgets_init 6 conflicts Fatal error: Cannot redeclare sandbox_widgets_init()
widget_mytheme_pages 10 conflicts Fatal error: Cannot redeclare widget_mytheme_pages()
widget_sandbox_meta 6 conflicts Fatal error: Cannot redeclare widget_sandbox_meta()
widget_sandbox_rsslinks 7 conflicts Fatal error: Cannot redeclare widget_sandbox_rsslinks()
widget_sandbox_rsslinks_control 7 conflicts Fatal error: Cannot redeclare widget_sandbox_rsslinks_control()
widget_sandbox_search 6 conflicts Fatal error: Cannot redeclare widget_sandbox_search()
favicon4admin 0 conflicts Fatal error: Cannot redeclare favicon4admin()
widget_mytheme_rsslinkies 0 conflicts Fatal error: Cannot redeclare widget_mytheme_rsslinkies()

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

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

wp theme install black-hat


How to activate Black Hat from the command line with WP-CLI

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

wp theme install black-hat --activate


How to reinstall Black Hat from the command line with WP-CLI

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

wp theme install black-hat --force


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

wp theme update black-hat


How to delete Black Hat from the command line with WP-CLI

wp theme delete black-hat --force

Where can you download earlier versions of Black Hat?

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 Black Hat 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 Black Hat

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