• Resolved agreeff1350

    (@agreeff1350)


    Good day

    I trust this finds you well. I keep getting this error. Could you please assist on how to resolve it?

    Regards

    Query
    SELECT wpku_posts.ID
    FROM wpku_posts
    LEFT JOIN wpku_term_relationships
    ON (wpku_posts.ID = wpku_term_relationships.object_id)
    WHERE 1=1
    AND ( wpku_term_relationships.term_taxonomy_id IN (2) )
    AND wpku_posts.post_type = ‘product’
    AND ((wpku_posts.post_status = ‘publish’))
    GROUP BY wpku_posts.ID
    ORDER BY wpku_posts.post_date DESC
    LIMIT 0, 1

    Caller
    WP_Query->get_posts()
    wp-includes/class-wp-query.php:3059
    WP_Query->query()
    wp-includes/class-wp-query.php:3586
    WP_Query->__construct()
    wp-includes/class-wp-query.php:3718
    WC_Product_Data_Store_CPT->query()
    wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:2042
    WC_Data_Store->__call()
    wp-content/plugins/woocommerce/includes/class-wc-data-store.php:207
    WC_Product_Query->get_products()
    wp-content/plugins/woocommerce/includes/class-wc-product-query.php:76
    Automattic\W\A\F\O\T\Products::has_products()
    wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Products.php:204
    Automattic\W\A\F\O\T\Products->is_complete()
    wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Products.php:82
    Automattic\W\A\F\O\TaskList->Automattic\W\A\F\O\{closure}()
    wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php:235
    array_reduce()
    wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php:235
    Automattic\W\A\F\O\TaskList->is_complete()
    wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php:237
    Automattic\W\A\F\O\TaskLists::setup_tasks_remaining()
    wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php:478
    Automattic\W\A\F\O\TaskLists::menu_task_count()
    wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php:500
    do_action(‘admin_menu’)
    wp-includes/plugin.php:476

    Component
    Plugin: woocommerce

    Rows
    1

    Time
    0.1800

Viewing 1 replies (of 1 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Howdy,

    Could you please assist on how to resolve it?

    That depends on what your query is suppose to do:

    Query
    SELECT wpku_posts.ID
    FROM wpku_posts
    LEFT JOIN wpku_term_relationships
    ON (wpku_posts.ID = wpku_term_relationships.object_id)
    WHERE 1=1
    AND ( wpku_term_relationships.term_taxonomy_id IN (2) )
    AND wpku_posts.post_type = ‘product’
    AND ((wpku_posts.post_status = ‘publish’))
    GROUP BY wpku_posts.ID
    ORDER BY wpku_posts.post_date DESC
    LIMIT 0, 1

    What data do you expect to get?

    Kind regards,

Viewing 1 replies (of 1 total)
  • The topic ‘wpku/taxonomy error’ is closed to new replies.