Woocommerce – Function register_taxonomy was called incorrectly

[ad_1]

Since a more recent update in the past month or two, I am getting the following warning in debug.log and when using Query Monitor.

I disabled all plugins except for WooCommerce and switched to the Storefront base theme to test this and it still occurs.

The error/warning says: "Function register_taxonomy was called incorrectly. Taxonomy names must be between 1 and 32 characters in length."

Caller: register_taxonomy()
Plugin: woocommerce

register_taxonomy()
    wp-includes/taxonomy.php:510
WC_Post_Types::register_taxonomies()
    wp-content/plugins/woocommerce/includes/class-wc-post-types.php:277
do_action('init')
    wp-includes/plugin.php:517
  • This topic was modified 39 minutes ago by jinsley8.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer