wpsnoop: fix Companion Sitemap Generator plugin conflicts, errors & issues

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


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

Get professional support for Companion Sitemap Generator here

When you need professional help with WordPress: get help here


What does Companion Sitemap Generator version 4.4.1 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Companion Sitemap Generator to perform differently in your installation, previous versions before 4.4.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 4.4.1 of Companion Sitemap Generator behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin 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 Companion Sitemap Generator by clicking here.

Our testing covered the free version of this plugin 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 Companion Sitemap Generator add to WordPress?

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

Type & Path Size Conflicts
sitemap.xml The sitemap.xml file has potential conflicts with at least 6 other plugins or themes.
wp-content/plugins/companion-sitemap-generator/ 170.05kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/ 65.83kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/block.js 4.45kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/editor.css 526.00B No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/img/ 55.44kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/img/check.svg 1.96kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/img/gutenberg.svg 6.53kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/img/help.svg 2.89kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/img/love.svg 5.66kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/img/robot.svg 9.89kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/img/settings.svg 8.96kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/img/submit.svg 6.88kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/img/support.svg 4.95kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/img/welcome.svg 7.71kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/backend/style.css 5.42kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/companion_sitemap.php 9.18kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/csg_functions.php 22.05kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/csg_gutenberg.php 1.28kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/dashboard/ 35.33kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/dashboard/additionalpages.php 0.98kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/dashboard/dashboard.php 17.34kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/dashboard/exclusion-posttypes.php 2.80kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/dashboard/exclusion-select.php 5.26kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/dashboard/exclusion-types.php 4.49kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/dashboard/exclusion.php 1.56kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/dashboard/start.php 1.30kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/dashboard/widget.php 1.59kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/frontend/ 11.68kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/frontend/sitemap.xsl 9.77kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/frontend/style.css 1.91kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/languages/ 4.61kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/languages/companion-sitemap-generator.pot 4.61kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/readme.txt 10.32kB No known conflicts with other themes or plugins.
wp-content/plugins/companion-sitemap-generator/sitemap.xsl 9.77kB No known conflicts with other themes or plugins.

Which new shortcodes does Companion Sitemap Generator add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[html-sitemap] The html-sitemap shortcode has potential conflicts with at least 2 other plugins or themes.

Note: We have not yet checked to see if these shortcodes work as expected in pages, posts, sidebar widgets, or when set as the page title, in content, in the excert, in menus or anywhere else within a WordPress installation. A shortcode could produce errors due to parameters added when it is used, or if the plugin is updated and the format of the shortcode has changed.

Which new database tables are created by the WordPress plugin Companion Sitemap Generator?

Which new options are added to the wp-options table by Companion Sitemap Generator?

Option Name   Known Conflicts
csg_db_version The csg_db_version option doesn't have any known conflicts with other themes or plugins.

During use Companion Sitemap Generator may or may not create more options depending on how the plugin is configured and depending on which other themes and plugins are active in your specific hosting environment.

What new PHP functions does Companion Sitemap Generator declare when it is active?

Function   Conflicts Common Errors
changefreq 0 conflicts Fatal error: Cannot redeclare changefreq()
csg_active_tab 0 conflicts Fatal error: Cannot redeclare csg_active_tab()
csg_changes_made 0 conflicts Fatal error: Cannot redeclare csg_changes_made()
csg_check_if_exists 0 conflicts Fatal error: Cannot redeclare csg_check_if_exists()
csg_create_robots 0 conflicts Fatal error: Cannot redeclare csg_create_robots()
csg_dashboard 0 conflicts Fatal error: Cannot redeclare csg_dashboard()
csg_database_creation 0 conflicts Fatal error: Cannot redeclare csg_database_creation()
csg_db_version 0 conflicts Fatal error: Cannot redeclare csg_db_version()
csg_default_language 0 conflicts Fatal error: Cannot redeclare csg_default_language()
csg_donateurl 0 conflicts Fatal error: Cannot redeclare csg_donateurl()
csg_dynamic_button 0 conflicts Fatal error: Cannot redeclare csg_dynamic_button()
csg_exclude 0 conflicts Fatal error: Cannot redeclare csg_exclude()
csg_exclude_ctam 0 conflicts Fatal error: Cannot redeclare csg_exclude_ctam()
csg_exclude_posttypes 0 conflicts Fatal error: Cannot redeclare csg_exclude_posttypes()
csg_frontend_style 0 conflicts Fatal error: Cannot redeclare csg_frontend_style()
csg_get_additionalpages 0 conflicts Fatal error: Cannot redeclare csg_get_additionalpages()
csg_get_additionalpages__textarea 0 conflicts Fatal error: Cannot redeclare csg_get_additionalpages__textarea()
csg_get_filtered_post_types 0 conflicts Fatal error: Cannot redeclare csg_get_filtered_post_types()
csg_get_post_types 0 conflicts Fatal error: Cannot redeclare csg_get_post_types()
csg_get_taxonomies 0 conflicts Fatal error: Cannot redeclare csg_get_taxonomies()
csg_get_term_language 0 conflicts Fatal error: Cannot redeclare csg_get_term_language()
csg_has_robots 0 conflicts Fatal error: Cannot redeclare csg_has_robots()
csg_incorrectdatabaseversion 0 conflicts Fatal error: Cannot redeclare csg_incorrectdatabaseversion()
csg_install 0 conflicts Fatal error: Cannot redeclare csg_install()
csg_install_data 0 conflicts Fatal error: Cannot redeclare csg_install_data()
csg_is_multilingual 0 conflicts Fatal error: Cannot redeclare csg_is_multilingual()
csg_languages 0 conflicts Fatal error: Cannot redeclare csg_languages()
csg_load_translations 0 conflicts Fatal error: Cannot redeclare csg_load_translations()
csg_mainsiteonly 0 conflicts Fatal error: Cannot redeclare csg_mainsiteonly()
csg_manual_update 0 conflicts Fatal error: Cannot redeclare csg_manual_update()
csg_menu_items 0 conflicts Fatal error: Cannot redeclare csg_menu_items()
csg_newblogcreation 0 conflicts Fatal error: Cannot redeclare csg_newblogcreation()
csg_notify_engine 0 conflicts Fatal error: Cannot redeclare csg_notify_engine()
csg_notify_engines 0 conflicts Fatal error: Cannot redeclare csg_notify_engines()
csg_post_translation_id 0 conflicts Fatal error: Cannot redeclare csg_post_translation_id()
csg_proper_url_format 0 conflicts Fatal error: Cannot redeclare csg_proper_url_format()
csg_read_sitemap 0 conflicts Fatal error: Cannot redeclare csg_read_sitemap()
csg_remove 0 conflicts Fatal error: Cannot redeclare csg_remove()
csg_removemultisite 0 conflicts Fatal error: Cannot redeclare csg_removemultisite()
csg_settings_link 0 conflicts Fatal error: Cannot redeclare csg_settings_link()
csg_sitemap 0 conflicts Fatal error: Cannot redeclare csg_sitemap()
csg_sitemap_block 0 conflicts Fatal error: Cannot redeclare csg_sitemap_block()
csg_sitemap_content 0 conflicts Fatal error: Cannot redeclare csg_sitemap_content()
csg_sitemap_file 0 conflicts Fatal error: Cannot redeclare csg_sitemap_file()
csg_sitemap_gen_add_dashboard_widget 0 conflicts Fatal error: Cannot redeclare csg_sitemap_gen_add_dashboard_widget()
csg_sitemap_gen_dashboard_widget 0 conflicts Fatal error: Cannot redeclare csg_sitemap_gen_dashboard_widget()
csg_sitemap_line 0 conflicts Fatal error: Cannot redeclare csg_sitemap_line()
csg_sitemap_line_additionalpages 0 conflicts Fatal error: Cannot redeclare csg_sitemap_line_additionalpages()
csg_sitemap_line_terms 0 conflicts Fatal error: Cannot redeclare csg_sitemap_line_terms()
csg_sitemap_url 0 conflicts Fatal error: Cannot redeclare csg_sitemap_url()
csg_term_translation_id 0 conflicts Fatal error: Cannot redeclare csg_term_translation_id()
csg_true_or_false 0 conflicts Fatal error: Cannot redeclare csg_true_or_false()
csg_update_db_check 0 conflicts Fatal error: Cannot redeclare csg_update_db_check()
csg_use_xmlstylesheet 0 conflicts Fatal error: Cannot redeclare csg_use_xmlstylesheet()
csg_xml_in_html 0 conflicts Fatal error: Cannot redeclare csg_xml_in_html()
csg_xmlstylesheet 0 conflicts Fatal error: Cannot redeclare csg_xmlstylesheet()
errormsg 0 conflicts Fatal error: Cannot redeclare errormsg()
html_additionalpages 0 conflicts Fatal error: Cannot redeclare html_additionalpages()
html_posttypes 0 conflicts Fatal error: Cannot redeclare html_posttypes()
html_taxonomies 0 conflicts Fatal error: Cannot redeclare html_taxonomies()
htmlsitemap 0 conflicts Fatal error: Cannot redeclare htmlsitemap()
htmlsitemap_block_handler 0 conflicts Fatal error: Cannot redeclare htmlsitemap_block_handler()
htmlsitemap_handler 0 conflicts Fatal error: Cannot redeclare htmlsitemap_handler()
load_csg_styles 0 conflicts Fatal error: Cannot redeclare load_csg_styles()
succesmsg 0 conflicts Fatal error: Cannot redeclare succesmsg()

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

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

wp plugin install companion-sitemap-generator


How to activate Companion Sitemap Generator from the command line with WP-CLI

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

wp plugin install companion-sitemap-generator --activate


How to reinstall Companion Sitemap Generator from the command line with WP-CLI

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

wp plugin install companion-sitemap-generator --force


How to update Companion Sitemap Generator to the latest version from the command line with WP-CLI

wp plugin update companion-sitemap-generator


How to delete Companion Sitemap Generator from the command line with WP-CLI

wp plugin delete companion-sitemap-generator

Where can you download earlier versions of Companion Sitemap Generator?

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 Companion Sitemap Generator 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 Companion Sitemap Generator

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