Forum Replies Created
-
AuthorPosts
-
Rami ZSupport Expired
And I just figured out what was the issue. It was the “Smush” plugin. It was generating API calls and causing a delay of 5+ seconds. I disabled the plugin and the site performs well.
Rami ZSupport ExpiredI think I found the issue. I installed a “Query Monitor” plugin and it shows that all pages on the dashboard perform well. However, the front pages display PHP errors and that’s what is probably causing the high TTFB.
Example 1:
Undefined property: WP_Error::$name 1
wp-content/themes/organey/includes/template-functions.php:268
organey_mobile_navigation()
wp-content/themes/organey/includes/template-functions.php:238
organey_mobile_nav()
wp-includes/class-wp-hook.php:303
do_action(‘wp_footer’)
wp-includes/general-template.php:3031
wp_footer()
wp-content/themes/organey/footer.php:23
Organey_Header_Footer_Elementor->override_footer()
wp-includes/class-wp-hook.php:305
do_action(‘get_footer’)
wp-includes/general-template.php:82
get_footer()
wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php:30Example 2:
Attempt to read property “slug” on null 3
wp-includes/taxonomy.php:4510
get_term_link()
wp-content/plugins/woocommerce/includes/walkers/class-wc-product-cat-list-walker.php:105
WC_Product_Cat_List_Walker->start_el()
wp-includes/class-wp-walker.php:144
Walker->display_element()
wp-content/plugins/woocommerce/includes/walkers/class-wc-product-cat-list-walker.php:151
WC_Product_Cat_List_Walker->display_element()
wp-includes/class-wp-walker.php:255
Walker->walk()
wp-includes/category-template.php:1107
walk_category_tree()
wp-includes/category-template.php:650
wp_list_categories()
wp-content/plugins/woocommerce/includes/widgets/class-wc-widget-product-categories.php:294
WC_Widget_Product_Categories->widget()
wp-includes/class-wp-widget.php:393
WP_Widget->display_callback()
wp-includes/widgets.php:831
dynamic_sidebar(‘sidebar-woocommerce-shop’)
wp-content/themes/organey/sidebar.php:25
load_template(‘wp-content/themes/organey/sidebar.php’)
wp-includes/template.php:716
locate_template()
wp-includes/general-template.php:136
get_sidebar(‘shop’)
wp-content/plugins/woocommerce/templates/global/sidebar.php:22
wc_get_template()
wp-content/plugins/woocommerce/includes/wc-template-functions.php:1039
woocommerce_get_sidebar()
wp-includes/class-wp-hook.php:303
do_action(‘woocommerce_sidebar’)
wp-content/themes/organey/woocommerce/archive-product.php:126Example 3:
Undefined property: WP_Error::$name 1
wp-content/themes/organey/includes/template-functions.php:268
organey_mobile_navigation()
wp-content/themes/organey/includes/template-functions.php:238
organey_mobile_nav()
wp-includes/class-wp-hook.php:303
do_action(‘wp_footer’)
wp-includes/general-template.php:3031
wp_footer()
wp-content/themes/organey/footer.php:23
Organey_Header_Footer_Elementor->override_footer()
wp-includes/class-wp-hook.php:305
do_action(‘get_footer’)
wp-includes/general-template.php:82
get_footer(‘shop’)
wp-content/themes/organey/woocommerce/archive-product.php:131Rami ZSupport ExpiredSo you believe the issue is with the Windows server? I’ve hosted several WP sites before but they don’t have this issue. It is the first time I face a TTFB issue but it is the first time I host a WooCommerce site on a dedicated Windows server.
I opened a support ticket with the server admins just to check if the issue is server-related or database-related.
I will test on LightSpeed Web too because they offer Free trials.
Rami ZSupport ExpiredHello,
Yep, I noticed that the server TTFB is almost 7 seconds despite all the optimization. I run several sites on this server and they run really quick. Could it be that I’m running a WP site on a Windows server that supports PHP?
The server specs are already super good:
8 core / 16 thread
Intel Xeon-D CPU
30 GB RAM
1 TB SSD
Unmetered bandwidthDo you suggest I move to a shared Linux hosting plan?
Rami ZSupport ExpiredI fixed it by hiding “elementor-widget-container” using Additional CSS.
-
AuthorPosts