wpsnoop: fix Mocktail theme conflicts, errors & issues

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


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

Get professional support for Mocktail here

When you need professional help with WordPress: get help here


What does Mocktail version 1.0.7 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/themes/cocktail/ 1.81MB The wp-content/themes/cocktail/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/404.php 985.00B The wp-content/themes/cocktail/404.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/archive.php 1.09kB The wp-content/themes/cocktail/archive.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/ 1.11MB The wp-content/themes/cocktail/assets/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/ 1.10MB The wp-content/themes/cocktail/assets/font-awesome/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/css/ 66.81kB The wp-content/themes/cocktail/assets/font-awesome/css/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/css/font-awesome.css 36.54kB The wp-content/themes/cocktail/assets/font-awesome/css/font-awesome.css file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/css/font-awesome.min.css 30.27kB The wp-content/themes/cocktail/assets/font-awesome/css/font-awesome.min.css file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/fonts/ 1.04MB The wp-content/themes/cocktail/assets/font-awesome/fonts/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/fonts/fontawesome-webfont.eot 161.86kB The wp-content/themes/cocktail/assets/font-awesome/fonts/fontawesome-webfont.eot file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/fonts/fontawesome-webfont.svg 433.96kB The wp-content/themes/cocktail/assets/font-awesome/fonts/fontawesome-webfont.svg file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/fonts/fontawesome-webfont.ttf 161.67kB The wp-content/themes/cocktail/assets/font-awesome/fonts/fontawesome-webfont.ttf file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/fonts/fontawesome-webfont.woff 95.73kB The wp-content/themes/cocktail/assets/font-awesome/fonts/fontawesome-webfont.woff file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/fonts/fontawesome-webfont.woff2 75.35kB The wp-content/themes/cocktail/assets/font-awesome/fonts/fontawesome-webfont.woff2 file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/font-awesome/fonts/FontAwesome.otf 131.65kB The wp-content/themes/cocktail/assets/font-awesome/fonts/FontAwesome.otf file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/sticky/ 14.58kB The wp-content/themes/cocktail/assets/sticky/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/sticky/jquery.sticky.min.js 4.22kB The wp-content/themes/cocktail/assets/sticky/jquery.sticky.min.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/sticky/source/ 10.16kB The wp-content/themes/cocktail/assets/sticky/source/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/sticky/source/jquery.sticky.js 9.85kB The wp-content/themes/cocktail/assets/sticky/source/jquery.sticky.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/sticky/source/sticky-settings.js 314.00B The wp-content/themes/cocktail/assets/sticky/source/sticky-settings.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/assets/sticky/sticky-settings.js 204.00B The wp-content/themes/cocktail/assets/sticky/sticky-settings.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/comments.php 1.46kB The wp-content/themes/cocktail/comments.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/content.php 3.78kB The wp-content/themes/cocktail/content.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/css/ 15.69kB The wp-content/themes/cocktail/css/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/css/editor-style.css 5.36kB The wp-content/themes/cocktail/css/editor-style.css file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/css/responsive.css 10.33kB The wp-content/themes/cocktail/css/responsive.css file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/footer.php 3.29kB The wp-content/themes/cocktail/footer.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/functions.php 10.89kB The wp-content/themes/cocktail/functions.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/header.php 6.32kB The wp-content/themes/cocktail/header.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/images/ 111.07kB The wp-content/themes/cocktail/images/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/images/header-image.jpg 111.07kB The wp-content/themes/cocktail/images/header-image.jpg file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/ 54.25kB The wp-content/themes/cocktail/inc/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/css/ 721.00B The wp-content/themes/cocktail/inc/css/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/css/cocktail-customizer.css 721.00B The wp-content/themes/cocktail/inc/css/cocktail-customizer.css file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/customizer/ 26.01kB The wp-content/themes/cocktail/inc/customizer/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/customizer/cocktail-default-values.php 2.13kB The wp-content/themes/cocktail/inc/customizer/cocktail-default-values.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/customizer/functions/ 23.88kB The wp-content/themes/cocktail/inc/customizer/functions/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/customizer/functions/color-options.php 367.00B The wp-content/themes/cocktail/inc/customizer/functions/color-options.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/customizer/functions/design-options.php 5.15kB The wp-content/themes/cocktail/inc/customizer/functions/design-options.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/customizer/functions/frontpage-features.php 4.04kB The wp-content/themes/cocktail/inc/customizer/functions/frontpage-features.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/customizer/functions/register-panel.php 1.63kB The wp-content/themes/cocktail/inc/customizer/functions/register-panel.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/customizer/functions/sanitize-functions.php 1.15kB The wp-content/themes/cocktail/inc/customizer/functions/sanitize-functions.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/customizer/functions/theme-options.php 11.54kB The wp-content/themes/cocktail/inc/customizer/functions/theme-options.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/js/ 1.52kB The wp-content/themes/cocktail/inc/js/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/js/cocktail-customizer.css 1.20kB The wp-content/themes/cocktail/inc/js/cocktail-customizer.css file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/js/customizer-custom-scripts.js 328.00B The wp-content/themes/cocktail/inc/js/customizer-custom-scripts.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/settings/ 14.68kB The wp-content/themes/cocktail/inc/settings/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/settings/cocktail-common-functions.php 2.51kB The wp-content/themes/cocktail/inc/settings/cocktail-common-functions.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/settings/cocktail-functions.php 9.69kB The wp-content/themes/cocktail/inc/settings/cocktail-functions.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/settings/welcome-notice.php 2.48kB The wp-content/themes/cocktail/inc/settings/welcome-notice.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/upgrade-plus/ 3.31kB The wp-content/themes/cocktail/inc/upgrade-plus/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/upgrade-plus/class-customize.php 1.98kB The wp-content/themes/cocktail/inc/upgrade-plus/class-customize.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/upgrade-plus/section-pro.php 1.33kB The wp-content/themes/cocktail/inc/upgrade-plus/section-pro.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/widgets/ 8.02kB The wp-content/themes/cocktail/inc/widgets/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/widgets/widgets-functions/ 8.02kB The wp-content/themes/cocktail/inc/widgets/widgets-functions/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/widgets/widgets-functions/popular-posts.php 5.16kB The wp-content/themes/cocktail/inc/widgets/widgets-functions/popular-posts.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/inc/widgets/widgets-functions/register-widgets.php 2.86kB The wp-content/themes/cocktail/inc/widgets/widgets-functions/register-widgets.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/index.php 1.01kB The wp-content/themes/cocktail/index.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/js/ 24.11kB The wp-content/themes/cocktail/js/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/js/cocktail-main.js 2.29kB The wp-content/themes/cocktail/js/cocktail-main.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/js/html5.js 2.58kB The wp-content/themes/cocktail/js/html5.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/js/navigation.js 1.50kB The wp-content/themes/cocktail/js/navigation.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/js/skip-link-focus-fix.js 325.00B The wp-content/themes/cocktail/js/skip-link-focus-fix.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/js/source/ 17.42kB The wp-content/themes/cocktail/js/source/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/js/source/cocktail-main.js 3.53kB The wp-content/themes/cocktail/js/source/cocktail-main.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/js/source/html5.js 10.08kB The wp-content/themes/cocktail/js/source/html5.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/js/source/navigation.js 3.14kB The wp-content/themes/cocktail/js/source/navigation.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/js/source/skip-link-focus-fix.js 684.00B The wp-content/themes/cocktail/js/source/skip-link-focus-fix.js file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/page-templates/ 9.97kB The wp-content/themes/cocktail/page-templates/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/page-templates/contact-template.php 2.86kB The wp-content/themes/cocktail/page-templates/contact-template.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/page-templates/frontpage-features.php 5.72kB The wp-content/themes/cocktail/page-templates/frontpage-features.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/page-templates/gallery-template.php 1.38kB The wp-content/themes/cocktail/page-templates/gallery-template.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/page.php 1.92kB The wp-content/themes/cocktail/page.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/pagination.php 739.00B The wp-content/themes/cocktail/pagination.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/readme.txt 5.82kB The wp-content/themes/cocktail/readme.txt file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/screenshot.jpg 377.92kB The wp-content/themes/cocktail/screenshot.jpg file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/search.php 0.98kB The wp-content/themes/cocktail/search.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/searchform.php 700.00B The wp-content/themes/cocktail/searchform.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/sidebar.php 1.32kB The wp-content/themes/cocktail/sidebar.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/single.php 4.83kB The wp-content/themes/cocktail/single.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/style.css 72.39kB The wp-content/themes/cocktail/style.css file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/template-parts/ 3.30kB The wp-content/themes/cocktail/template-parts/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/template-parts/content-excerpt.php 3.30kB The wp-content/themes/cocktail/template-parts/content-excerpt.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/woocommerce.php 1.24kB The wp-content/themes/cocktail/woocommerce.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/woocommerce/ 377.00B The wp-content/themes/cocktail/woocommerce/ directory has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/woocommerce/functions.php 377.00B The wp-content/themes/cocktail/woocommerce/functions.php file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/cocktail/wpml-config.xml 196.00B The wp-content/themes/cocktail/wpml-config.xml file has potential conflicts with at least 2 other plugins or themes.
wp-content/themes/mocktail/ 487.46kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/css/ 11.37kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/css/blue-color-style.css 2.84kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/css/green-color-style.css 2.84kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/css/purple-color-style.css 2.84kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/css/red-color-style.css 2.84kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/functions.php 7.25kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/header.php 6.32kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/inc/ 7.28kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/inc/customizer/ 1.51kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/inc/customizer/customizer-custom-scripts.js 322.00B No known conflicts with other themes or plugins.
wp-content/themes/mocktail/inc/customizer/mocktail-customizer.css 1.20kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/inc/upgrade-plus/ 3.28kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/inc/upgrade-plus/class-customize.php 1.97kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/inc/upgrade-plus/section-pro.php 1.31kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/inc/welcome-notice.php 2.48kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/readme.txt 4.36kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/screenshot.jpg 446.12kB No known conflicts with other themes or plugins.
wp-content/themes/mocktail/style.css 4.76kB No known conflicts with other themes or plugins.

Which new shortcodes does Mocktail add to WordPress?

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

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

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
widget_cocktail_popular_widgets Potential conflict with 2 plugins or themes
theme_mods_mocktail The theme_mods_mocktail option doesn't have any known conflicts with other themes or plugins.

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

Function   Conflicts Common Errors
cocktail_body_class 2 conflicts Fatal error: Cannot redeclare cocktail_body_class()
cocktail_breadcrumb 2 conflicts Fatal error: Cannot redeclare cocktail_breadcrumb()
cocktail_categories_lists 2 conflicts Fatal error: Cannot redeclare cocktail_categories_lists()
cocktail_checkbox_integer 2 conflicts Fatal error: Cannot redeclare cocktail_checkbox_integer()
cocktail_comment_nav 2 conflicts Fatal error: Cannot redeclare cocktail_comment_nav()
cocktail_content_width 2 conflicts Fatal error: Cannot redeclare cocktail_content_width()
cocktail_continue_reading 2 conflicts Fatal error: Cannot redeclare cocktail_continue_reading()
cocktail_custom_header_setup 2 conflicts Fatal error: Cannot redeclare cocktail_custom_header_setup()
cocktail_customize_partial_blogdescription 2 conflicts Fatal error: Cannot redeclare cocktail_customize_partial_blogdescription()
cocktail_customize_partial_blogname 2 conflicts Fatal error: Cannot redeclare cocktail_customize_partial_blogname()
cocktail_customize_register 2 conflicts Fatal error: Cannot redeclare cocktail_customize_register()
cocktail_customize_register_colors 2 conflicts Fatal error: Cannot redeclare cocktail_customize_register_colors()
cocktail_customize_register_frontpage_features 2 conflicts Fatal error: Cannot redeclare cocktail_customize_register_frontpage_features()
cocktail_customize_register_options 2 conflicts Fatal error: Cannot redeclare cocktail_customize_register_options()
cocktail_customize_register_wordpress_default 2 conflicts Fatal error: Cannot redeclare cocktail_customize_register_wordpress_default()
cocktail_customize_scripts 2 conflicts Fatal error: Cannot redeclare cocktail_customize_scripts()
cocktail_excerpt_length 2 conflicts Fatal error: Cannot redeclare cocktail_excerpt_length()
cocktail_frontpage_features 2 conflicts Fatal error: Cannot redeclare cocktail_frontpage_features()
cocktail_frontpage_footer_posts 2 conflicts Fatal error: Cannot redeclare cocktail_frontpage_footer_posts()
cocktail_get_option_defaults_values 2 conflicts Fatal error: Cannot redeclare cocktail_get_option_defaults_values()
cocktail_get_theme_options 2 conflicts Fatal error: Cannot redeclare cocktail_get_theme_options()
cocktail_header_display 2 conflicts Fatal error: Cannot redeclare cocktail_header_display()
cocktail_header_image_widget_slider 2 conflicts Fatal error: Cannot redeclare cocktail_header_image_widget_slider()
cocktail_numeric_value 2 conflicts Fatal error: Cannot redeclare cocktail_numeric_value()
cocktail_reset_alls 2 conflicts Fatal error: Cannot redeclare cocktail_reset_alls()
cocktail_responsiveness 2 conflicts Fatal error: Cannot redeclare cocktail_responsiveness()
cocktail_sanitize_category_select 2 conflicts Fatal error: Cannot redeclare cocktail_sanitize_category_select()
cocktail_sanitize_select 2 conflicts Fatal error: Cannot redeclare cocktail_sanitize_select()
cocktail_scripts 2 conflicts Fatal error: Cannot redeclare cocktail_scripts()
cocktail_setup 2 conflicts Fatal error: Cannot redeclare cocktail_setup()
cocktail_social_links_display 2 conflicts Fatal error: Cannot redeclare cocktail_social_links_display()
cocktail_stite_branding_for_stickyheader_sidesidebar 2 conflicts Fatal error: Cannot redeclare cocktail_stite_branding_for_stickyheader_sidesidebar()
cocktail_tag_lists 2 conflicts Fatal error: Cannot redeclare cocktail_tag_lists()
cocktail_the_custom_logo 2 conflicts Fatal error: Cannot redeclare cocktail_the_custom_logo()
cocktail_widgets_init 2 conflicts Fatal error: Cannot redeclare cocktail_widgets_init()
cocktail_wp_page_menu 2 conflicts Fatal error: Cannot redeclare cocktail_wp_page_menu()
mocktail_admin_notice 0 conflicts Fatal error: Cannot redeclare mocktail_admin_notice()
mocktail_body_class 0 conflicts Fatal error: Cannot redeclare mocktail_body_class()
mocktail_customize_register 0 conflicts Fatal error: Cannot redeclare mocktail_customize_register()
mocktail_customize_register_color_styles 0 conflicts Fatal error: Cannot redeclare mocktail_customize_register_color_styles()
mocktail_enqueue_styles 0 conflicts Fatal error: Cannot redeclare mocktail_enqueue_styles()
mocktail_frontpage_features 0 conflicts Fatal error: Cannot redeclare mocktail_frontpage_features()
mocktail_notice_ignore 0 conflicts Fatal error: Cannot redeclare mocktail_notice_ignore()

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

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

wp theme install mocktail


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

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

wp theme install mocktail --activate


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

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

wp theme install mocktail --force


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

wp theme update mocktail


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

wp theme delete mocktail --force

Where can you download earlier versions of Mocktail?

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

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