• Resolved jordanwebdev

    (@jordanwebdev)


    Getting a new error in the log:

    Uncaught Error: Call to undefined function wc_get_attribute_taxonomies() in /…/taxonomy-terms-order/include/addons.php:32

    Using the latest version of the plugin, with the latest version of WooCommerce installed (4.8), and the latest version of WordPress (5.6)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Maya

    (@tdgu)

    Where exactly you get the error?

    Thanks

    Thread Starter jordanwebdev

    (@jordanwebdev)

    Not sure, just saw it in the error logs. Is there anything else I can provide that would assist you?

    Plugin Author Maya

    (@tdgu)

    I can’t replicate the problem on this side, so either finds what’s causing it. The wc_get_attribute_taxonomies() is a WooCommerce function, still don’t see why is being invoked as the code checks if WooCommerce is actually active.
    Do you see multiple errors of this kind or just one?

    Thanks

    Hi,

    It seems to be a problem when activating a user.

    https://domain.domain/wp-activate.php?key=169530ed2914e855 gives this error.

    Fatal error: Uncaught Error: Call to undefined function wc_get_attribute_taxonomies()
    in /app/web/app/plugins/taxonomy-terms-order/include/addons.php on line 32
    
    Call stack:
    
        to_get_terms_orderby_ignore_woocommerce()
        wp-includes/class-wp-hook.php:287
        WP_Hook::apply_filters()
        wp-includes/plugin.php:206
        apply_filters()
        app/plugins/taxonomy-terms-order/taxonomy-terms-order.php:160
        TO_get_terms_orderby()
        wp-includes/class-wp-hook.php:289
        WP_Hook::apply_filters()
        wp-includes/plugin.php:206
        apply_filters()
        wp-includes/class-wp-term-query.php:891
        WP_Term_Query::parse_orderby()
        wp-includes/class-wp-term-query.php:399
        WP_Term_Query::get_terms()
        wp-includes/class-wp-term-query.php:288
        WP_Term_Query::query()
        wp-includes/class-wp-tax-query.php:637
        WP_Tax_Query::transform_query()
        wp-includes/class-wp-tax-query.php:562
        WP_Tax_Query::clean_query()
        wp-includes/class-wp-tax-query.php:394
        WP_Tax_Query::get_sql_for_clause()
        wp-includes/class-wp-tax-query.php:324
        WP_Tax_Query::get_sql_for_query()
        wp-includes/class-wp-tax-query.php:274
        WP_Tax_Query::get_sql_clauses()
        wp-includes/class-wp-tax-query.php:250
        WP_Tax_Query::get_sql()
        wp-includes/class-wp-query.php:2126
        WP_Query::get_posts()
        wp-includes/class-wp-query.php:3436
        WP_Query::query()
        wp-includes/class-wp.php:620
        WP::query_posts()
        wp-includes/class-wp.php:737
        WP::main()
        wp-includes/functions.php:1274
        wp()
        wp-blog-header.php:16
        require()
        wp-activate.php:14
    • This reply was modified 3 years, 11 months ago by Rasmus.
    Plugin Author Maya

    (@tdgu)

    Hi,
    Thanks for your feedback, this should be now fixed in latest 1.5.7.4

    Thanks

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