wpsnoop: fix Stock theme conflicts, errors & issues

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


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

Get professional support for Stock here

When you need professional help with WordPress: get help here


What does Stock version 1.1.1 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/themes/stock/ 378.65kB No known conflicts with other themes or plugins.
wp-content/themes/stock/404.php 1.65kB No known conflicts with other themes or plugins.
wp-content/themes/stock/archive.php 2.87kB No known conflicts with other themes or plugins.
wp-content/themes/stock/comments.php 2.49kB No known conflicts with other themes or plugins.
wp-content/themes/stock/content-none.php 1.04kB No known conflicts with other themes or plugins.
wp-content/themes/stock/content-page.php 700.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/content-search.php 787.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/content-single.php 1.03kB No known conflicts with other themes or plugins.
wp-content/themes/stock/content.php 1.00kB No known conflicts with other themes or plugins.
wp-content/themes/stock/editor-style.css 402.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/footer.php 599.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/functions.php 6.08kB No known conflicts with other themes or plugins.
wp-content/themes/stock/header.php 1.28kB No known conflicts with other themes or plugins.
wp-content/themes/stock/inc/ 13.34kB No known conflicts with other themes or plugins.
wp-content/themes/stock/inc/customizer.php 4.85kB No known conflicts with other themes or plugins.
wp-content/themes/stock/inc/extras.php 2.62kB No known conflicts with other themes or plugins.
wp-content/themes/stock/inc/jetpack.php 389.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/inc/template-tags.php 5.49kB No known conflicts with other themes or plugins.
wp-content/themes/stock/index.php 1.18kB No known conflicts with other themes or plugins.
wp-content/themes/stock/js/ 4.73kB No known conflicts with other themes or plugins.
wp-content/themes/stock/js/customizer.js 2.57kB No known conflicts with other themes or plugins.
wp-content/themes/stock/js/navigation.js 1.53kB No known conflicts with other themes or plugins.
wp-content/themes/stock/js/skip-link-focus-fix.js 650.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/languages/ 50.57kB No known conflicts with other themes or plugins.
wp-content/themes/stock/languages/readme.txt 253.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/languages/stock.mo 682.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/languages/stock.pot 49.66kB No known conflicts with other themes or plugins.
wp-content/themes/stock/layouts/ 546.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/layouts/content-sidebar.css 273.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/layouts/sidebar-content.css 273.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/LICENSE.txt 17.60kB No known conflicts with other themes or plugins.
wp-content/themes/stock/page.php 848.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/README.md 677.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/rtl.css 2.24kB No known conflicts with other themes or plugins.
wp-content/themes/stock/screenshot.png 240.61kB No known conflicts with other themes or plugins.
wp-content/themes/stock/search.php 1.02kB No known conflicts with other themes or plugins.
wp-content/themes/stock/searchform.php 613.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/sidebar.php 273.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/single.php 671.00B No known conflicts with other themes or plugins.
wp-content/themes/stock/style.css 23.29kB No known conflicts with other themes or plugins.
wp-content/themes/stock/template-full-width.php 680.00B No known conflicts with other themes or plugins.

Which new shortcodes does Stock add to WordPress?

Which new database tables are created by the WordPress theme Stock?

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

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

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

Function   Conflicts Common Errors
stock_body_classes 0 conflicts Fatal error: Cannot redeclare stock_body_classes()
stock_categorized_blog 0 conflicts Fatal error: Cannot redeclare stock_categorized_blog()
stock_category_transient_flusher 0 conflicts Fatal error: Cannot redeclare stock_category_transient_flusher()
stock_customize_preview_js 0 conflicts Fatal error: Cannot redeclare stock_customize_preview_js()
stock_customize_register 0 conflicts Fatal error: Cannot redeclare stock_customize_register()
stock_entry_footer 0 conflicts Fatal error: Cannot redeclare stock_entry_footer()
stock_get_default_colors 0 conflicts Fatal error: Cannot redeclare stock_get_default_colors()
stock_jetpack_setup 0 conflicts Fatal error: Cannot redeclare stock_jetpack_setup()
stock_list_comments_args 0 conflicts Fatal error: Cannot redeclare stock_list_comments_args()
stock_page_menu_args 0 conflicts Fatal error: Cannot redeclare stock_page_menu_args()
stock_paging_nav 0 conflicts Fatal error: Cannot redeclare stock_paging_nav()
stock_post_nav 0 conflicts Fatal error: Cannot redeclare stock_post_nav()
stock_posted_on 0 conflicts Fatal error: Cannot redeclare stock_posted_on()
stock_scripts 0 conflicts Fatal error: Cannot redeclare stock_scripts()
stock_setup 0 conflicts Fatal error: Cannot redeclare stock_setup()
stock_setup_author 0 conflicts Fatal error: Cannot redeclare stock_setup_author()
stock_widgets_init 0 conflicts Fatal error: Cannot redeclare stock_widgets_init()
stock_wp_title 0 conflicts Fatal error: Cannot redeclare stock_wp_title()

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

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

wp theme install stock


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

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

wp theme install stock --activate


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

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

wp theme install stock --force


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

wp theme update stock


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

wp theme delete stock --force

Where can you download earlier versions of Stock?

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

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