wpsnoop: fix Square Ninja plugin conflicts, errors & issues

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


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

Get professional support for Square Ninja here

When you need professional help with WordPress: get help here


What does Square Ninja version 1.0 add to WordPress? Answers Here.

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

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

Type & Path Size Conflicts
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/ 247.54kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/images/ 196.33kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/images/customwpninjas-banner.jpg 104.90kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/images/personal-access-token.jpg 34.38kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/images/wphostingninjas-banner.jpg 57.04kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/inc/ 9.12kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/inc/contact.php 1.60kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/inc/css.php 1.52kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/inc/square_woo.php 1.75kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/inc/woo_square.php 4.25kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/lib/ 13.49kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/lib/Unirest.php 177.00B No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/lib/Unirest/ 13.31kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/lib/Unirest/HttpMethod.php 188.00B No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/lib/Unirest/HttpResponse.php 1.99kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/lib/Unirest/Unirest.php 11.15kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/readme.txt 2.33kB No known conflicts with other themes or plugins.
wp-content/plugins/square-up-to-woocommerce-inventory-import-ninjas/square-dashboard.php 26.27kB No known conflicts with other themes or plugins.

Which new shortcodes does Square Ninja add to WordPress?

Which new database tables are created by the WordPress plugin Square Ninja?

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

What new PHP functions does Square Ninja declare when it is active?

Function   Conflicts Common Errors
create_slug 4 conflicts Fatal error: Cannot redeclare create_slug()
pn_get_attachment_id_from_url 1 conflict Fatal error: Cannot redeclare pn_get_attachment_id_from_url()
pre 34 conflicts Fatal error: Cannot redeclare pre()
get_post_id_by_name 0 conflicts Fatal error: Cannot redeclare get_post_id_by_name()
get_the_category_custom 0 conflicts Fatal error: Cannot redeclare get_the_category_custom()
getcurl 0 conflicts Fatal error: Cannot redeclare getcurl()
list_square_categories 0 conflicts Fatal error: Cannot redeclare list_square_categories()
register_square_ninja 0 conflicts Fatal error: Cannot redeclare register_square_ninja()
square_create_category 0 conflicts Fatal error: Cannot redeclare square_create_category()
square_list_page 0 conflicts Fatal error: Cannot redeclare square_list_page()
square_update_inventory 0 conflicts Fatal error: Cannot redeclare square_update_inventory()
square_upload_image 0 conflicts Fatal error: Cannot redeclare square_upload_image()
square_woo_submenu_page_callback 0 conflicts Fatal error: Cannot redeclare square_woo_submenu_page_callback()
upload_featured_image_from_url 0 conflicts Fatal error: Cannot redeclare upload_featured_image_from_url()
woo_square_help_page 0 conflicts Fatal error: Cannot redeclare woo_square_help_page()
woo_square_submenu_page_callback 0 conflicts Fatal error: Cannot redeclare woo_square_submenu_page_callback()
wpsd_add_inventory 0 conflicts Fatal error: Cannot redeclare wpsd_add_inventory()
wpsd_insert_product 0 conflicts Fatal error: Cannot redeclare wpsd_insert_product()
wpsd_insert_product_term 0 conflicts Fatal error: Cannot redeclare wpsd_insert_product_term()
wpsd_product_exist 0 conflicts Fatal error: Cannot redeclare wpsd_product_exist()

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

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

wp plugin install square-up-to-woocommerce-inventory-import-ninjas


How to activate Square Ninja from the command line with WP-CLI

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

wp plugin install square-up-to-woocommerce-inventory-import-ninjas --activate


How to reinstall Square Ninja from the command line with WP-CLI

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

wp plugin install square-up-to-woocommerce-inventory-import-ninjas --force


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

wp plugin update square-up-to-woocommerce-inventory-import-ninjas


How to delete Square Ninja from the command line with WP-CLI

wp plugin delete square-up-to-woocommerce-inventory-import-ninjas

Where can you download earlier versions of Square Ninja?

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 Square Ninja 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 Square Ninja

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