wpsnoop: fix Avani theme conflicts, errors & issues

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


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

Get professional support for Avani here

When you need professional help with WordPress: get help here


What does Avani version 1.1.2 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/themes/avani/ 414.56kB No known conflicts with other themes or plugins.
wp-content/themes/avani/404.php 882.00B No known conflicts with other themes or plugins.
wp-content/themes/avani/archive.php 1.30kB No known conflicts with other themes or plugins.
wp-content/themes/avani/assets/ 56.94kB No known conflicts with other themes or plugins.
wp-content/themes/avani/assets/css/ 8.41kB No known conflicts with other themes or plugins.
wp-content/themes/avani/assets/css/editor-style.css 8.41kB No known conflicts with other themes or plugins.
wp-content/themes/avani/assets/images/ 40.12kB No known conflicts with other themes or plugins.
wp-content/themes/avani/assets/images/svg-icons.svg 40.12kB No known conflicts with other themes or plugins.
wp-content/themes/avani/assets/js/ 8.41kB No known conflicts with other themes or plugins.
wp-content/themes/avani/assets/js/customizer.js 2.78kB No known conflicts with other themes or plugins.
wp-content/themes/avani/assets/js/navigation.js 4.31kB No known conflicts with other themes or plugins.
wp-content/themes/avani/assets/js/sidebar-toggle.js 472.00B No known conflicts with other themes or plugins.
wp-content/themes/avani/assets/js/skip-link-focus-fix.js 880.00B No known conflicts with other themes or plugins.
wp-content/themes/avani/comments.php 2.66kB No known conflicts with other themes or plugins.
wp-content/themes/avani/footer.php 525.00B No known conflicts with other themes or plugins.
wp-content/themes/avani/functions.php 8.41kB No known conflicts with other themes or plugins.
wp-content/themes/avani/header.php 2.18kB No known conflicts with other themes or plugins.
wp-content/themes/avani/inc/ 28.32kB No known conflicts with other themes or plugins.
wp-content/themes/avani/inc/back-compat.php 2.73kB No known conflicts with other themes or plugins.
wp-content/themes/avani/inc/custom-header.php 1.86kB No known conflicts with other themes or plugins.
wp-content/themes/avani/inc/customizer.php 4.30kB No known conflicts with other themes or plugins.
wp-content/themes/avani/inc/extras.php 3.54kB No known conflicts with other themes or plugins.
wp-content/themes/avani/inc/icons.php 8.65kB No known conflicts with other themes or plugins.
wp-content/themes/avani/inc/jetpack.php 943.00B No known conflicts with other themes or plugins.
wp-content/themes/avani/inc/template-tags.php 6.32kB No known conflicts with other themes or plugins.
wp-content/themes/avani/index.php 1.51kB No known conflicts with other themes or plugins.
wp-content/themes/avani/page.php 858.00B No known conflicts with other themes or plugins.
wp-content/themes/avani/readme.txt 4.12kB No known conflicts with other themes or plugins.
wp-content/themes/avani/screenshot.png 266.56kB No known conflicts with other themes or plugins.
wp-content/themes/avani/search.php 1.29kB No known conflicts with other themes or plugins.
wp-content/themes/avani/searchform.php 829.00B No known conflicts with other themes or plugins.
wp-content/themes/avani/sidebar.php 525.00B No known conflicts with other themes or plugins.
wp-content/themes/avani/single.php 1.16kB No known conflicts with other themes or plugins.
wp-content/themes/avani/style.css 32.01kB No known conflicts with other themes or plugins.
wp-content/themes/avani/template-parts/ 4.56kB No known conflicts with other themes or plugins.
wp-content/themes/avani/template-parts/content-none.php 1.07kB No known conflicts with other themes or plugins.
wp-content/themes/avani/template-parts/content-page.php 987.00B No known conflicts with other themes or plugins.
wp-content/themes/avani/template-parts/content-search.php 840.00B No known conflicts with other themes or plugins.
wp-content/themes/avani/template-parts/content.php 1.70kB No known conflicts with other themes or plugins.

Which new shortcodes does Avani add to WordPress?

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

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

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

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

Function   Conflicts Common Errors
avani_body_classes 0 conflicts Fatal error: Cannot redeclare avani_body_classes()
avani_categorized_blog 0 conflicts Fatal error: Cannot redeclare avani_categorized_blog()
avani_category_transient_flusher 0 conflicts Fatal error: Cannot redeclare avani_category_transient_flusher()
avani_content_width 0 conflicts Fatal error: Cannot redeclare avani_content_width()
avani_custom_header_setup 0 conflicts Fatal error: Cannot redeclare avani_custom_header_setup()
avani_customize_preview_js 0 conflicts Fatal error: Cannot redeclare avani_customize_preview_js()
avani_customize_register 0 conflicts Fatal error: Cannot redeclare avani_customize_register()
avani_dropdown_icon_to_menu_link 0 conflicts Fatal error: Cannot redeclare avani_dropdown_icon_to_menu_link()
avani_entry_footer 0 conflicts Fatal error: Cannot redeclare avani_entry_footer()
avani_excerpt_teaser 0 conflicts Fatal error: Cannot redeclare avani_excerpt_teaser()
avani_fonts_url 0 conflicts Fatal error: Cannot redeclare avani_fonts_url()
avani_footer_info 0 conflicts Fatal error: Cannot redeclare avani_footer_info()
avani_footer_widgets 0 conflicts Fatal error: Cannot redeclare avani_footer_widgets()
avani_get_svg 0 conflicts Fatal error: Cannot redeclare avani_get_svg()
avani_header_style 0 conflicts Fatal error: Cannot redeclare avani_header_style()
avani_include_svg_icons 0 conflicts Fatal error: Cannot redeclare avani_include_svg_icons()
avani_infinite_scroll_render 0 conflicts Fatal error: Cannot redeclare avani_infinite_scroll_render()
avani_javascript_detection 0 conflicts Fatal error: Cannot redeclare avani_javascript_detection()
avani_jetpack_setup 0 conflicts Fatal error: Cannot redeclare avani_jetpack_setup()
avani_link_color 0 conflicts Fatal error: Cannot redeclare avani_link_color()
avani_nav_menu_social_icons 0 conflicts Fatal error: Cannot redeclare avani_nav_menu_social_icons()
avani_pingback_header 0 conflicts Fatal error: Cannot redeclare avani_pingback_header()
avani_post_thumbnail 0 conflicts Fatal error: Cannot redeclare avani_post_thumbnail()
avani_posted_on 0 conflicts Fatal error: Cannot redeclare avani_posted_on()
avani_sanitize_checkbox 0 conflicts Fatal error: Cannot redeclare avani_sanitize_checkbox()
avani_sanitize_select 0 conflicts Fatal error: Cannot redeclare avani_sanitize_select()
avani_scripts 0 conflicts Fatal error: Cannot redeclare avani_scripts()
avani_setup 0 conflicts Fatal error: Cannot redeclare avani_setup()
avani_social_links_icons 0 conflicts Fatal error: Cannot redeclare avani_social_links_icons()
avani_social_nav_menu_widget 0 conflicts Fatal error: Cannot redeclare avani_social_nav_menu_widget()
avani_svg 0 conflicts Fatal error: Cannot redeclare avani_svg()
avani_the_custom_header 0 conflicts Fatal error: Cannot redeclare avani_the_custom_header()
avani_the_custom_logo 0 conflicts Fatal error: Cannot redeclare avani_the_custom_logo()
avani_widgets_init 0 conflicts Fatal error: Cannot redeclare avani_widgets_init()

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

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

wp theme install avani


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

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

wp theme install avani --activate


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

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

wp theme install avani --force


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

wp theme update avani


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

wp theme delete avani --force

Where can you download earlier versions of Avani?

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

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