wpsnoop: fix Canonical Attachments plugin conflicts, errors & issues

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


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

Get professional support for Canonical Attachments here

When you need professional help with WordPress: get help here


What does Canonical Attachments version 1.7 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/uploads/ 57.00B The wp-content/uploads/ directory has potential conflicts with at least 1495 other plugins or themes.
wp-content/uploads/.htaccess 57.00B The wp-content/uploads/.htaccess file has potential conflicts with at least 7 other plugins or themes.
wp-content/uploads/2022/ The wp-content/uploads/2022/ directory has potential conflicts with at least 1367 other plugins or themes.
wp-content/uploads/2022/02/ The wp-content/uploads/2022/02/ directory has potential conflicts with at least 1367 other plugins or themes.
wp-content/plugins/canonical-attachments/ 554.70kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/canonical-attachments.php 10.50kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/readme.txt 7.61kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/screenshot-1.png 128.97kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/screenshot-2.png 116.44kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/screenshot-3.png 124.35kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/screenshot-4.png 78.79kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/screenshot-5.png 62.51kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/templates/ 7.06kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/templates/footer.php 660.00B No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/templates/header.php 273.00B No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/templates/Hive-Digital-Logo.png 6.15kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/tools/ 18.48kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/tools/bulk-editor.php 15.37kB No known conflicts with other themes or plugins.
wp-content/plugins/canonical-attachments/tools/htaccess-edits.php 3.11kB No known conflicts with other themes or plugins.

Which new shortcodes does Canonical Attachments add to WordPress?

Which new database tables are created by the WordPress plugin Canonical Attachments?

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

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

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

Function   Conflicts Common Errors
plugin_add_settings_link 52 conflicts Fatal error: Cannot redeclare plugin_add_settings_link()
can_attach_admin_notices 0 conflicts Fatal error: Cannot redeclare can_attach_admin_notices()
can_attach_canonical_attachments_menu 0 conflicts Fatal error: Cannot redeclare can_attach_canonical_attachments_menu()
can_attach_canonical_fields 0 conflicts Fatal error: Cannot redeclare can_attach_canonical_fields()
can_attach_create_canonical 0 conflicts Fatal error: Cannot redeclare can_attach_create_canonical()
can_attach_create_notice 0 conflicts Fatal error: Cannot redeclare can_attach_create_notice()
can_attach_deleted_media_canonical_removal 0 conflicts Fatal error: Cannot redeclare can_attach_deleted_media_canonical_removal()
can_attach_htaccess_edits 0 conflicts Fatal error: Cannot redeclare can_attach_htaccess_edits()
can_attach_plugin_deactivate 0 conflicts Fatal error: Cannot redeclare can_attach_plugin_deactivate()
can_attach_plugin_install 0 conflicts Fatal error: Cannot redeclare can_attach_plugin_install()
can_attach_post_box 0 conflicts Fatal error: Cannot redeclare can_attach_post_box()
can_attach_postbox 0 conflicts Fatal error: Cannot redeclare can_attach_postbox()
can_attach_remove_from_htaccess 0 conflicts Fatal error: Cannot redeclare can_attach_remove_from_htaccess()
can_attach_style_columns 0 conflicts Fatal error: Cannot redeclare can_attach_style_columns()
can_attach_update_media_canonical 0 conflicts Fatal error: Cannot redeclare can_attach_update_media_canonical()
can_attach_update_single_canonical 0 conflicts Fatal error: Cannot redeclare can_attach_update_single_canonical()
canonical_attachments_plugin 0 conflicts Fatal error: Cannot redeclare canonical_attachments_plugin()

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

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

wp plugin install canonical-attachments


How to activate Canonical Attachments from the command line with WP-CLI

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

wp plugin install canonical-attachments --activate


How to reinstall Canonical Attachments from the command line with WP-CLI

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

wp plugin install canonical-attachments --force


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

wp plugin update canonical-attachments


How to delete Canonical Attachments from the command line with WP-CLI

wp plugin delete canonical-attachments

Where can you download earlier versions of Canonical Attachments?

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 Canonical Attachments 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 Canonical Attachments

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