wpsnoop: fix Switch Lite theme conflicts, errors & issues

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


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

Get professional support for Switch Lite here

When you need professional help with WordPress: get help here


What does Switch Lite version 1.1.8.1 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/themes/switch-lite/ 1.35MB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/404.php 1.88kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/archive.php 2.27kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/comments.php 1.84kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/ 0.97MB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/css/ 207.82kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/css/bootstrap.css 141.21kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/css/font-awesome.css 36.53kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/css/switch.css 30.08kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/fonts/ 712.27kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/fonts/fontawesome-webfont.eot 69.15kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/fonts/fontawesome-webfont.svg 357.69kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/fonts/fontawesome-webfont.ttf 138.74kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/fonts/fontawesome-webfont.woff 81.63kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/fonts/fontawesome-webfont.woff2 65.06kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/js/ 77.94kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/js/bootstrap.js 68.07kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/js/customizer.js 1.19kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/js/jquery.nav.js 5.02kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/js/skip-link-focus-fix.js 418.00B No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/js/switch.js 883.00B No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/dist/js/touch-keyboard-navigation.js 2.39kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/footer.php 3.84kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/full-page-title.php 1.06kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/full-page-without-title.php 668.00B No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/functions.php 6.06kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/header.php 6.33kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/inc/ 38.48kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/inc/custom-header.php 1.69kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/inc/custom-style.php 6.54kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/inc/customizer.php 19.25kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/inc/dependency.php 2.40kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/inc/template-functions.php 2.37kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/inc/template-tags.php 3.66kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/inc/widgets.php 2.57kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/index.php 2.50kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/languages/ 27.37kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/languages/switch-lite.pot 27.37kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/LICENSE 17.62kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/page.php 1.36kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/readme.txt 4.67kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/screenshot.png 226.84kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/search.php 2.29kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/sidebar.php 353.00B No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/single.php 1.82kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/style.css 15.35kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/ 20.40kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-audio.php 2.51kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-full-page-title.php 1.01kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-full-page-without-title.php 552.00B No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-gallery.php 2.33kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-image.php 2.15kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-link.php 1.66kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-none.php 1.05kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-page.php 987.00B No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-quote.php 1.66kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-search.php 625.00B No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content-video.php 2.01kB No known conflicts with other themes or plugins.
wp-content/themes/switch-lite/template-parts/content.php 3.91kB No known conflicts with other themes or plugins.

Which new shortcodes does Switch Lite add to WordPress?

Which new database tables are created by the WordPress theme Switch Lite?

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

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

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

Function   Conflicts Common Errors
switch_lite_body_classes 0 conflicts Fatal error: Cannot redeclare switch_lite_body_classes()
switch_lite_content_width 0 conflicts Fatal error: Cannot redeclare switch_lite_content_width()
switch_lite_custom_header_setup 0 conflicts Fatal error: Cannot redeclare switch_lite_custom_header_setup()
switch_lite_customize_partial_blogdescription 0 conflicts Fatal error: Cannot redeclare switch_lite_customize_partial_blogdescription()
switch_lite_customize_partial_blogname 0 conflicts Fatal error: Cannot redeclare switch_lite_customize_partial_blogname()
switch_lite_customize_preview_js 0 conflicts Fatal error: Cannot redeclare switch_lite_customize_preview_js()
switch_lite_customize_register 0 conflicts Fatal error: Cannot redeclare switch_lite_customize_register()
switch_lite_customizer_color 0 conflicts Fatal error: Cannot redeclare switch_lite_customizer_color()
switch_lite_edit_link 0 conflicts Fatal error: Cannot redeclare switch_lite_edit_link()
switch_lite_entry_footer 0 conflicts Fatal error: Cannot redeclare switch_lite_entry_footer()
switch_lite_excerpt_length 0 conflicts Fatal error: Cannot redeclare switch_lite_excerpt_length()
switch_lite_header_image 0 conflicts Fatal error: Cannot redeclare switch_lite_header_image()
switch_lite_header_style 0 conflicts Fatal error: Cannot redeclare switch_lite_header_style()
switch_lite_nav_menu_link_attributes 0 conflicts Fatal error: Cannot redeclare switch_lite_nav_menu_link_attributes()
switch_lite_pingback_header 0 conflicts Fatal error: Cannot redeclare switch_lite_pingback_header()
switch_lite_posted_on 0 conflicts Fatal error: Cannot redeclare switch_lite_posted_on()
switch_lite_sanitize_checkbox 0 conflicts Fatal error: Cannot redeclare switch_lite_sanitize_checkbox()
switch_lite_sanitize_select 0 conflicts Fatal error: Cannot redeclare switch_lite_sanitize_select()
switch_lite_scripts 0 conflicts Fatal error: Cannot redeclare switch_lite_scripts()
switch_lite_setup 0 conflicts Fatal error: Cannot redeclare switch_lite_setup()
switch_lite_time_link 0 conflicts Fatal error: Cannot redeclare switch_lite_time_link()
switch_lite_widgets_init 0 conflicts Fatal error: Cannot redeclare switch_lite_widgets_init()

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

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

wp theme install switch-lite


How to activate Switch Lite from the command line with WP-CLI

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

wp theme install switch-lite --activate


How to reinstall Switch Lite from the command line with WP-CLI

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

wp theme install switch-lite --force


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

wp theme update switch-lite


How to delete Switch Lite from the command line with WP-CLI

wp theme delete switch-lite --force

Where can you download earlier versions of Switch Lite?

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 Switch Lite 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 Switch Lite

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