• Resolved raha1988ab

    (@raha1988ab)


    Hi

    I found slow query with Query Monitor plugins that shows me the elementor have slow query

    I want to learn how to fixe theme to speed up my site

    SELECT SQL_CALC_FOUND_ROWS kwpa_posts.ID
    FROM kwpa_posts
    LEFT JOIN kwpa_term_relationships
    ON (kwpa_posts.ID = kwpa_term_relationships.object_id)
    INNER JOIN kwpa_postmeta
    ON ( kwpa_posts.ID = kwpa_postmeta.post_id )
    INNER JOIN kwpa_postmeta AS mt1
    ON ( kwpa_posts.ID = mt1.post_id )
    WHERE 1=1
    AND ( kwpa_posts.ID NOT IN (
    SELECT object_id
    FROM kwpa_term_relationships
    WHERE term_taxonomy_id IN (7) )
    AND ( kwpa_term_relationships.term_taxonomy_id IN (19416) ) )
    AND ( kwpa_postmeta.meta_key = '_stock_status'
    AND ( ( mt1.meta_key = '_stock_status'
    AND mt1.meta_value NOT IN ('outofstock') ) ) )
    AND kwpa_posts.post_type = 'product'
    AND ((kwpa_posts.post_status = 'publish'))
    GROUP BY kwpa_posts.ID
    ORDER BY kwpa_postmeta.meta_value ASC
    LIMIT 0, 11
    
    WP_Query->get_posts()
    wp-includes/class-wp-query.php:3262
    WP_Query->query()
    wp-includes/class-wp-query.php:3749
    WP_Query->__construct()
    wp-includes/class-wp-query.php:3881
    woodmart_elementor_products_template()
    wp-content/themes/woodmart/inc/integrations/elementor/elements/products/products.php:324
    woodmart_elementor_products_tab_template()
    wp-content/themes/woodmart/inc/integrations/elementor/elements/products-tabs/products-tabs.php:232
    woodmart_elementor_products_tabs_template()
    wp-content/themes/woodmart/inc/integrations/elementor/elements/products-tabs/products-tabs.php:197
    XTS\Elementor\Products_Tabs->render()
    wp-content/themes/woodmart/inc/integrations/elementor/elements/products-tabs/class-products-tabs.php:1319
    Elementor\Controls_Stack->render_by_mode()
    wp-content/plugins/elementor/includes/base/controls-stack.php:2268
    Elementor\Widget_Base->render_content()
    wp-content/plugins/elementor/includes/base/widget-base.php:609
    Elementor\Widget_Base->print_content()
    wp-content/plugins/elementor/includes/base/widget-base.php:750
    Elementor\Element_Base->print_element()
    wp-content/plugins/elementor/includes/base/element-base.php:449
    Elementor\Element_Base->print_content()
    wp-content/plugins/elementor/includes/base/element-base.php:1354
    Elementor\Element_Base->print_element()
    wp-content/plugins/elementor/includes/base/element-base.php:449
    Elementor\Element_Base->print_content()
    wp-content/plugins/elementor/includes/base/element-base.php:1354
    Elementor\Element_Base->print_element()
    wp-content/plugins/elementor/includes/base/element-base.php:449
    Elementor\C\B\Document->print_elements()
    wp-content/plugins/elementor/core/base/document.php:1669
    Elementor\C\B\Document->print_elements_with_wrapper()
    wp-content/plugins/elementor/core/base/document.php:1095
    Elementor\Frontend->get_builder_content()
    wp-content/plugins/elementor/includes/frontend.php:1153
    Elementor\Frontend->apply_builder_in_content()
    wp-content/plugins/elementor/includes/frontend.php:1048
    apply_filters('the_content')
    wp-includes/plugin.php:205
    woodmart_get_the_content()
    wp-content/themes/woodmart/inc/template-tags/template-tags.php:506
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    Can you send me your site URL, please?

    Thread Starter raha1988ab

    (@raha1988ab)

    Hi dear Elementor @ozyeger

    Here not , but if you give me the email or other way , I can give you wordpress admin dashboard to cheek this

    Thanks for reply,

    Regards

    • This reply was modified 1 year, 2 months ago by raha1988ab.

    Do you have Elementor pro on your site?

    Thread Starter raha1988ab

    (@raha1988ab)

    No , Only elementor

    Can you disable all your experiments, please?

    except for the Flex Box experiment (If you have it on your site)

    https://elementor.com/help/elementor-experiments

    If it solves the issue, reactivate the ones you use.

    • Please make sure that all of your Plug-ins and Theme are updated.
    • Sometimes it isn’t obvious that there is a plugin update available. Go to WordPress Dashboard > Updates and click the Check Again button to be sure.
    • Please also regenerate the CSS via Elementor > Tools > Regenerate CSS on your WordPress Dashboard,
    • then make sure that you are clear:
    • your WordPress cache (your WordPress plugin if you have one), your server cache (if
    • you have one. In this case, you can contact your hosting provider).
    • ​Please deactivate all your plugins besides Elementor and see if it helps. If it solves the issue, reactivate them one by one to find the culprit. If it didn’t help, switch your theme (temporarily) and see if it makes any difference.
    Thread Starter raha1988ab

    (@raha1988ab)

    Hi

    Thanks for the instructions but error still there …

    I activate the debug log and found this :

    [09-Feb-2023 19:40:37] PHP Deprecated:  Function Elementor\Widgets_Manager::register_widget_type is <strong>deprecated</strong> since version 3.5.0! Use register instead. in /home/example.com/public_html/wp-includes/functions.php on line 5383

    I tough maybe its better idea to give you access to my site , so you can see whats going on and maybe fixed the problem

    If yes , please give me your email address so we can cominicate for .

    Thanks

    • This reply was modified 1 year, 2 months ago by raha1988ab.

    I have tested my clean WordPress installation using only Elementor and Elementor Pro, with Query Monitor, and there are no issues indicated by this plugin: https://prnt.sc/805iVY2frNIi

    There are many factors that can influence query speed:

    • Server resources: web-server parameters, which type of server they have (VDS, dedicated, shared hosting, etc). Amount of memory, storage, processor etc.
    • What is the PHP version installed, MySQL version, and other modules installed on the server.
    • Also how much free space do they have on a storage device.
    • A number of installed third-party plugins and potential conflicts coming from their side.
    • Theme used. The query contains calls to their theme integration: wp-content/themes/woodmart/inc/integrations/elementor/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Slow Queries in Woodmart theme with elementor’ is closed to new replies.