wpsnoop: fix WP Castle theme conflicts, errors & issues

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


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

Get professional support for WP Castle here

When you need professional help with WordPress: get help here


What does WP Castle version 1.3 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/themes/wp-castle/ 224.64kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/404.php 962.00B No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/archive.php 1.93kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/class-tgm-plugin-activation.php 93.81kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/comments.php 1.25kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/footer.php 469.00B No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/functions.php 12.64kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/header.php 1.54kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/images/ 573.00B No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/images/ad468.gif 573.00B No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/ 54.44kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/css/ 4.35kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/css/optionsframework.css 4.35kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/images/ 715.00B No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/images/ico-delete.png 715.00B No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/includes/ 42.32kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/includes/class-options-framework-admin.php 9.29kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/includes/class-options-framework.php 2.26kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/includes/class-options-interface.php 15.34kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/includes/class-options-media-uploader.php 3.62kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/includes/class-options-sanitization.php 11.81kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/js/ 4.49kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/js/media-uploader.js 2.84kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/js/options-custom.js 1.65kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/inc/options-framework.php 2.59kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/index.php 1.42kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/languages/ No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/options.php 1.47kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/page.php 474.00B No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/readme.txt 1.17kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/screenshot.png 33.89kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/search.php 1.46kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/sidebar.php 134.00B No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/single.php 1.63kB No known conflicts with other themes or plugins.
wp-content/themes/wp-castle/style.css 15.44kB No known conflicts with other themes or plugins.

Which new shortcodes does WP Castle add to WordPress?

Which new database tables are created by the WordPress theme WP Castle?

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

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_wp-castle The theme_mods_wp-castle option doesn't have any known conflicts with other themes or plugins.

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

Function   Conflicts Common Errors
custom_sanitize_textarea 3 conflicts Fatal error: Cannot redeclare custom_sanitize_textarea()
of_get_option 173 conflicts Fatal error: Cannot redeclare of_get_option()
optionscheck_change_santiziation 4 conflicts Fatal error: Cannot redeclare optionscheck_change_santiziation()
optionsframework_option_name 41 conflicts Fatal error: Cannot redeclare optionsframework_option_name()
optionsframework_options 39 conflicts Fatal error: Cannot redeclare optionsframework_options()
tgmpa 2969 conflicts Fatal error: Cannot redeclare tgmpa()
wp_castle_excerpt_length 0 conflicts Fatal error: Cannot redeclare wp_castle_excerpt_length()
wp_castle_excerpt_more 0 conflicts Fatal error: Cannot redeclare wp_castle_excerpt_more()
wp_castle_page_menu_args 0 conflicts Fatal error: Cannot redeclare wp_castle_page_menu_args()
wp_castle_register_menus 0 conflicts Fatal error: Cannot redeclare wp_castle_register_menus()
wp_castle_register_required_plugins 0 conflicts Fatal error: Cannot redeclare wp_castle_register_required_plugins()
wp_castle_render_title 0 conflicts Fatal error: Cannot redeclare wp_castle_render_title()
wp_castle_scripts_styles 0 conflicts Fatal error: Cannot redeclare wp_castle_scripts_styles()
wp_castle_searchfilter 0 conflicts Fatal error: Cannot redeclare wp_castle_searchfilter()
wp_castle_theme_setup 0 conflicts Fatal error: Cannot redeclare wp_castle_theme_setup()
wp_castle_title 0 conflicts Fatal error: Cannot redeclare wp_castle_title()
wp_castle_valid_search_form 0 conflicts Fatal error: Cannot redeclare wp_castle_valid_search_form()
wp_castle_widgets_init 0 conflicts Fatal error: Cannot redeclare wp_castle_widgets_init()
wp_castle_wp_pagination 0 conflicts Fatal error: Cannot redeclare wp_castle_wp_pagination()
wp_castle_wp_title 0 conflicts Fatal error: Cannot redeclare wp_castle_wp_title()

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

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

wp theme install wp-castle


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

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

wp theme install wp-castle --activate


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

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

wp theme install wp-castle --force


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

wp theme update wp-castle


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

wp theme delete wp-castle --force

Where can you download earlier versions of WP Castle?

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

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