wpsnoop: fix Petals theme conflicts, errors & issues

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


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

Get professional support for Petals here

When you need professional help with WordPress: get help here


What does Petals version 1.3 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Petals 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 Petals 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 Petals 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 Petals add to WordPress?

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

Type & Path Size Conflicts
wp-content/themes/petals/ 2.90MB No known conflicts with other themes or plugins.
wp-content/themes/petals/404.php 1.24kB No known conflicts with other themes or plugins.
wp-content/themes/petals/archive.php 1.09kB No known conflicts with other themes or plugins.
wp-content/themes/petals/comments.php 1.83kB No known conflicts with other themes or plugins.
wp-content/themes/petals/footer.php 1.07kB No known conflicts with other themes or plugins.
wp-content/themes/petals/functions.php 7.41kB No known conflicts with other themes or plugins.
wp-content/themes/petals/header.php 9.34kB No known conflicts with other themes or plugins.
wp-content/themes/petals/inc/ 33.07kB No known conflicts with other themes or plugins.
wp-content/themes/petals/inc/custom-header.php 1.86kB No known conflicts with other themes or plugins.
wp-content/themes/petals/inc/customizer.php 22.63kB No known conflicts with other themes or plugins.
wp-content/themes/petals/inc/jetpack.php 2.75kB No known conflicts with other themes or plugins.
wp-content/themes/petals/inc/template-functions.php 1.44kB No known conflicts with other themes or plugins.
wp-content/themes/petals/inc/template-tags.php 4.39kB No known conflicts with other themes or plugins.
wp-content/themes/petals/index.php 1.31kB No known conflicts with other themes or plugins.
wp-content/themes/petals/js/ 4.50kB No known conflicts with other themes or plugins.
wp-content/themes/petals/js/customizer.js 953.00B No known conflicts with other themes or plugins.
wp-content/themes/petals/js/navigation.js 2.90kB No known conflicts with other themes or plugins.
wp-content/themes/petals/js/skip-link-focus-fix.js 685.00B No known conflicts with other themes or plugins.
wp-content/themes/petals/page.php 1.02kB No known conflicts with other themes or plugins.
wp-content/themes/petals/readme.txt 4.33kB No known conflicts with other themes or plugins.
wp-content/themes/petals/resources/ 2.58MB No known conflicts with other themes or plugins.
wp-content/themes/petals/resources/gardens.png 1.04MB No known conflicts with other themes or plugins.
wp-content/themes/petals/resources/items.png 441.27kB No known conflicts with other themes or plugins.
wp-content/themes/petals/resources/mountains.png 403.75kB No known conflicts with other themes or plugins.
wp-content/themes/petals/resources/rain.png 382.25kB No known conflicts with other themes or plugins.
wp-content/themes/petals/resources/sunset.png 344.97kB No known conflicts with other themes or plugins.
wp-content/themes/petals/rtl.css 744.00B No known conflicts with other themes or plugins.
wp-content/themes/petals/screenshot.png 227.27kB No known conflicts with other themes or plugins.
wp-content/themes/petals/search.php 1.13kB No known conflicts with other themes or plugins.
wp-content/themes/petals/sidebar.php 348.00B No known conflicts with other themes or plugins.
wp-content/themes/petals/single.php 896.00B No known conflicts with other themes or plugins.
wp-content/themes/petals/style.css 26.79kB No known conflicts with other themes or plugins.
wp-content/themes/petals/template-parts/ 4.59kB No known conflicts with other themes or plugins.
wp-content/themes/petals/template-parts/content-none.php 1.23kB No known conflicts with other themes or plugins.
wp-content/themes/petals/template-parts/content-page.php 1.15kB No known conflicts with other themes or plugins.
wp-content/themes/petals/template-parts/content-search.php 882.00B No known conflicts with other themes or plugins.
wp-content/themes/petals/template-parts/content.php 1.35kB No known conflicts with other themes or plugins.

Which new shortcodes does Petals add to WordPress?

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

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

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

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

Function   Conflicts Common Errors
petals_body_classes 0 conflicts Fatal error: Cannot redeclare petals_body_classes()
petals_content_width 0 conflicts Fatal error: Cannot redeclare petals_content_width()
petals_custom_colours 0 conflicts Fatal error: Cannot redeclare petals_custom_colours()
petals_custom_header_setup 0 conflicts Fatal error: Cannot redeclare petals_custom_header_setup()
petals_customize_partial_blogdescription 0 conflicts Fatal error: Cannot redeclare petals_customize_partial_blogdescription()
petals_customize_partial_blogname 0 conflicts Fatal error: Cannot redeclare petals_customize_partial_blogname()
petals_customize_preview_js 0 conflicts Fatal error: Cannot redeclare petals_customize_preview_js()
petals_customize_register 0 conflicts Fatal error: Cannot redeclare petals_customize_register()
petals_customizer_styling 0 conflicts Fatal error: Cannot redeclare petals_customizer_styling()
petals_entry_footer 0 conflicts Fatal error: Cannot redeclare petals_entry_footer()
petals_header_style 0 conflicts Fatal error: Cannot redeclare petals_header_style()
petals_pingback_header 0 conflicts Fatal error: Cannot redeclare petals_pingback_header()
petals_post_thumbnail 0 conflicts Fatal error: Cannot redeclare petals_post_thumbnail()
petals_posted_by 0 conflicts Fatal error: Cannot redeclare petals_posted_by()
petals_posted_on 0 conflicts Fatal error: Cannot redeclare petals_posted_on()
petals_scripts 0 conflicts Fatal error: Cannot redeclare petals_scripts()
petals_setup 0 conflicts Fatal error: Cannot redeclare petals_setup()
petals_widgets_init 0 conflicts Fatal error: Cannot redeclare petals_widgets_init()

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

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

wp theme install petals


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

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

wp theme install petals --activate


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

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

wp theme install petals --force


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

wp theme update petals


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

wp theme delete petals --force

Where can you download earlier versions of Petals?

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

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