• Resolved samadionline

    (@samadionline)


    Hi
    In the WordPress admin dashboard
    The EDD product item edit page takes about 40 seconds to load.
    The other parts of the WordPress admin open quickly, only editing the EDD item is slow.

    I installed the Query Monitor plugin. And in the Slow Query section, an item (WP_Query->get_posts) is displayed.

    ————————–

    SELECT wp_posts.ID
    FROM wp_posts
    LEFT JOIN wp_postmeta
    ON ( wpaz_posts.ID = wp_postmeta.post_id )
    LEFT JOIN wp_postmeta AS mt1
    ON ( wp_posts.ID = mt1.post_id
    AND mt1.meta_key = '_edd_product_type' )
    WHERE 1=1
    AND ( ( wp_postmeta.meta_key = '_edd_product_type'
    AND wp_postmeta.meta_value != 'bundle' )
    OR mt1.post_id IS NULL )
    AND wp_posts.post_type = 'download'
    AND ((wp_posts.post_status = 'publish'
    OR wp_posts.post_status = 'future'
    OR wp_posts.post_status = 'draft'
    OR wp_posts.post_status = 'private'))
    GROUP BY wp_posts.ID
    ORDER BY wp_posts.post_title ASC
    LIMIT 0, 30

    ————————–

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Mihai Joldis

    (@misulicus)

    Hey @samadionline

    What kind of Download is this, a bundle or a regular one?
    Could you also tell us the EDD version that you are running?

    Thread Starter samadionline

    (@samadionline)

    Product as regular one
    I use the latest version Easy Digital Downloads : 3.1.0.2
    Wordpress : 6.1

    Plugin Contributor Mihai Joldis

    (@misulicus)

    Hi again.

    Could you please send in a support ticket via our website https://easydigitaldownloads.com/support/?
    Our team will take a closer look at this as we might need more information that we can’t ask for on public forums.

    Regards

    Thread Starter samadionline

    (@samadionline)

    I reinstalled and activated Easy Digital Download version 2.11.7. The product edit page loaded very quickly.

    But when I install and activate the next version 3.0 and later, the loading speed of the product edit is slow.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Slow Query (WP_Query->get_posts)’ is closed to new replies.