Support » Fixing WordPress » Horrible TTFB – over 20 seconds

  • Hi all, I have a huge and strange problem with website

    The page is loading very slow (about 30 seconds). The problem is Time to first byte TTFB. But this problem exists only on 1st page per session. The next pages are loading in good time.

    And when new session appears – the problem with TTFB is back on the 1st page. It doesnt matter which page I try to load.

    Ive tried off plugins, change php version etc and the problem still exists.

    Does anyone have similiar problem or want to what to do?

    == Server Environment ==
    	Operating System: Linux
    	Software: LiteSpeed
    	MySQL version: MariaDB Server v5.7.31
    	PHP Version: 7.4.16
    	PHP Max Input Vars: 2000
    	PHP Max Post Size: 8M
    	GD Installed: Yes
    	ZIP Installed: Yes
    	Write Permissions: All right
    	Elementor Library: Connected
    
    == WordPress Environment ==
    	Version: 5.8.2
    	Site URL: https://geocart.co.uk
    	Home URL: https://geocart.co.uk
    	WP Multisite: No
    	Max Upload Size: 8 MB
    	Memory limit: 1024m
    	Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
    	Language: pl-PL
    	Timezone: 0
    	Admin Email: dwojcik.afore@gmail.com
    	Debug Mode: Inactive
    
    == Theme ==
    	Name: Twenty Twenty-One
    	Version: 1.4
    	Author: the WordPress team
    	Child Theme: No
    
    == User ==
    	Role: administrator
    	WP Profile lang: pl_PL
    	User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0
    
    == Active Plugins ==
    	DreamHost Panel Login
    		Version: 1.0.0
    		Author: DreamHost, danielbachhuber
    
    	Duplicate Page
    		Version: 4.4.5
    		Author: mndpsingh287
    
    	Elementor
    		Version: 3.4.8
    		Author: Elementor.com
    
    	Elementor Pro
    		Version: 3.0.5
    		Author: Elementor.com
    
    	ElementsKit Lite
    		Version: 2.5.0
    		Author: Wpmet
    
    	Google Tag Manager for WordPress
    		Version: 1.13.1
    		Author: Thomas Geiger
    
    	HT Mega - Absolute Addons for Elementor Page Builder
    		Version: 1.6.8
    		Author: HasThemes
    
    	LiteSpeed Cache
    		Version: 4.4.4
    		Author: LiteSpeed Technologies
    
    	Markup (JSON-LD) structured in schema.org
    		Version: 4.8.1
    		Author: Kazuya Takami
    
    	Query Monitor
    		Version: 3.7.1
    		Author: John Blackbourn
    
    	Server IP & Memory Usage Display
    		Version: 2.1.0
    		Author: Apasionados, Apasionados del Marketing
    
    	WP-Sweep
    		Version: 1.1.5
    		Author: Lester 'GaMerZ' Chan
    
    	Yoast SEO
    		Version: 17.6
    		Author: Team Yoast
    
    == Elementor - Compatibility Tag ==
    	
    	Elementor Pro: Kompatybilność nieokreślona
    	HT Mega - Absolute Addons for Elementor Page Builder: Kompatybilność nieokreślona
    
    == Elements Usage ==
    	
    	footer : 1
    		elementskit-heading : 6
    		elementskit-page-list : 6
    		heading : 1
    		html : 1
    		image : 1
    		spacer : 1
    		text-editor : 2
    	header : 3
    		ekit-nav-menu : 1
    		form : 1
    		heading : 7
    		icon : 4
    		icon-list : 1
    		image : 5
    		nav-menu : 2
    		slides : 1
    		text-editor : 8
    	page : 8
    		button : 6
    		call-to-action : 3
    		divider : 6
    		form : 2
    		google_maps : 1
    		heading : 25
    		html : 2
    		icon : 9
    		icon-list : 3
    		image : 11
    		image-carousel : 1
    		slides : 3
    		testimonial-carousel : 1
    		text-editor : 27
    		video : 1
    	section : 17
    		elementskit-heading : 6
    		elementskit-page-list : 6
    		gallery : 7
    		global : 7
    		heading : 7
    		text-editor : 8
    	single : 1
    		theme-post-content : 1
    	widget : 0
    		form : 426
    		slides : 3
    		text-editor : 159
    	wp-post : 0
    		elementskit-heading : 6
    		elementskit-page-list : 6
    	wp-page : 31
    		call-to-action : 4
    		elementskit-heading : 6
    		elementskit-icon-box : 9
    		elementskit-page-list : 6
    		gallery : 71
    		global : 97
    		heading : 281
    		htmega-working-process-addons : 57
    		icon : 5
    		icon-box : 88
    		icon-list : 26
    		image : 10
    		spacer : 413
    		text-editor : 197
    		toggle : 3
    
    == Log ==
    	
    
    2021-11-25 14:40:55 [info] Elementor/Upgrades - _v_3_0_0_move_general_settings_to_kit Start  
    2021-11-25 14:40:55 [notice] General Settings already exist. nothing to do. 
    2021-11-25 14:40:55 [info] Elementor/Upgrades - _v_3_0_0_move_general_settings_to_kit Finished 
    2021-11-25 14:40:55 [info] Elementor/Upgrades - _v_3_0_0_move_default_colors_to_kit Start  
    2021-11-25 14:40:55 [notice] System colors already exist. nothing to do. 
    2021-11-25 14:40:55 [info] Elementor/Upgrades - _v_3_0_0_move_default_colors_to_kit Finished 
    2021-11-25 14:40:55 [info] Elementor/Upgrades - _v_3_0_0_move_saved_colors_to_kit Start  
    2021-11-25 14:40:55 [notice] Custom colors already exist. nothing to do. 
    2021-11-25 14:40:55 [info] Elementor/Upgrades - _v_3_0_0_move_saved_colors_to_kit Finished 
    2021-11-25 14:40:55 [info] Elementor/Upgrades - _v_3_0_0_move_default_typography_to_kit Start  
    2021-11-25 14:40:56 [notice] System typography already exist. nothing to do. 
    2021-11-25 14:40:56 [info] Elementor/Upgrades - _v_3_0_0_move_default_typography_to_kit Finished 
    2021-11-25 14:40:56 [info] Elementor/Upgrades - _v_3_2_0_migrate_breakpoints_to_new_system Start  
    2021-11-25 14:40:56 [info] Elementor/Upgrades - _v_3_2_0_migrate_breakpoints_to_new_system Finished 
    2021-11-25 14:40:56 [info] Elementor data updater process has been completed. [array (
      'plugin' => 'Elementor',
      'from' => '3.2.5',
      'to' => '3.4.8',
    )]
    
    PHP: showing 17 of 17PHP: 2021-06-26 10:17:10 [notice X 10][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::171] Undefined index: data [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-06-26 11:37:31 [error X 1][/htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php::195] Uncaught Error: Class '\ElementorPro\Modules\ThemeBuilder\Conditions\General' not found in /htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php:195
    Stack trace:
    #0 /htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php(237): ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->register_condition('general')
    #1 /htdocs/wp-includes/class-wp-hook.php(292): ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->register_conditions('')
    #2 /htdocs/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #3 /htdocs/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #4 /htdocs/wp-settings.php(582): do_action('wp_loaded')
    #5 /htdocs/wp-config.php(106): require_once('/htdocs/wp-sett...')
    #6 /htdocs/wp-load.php(37): require_once('/htdocs/wp-conf...')
    #7 /htdocs/wp-cron.php(44): require_once('/htdocs/wp-load...')
    #8 {main}
      thrown [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-07-14 21:35:03 [error X 1][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19296288 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-07-19 20:26:34 [error X 6][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19296680 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-07-21 20:16:58 [error X 3][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19297224 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-08-04 21:55:28 [error X 3][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19300816 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-08-08 18:54:34 [error X 2][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19301544 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-08-15 18:03:33 [error X 1][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19302992 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-08-15 19:23:31 [error X 4][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19302856 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-09-10 20:12:15 [error X 6][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19303392 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-09-14 22:32:09 [error X 1][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19304736 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-09-14 23:03:02 [error X 2][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19311744 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-09-16 19:12:08 [error X 3][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19311176 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-09-16 19:57:25 [error X 11][/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::265] Allowed memory size of 134217728 bytes exhausted (tried to allocate 19311192 bytes) [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-09-16 21:02:14 [notice X 832][/htdocs/wp-content/plugins/elementor-pro/modules/posts/skins/skin-content-base.php::248] Trying to get property 'ID' of non-object [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-09-26 21:28:55 [notice X 6][/htdocs/wp-content/plugins/elementor-pro/modules/forms/classes/form-record.php::183] Undefined index: referrer [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2021-11-25 14:40:56 [notice X 28][/home/vgj1qivk/public_html/wp-content/plugins/elementor-pro/license/updater.php::85] Undefined index: new_version [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    
    JS: showing 2 of 2JS: 2021-07-08 22:09:45 [error X 1][https://geocart.co.uk/wp-content/plugins/elementor/assets/js/editor-modules.min.js?ver=3.2.5:2:33385] An invalid argument supplied as multiple control value [array (
      'category' => 'InvalidElementData',
      'tag' => 'Element <code>undefined</code> got as <code>htmega_social_icon</code> value. Expected array or object.',
    )]
    JS: 2021-07-14 21:38:46 [error X 1][https://geocart.co.uk/wp-content/plugins/elementor/assets/js/editor-modules.min.js?ver=3.2.5:2:33385] An invalid argument supplied as multiple control value [array (
      'category' => 'InvalidElementData',
      'tag' => 'Element <code>undefined</code> got as <code>gridimage_btnlink</code> value. Expected array or object.',
    )]
    • This topic was modified 1 year, 2 months ago by James Huff. Reason: redundant link removed

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    We have some general recommendations for you at https://wordpress.org/support/article/optimization/

    Thread Starter dawe19

    (@dawe19)

    Huge thanks for response.

    So do you think that my host is the reason so long ttfb?

    Test by disabling all plugins and running a speed test. If the TTFB is still high then get in touch with the host to resolve this. If they shrug their shoulders, then move to a more responsive host. If disabling the plugins leads to a considerable improvement, enable and test one by one until you find the plugin that is causing the issue.

    If you are worried about the impact on the site visitors while you test, then consider creating a staging site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Horrible TTFB – over 20 seconds’ is closed to new replies.