Support » Plugin: Category Order and Taxonomy Terms Order » Fatal error: Uncaught Error: Call to undefined function

  • It would be great if this plugin didn’t produce this error.

    Fatal error: Uncaught Error: Call to undefined function wc_get_attribute_taxonomies() in /www/site_444/public/wp-content/plugins/taxonomy-terms-order/include/addons.php:32 Stack trace: #0 /www/site_444/public/wp-includes/class-wp-hook.php(288): to_get_terms_orderby_ignore_woocommerce(false, '', Array) #1 /www/site_444/public/wp-includes/plugin.php(206): WP_Hook->apply_filters(false, Array) #2 /www/site_444/public/wp-content/plugins/taxonomy-terms-order/taxonomy-terms-order.php(160): apply_filters('to/get_terms_or...', false, '', Array) #3 /www/site_444/public/wp-includes/class-wp-hook.php(290): TO_get_terms_orderby('', Array) #4 /www/site_444/public/wp-includes/plugin.php(206): WP_Hook->apply_filters('', Array) #5 /www/site_444/public/wp-includes/class-wp-term-query.php(891): apply_filters('get_terms_order...', '', Array, Array) #6 /www/site_444/public/wp-includes/class-wp-term-query.php(399): WP_Term_Query->parse_orderby('none') #7 /www/site_444/publ in /www/site_444/public/wp-content/plugins/taxonomy-terms-order/include/addons.php on line 32

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tdgu

    (@tdgu)

    Can you ensure you’re up to date with the latest WooCommerce, as the wc_get_attribute_taxonomies method is provided by that plugin.

    Thanks

    I encountered this error while running WooCommerce 3.8 on one site and 3.8.1 on another. Even if I were running an old version of WooCommerce, it would still be bad if your plugin caused errors.

    Try function_exists() and make sure you’re not trying to use WooCommerce features before WooCommerce is loaded.

    Hi Corey,
    I’m seeing a similar error but from an undefined source. How did you isolate which plugin was causing the error?

    That’s a great question, and I don’t remember. Maybe adjacent errors in debug.log pointed to files in this plugin. I know that if I reactivate this plugin the site does not work. Are you getting this error but not running this plugin?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined function’ is closed to new replies.