• Hi,

    I have an issue on Single product pages due to a conflict between Polylang Pro and your theme. These pages take more than 3,4 seconds to load when Polylang Pro is enabled. Only 0.8 seconds with Twenty Twenty One (with Polylang Pro enabled) or with Oceanwp (without Polylang Pro enabled). This issue only occurs on Single product pages of Woocommerce (which are the lightest pages of my website).
    I have already contact Polylang support and they say this issue comes from you. But they stay at your disposal to provide to you support Polylang Pro + Polylang for WC if necessary if you want to reproduce the issue with their products. You can get in touch with them at [email protected], they will provide you with everything you need (technical support, version of our extensions, etc.).

    But maybe you already know how to fix this issue?

    I have already disabled all the Oceanwp scripts for Woocommerce pages.

    Regards

    Jacques

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Please don’t disable any of the scripts & style files. Enable all the scripts & style files.

    For troubleshooting, please do the following steps and let me the results:

    1. Head over to WP Dashboard > Plugin.
    2. Deactivate all plugins.
    3. Then, first, activate the Ocean Extra plugin and woocommerce.
    4. Check your issue.
    5. Then, activate your plugins one by one.
    6. After activation of any plugins, check your issue.

    Note: If you have a cache plugin or server cache. You need to clear its cache contents or disable them.

    In addition, Would you be so kind and go to Elementor > System Info and share the report with us so that we can take a look?

    Thread Starter jacquesjphoto

    (@jacquesjphoto)

    Ok i’ve done this already two times. I’ve made a third time and same results:
    Page Generation Time : 0,5 with just Woocommerce and Ocean extra
    0,7sec with any plugins enabled
    When I activate Polylang Pro : 2,4sec

    • This reply was modified 2 years, 9 months ago by jacquesjphoto.
    Thread Starter jacquesjphoto

    (@jacquesjphoto)

    Elementor System Info

    == Server Environment ==
    	Operating System: Linux
    	Software: nginx
    	MySQL version: MariaDB Server v10.3.34
    	PHP Version: 8.0.19
    	PHP Memory Limit: 512M
    	PHP Max Input Vars: 6144
    	PHP Max Post Size: 2047M
    	GD Installed: Yes
    	ZIP Installed: Yes
    	Write Permissions: There are some writing permissions issues with the following directories/files:
    		 - WordPress root directory
    	Elementor Library: Connected
    
    == WordPress Environment ==
    	Version: 6.0
    	Site URL: https://jacquesjulien.com
    	Home URL: https://jacquesjulien.com
    	WP Multisite: No
    	Max Upload Size: 2 GB
    	Memory limit: 512M
    	Max Memory limit: 512M
    	Permalink Structure: /%postname%/
    	Language: en-US
    	Timezone: Europe/Paris
    	Admin Email: [email protected]
    	Debug Mode: Inactive
    
    == Theme ==
    	Name: OceanWP
    	Version: 3.3.0
    	Author: OceanWP
    	Child Theme: No
    
    == User ==
    	Role: administrator
    	WP Profile lang: en_US
    	User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36
    
    == Active Plugins ==
    	Akismet Anti-Spam
    		Version: 4.2.4
    		Author: Automattic
    
    	CoBlocks
    		Version: 2.24.0
    		Author: GoDaddy
    
    	Elementor
    		Version: 3.6.5
    		Author: Elementor.com
    
    	Essential Addons for Elementor
    		Version: 5.1.3
    		Author: WPDeveloper
    
    	Gutenberg
    		Version: 13.2.2
    		Author: Gutenberg Team
    
    	Jetpack
    		Version: 11.0-a.9
    		Author: Automattic
    
    	Layout Grid
    		Version: 1.8.1
    		Author: Automattic
    
    	Ocean Elementor Widgets
    		Version: 2.2.1
    		Author: OceanWP
    
    	Ocean Extra
    		Version: 2.0.0
    		Author: OceanWP
    
    	Page scroll to id
    		Version: 1.7.5
    		Author: malihu
    
    	Polylang for WooCommerce
    		Version: 1.6.3
    		Author: WP SYNTEX
    
    	Polylang Pro
    		Version: 3.2.3
    		Author: WP SYNTEX
    
    	WooCommerce
    		Version: 6.4.1
    		Author: Automattic
    
    	WooCommerce Payments
    		Version: 4.1.0
    		Author: Automattic
    
    	WooCommerce Shipping & Tax
    		Version: 1.25.28
    		Author: WooCommerce
    
    	WordPress.com Editing Toolkit
    		Version: 3.33553
    		Author: Automattic
    
    	Yoast SEO
    		Version: 18.9
    		Author: Team Yoast
    
    	Yoast SEO: WooCommerce
    		Version: 14.8
    		Author: Team Yoast
    
    == Must-Use Plugins ==
    	Elementor Safe Mode
    		Version: 1.0.0
    		Author: Elementor.com
    
    	WP.com Site Helper
    		Version: 
    		Author: 
    
    == Elementor Experiments ==
    	Optimized DOM Output: Inactive
    	Improved Asset Loading: Inactive
    	Improved CSS Loading: Inactive
    	Inline Font Icons: Inactive
    	Accessibility Improvements: Inactive
    	Import Export Template Kit: Inactive
    	Additional Custom Breakpoints: Inactive
    	Hide native WordPress widgets from search results: Inactive
    	: Inactive by default
    	Flexbox Container: Inactive
    	Landing Pages: Inactive
    	Color Sampler: Inactive
    	Favorite Widgets: Inactive
    	Admin Top Bar: Inactive
    
    == Log ==
    	
    Log: showing 20 of 332021-12-26 19:24:37 [info] Elementor data updater process has been completed. [array (
      'plugin' => 'Elementor',
      'from' => '3.5.1',
      'to' => '3.5.2',
    )]
    2021-12-28 15:46:57 [info] elementor::elementor_updater Started 
    2021-12-28 15:46:57 [info] Elementor/Upgrades - _on_each_version Start  
    2021-12-28 15:46:57 [info] Elementor/Upgrades - _on_each_version Finished 
    2021-12-28 15:46:57 [info] Elementor data updater process has been completed. [array (
      'plugin' => 'Elementor',
      'from' => '3.5.2',
      'to' => '3.5.3',
    )]
    2021-12-28 15:46:57 [info] Elementor data updater process has been queued. [array (
      'plugin' => 'Elementor',
      'from' => '3.5.2',
      'to' => '3.5.3',
    )]
    2021-12-28 15:46:58 [info] Elementor data updater process has been queued. [array (
      'plugin' => 'Elementor',
      'from' => '3.5.2',
      'to' => '3.5.3',
    )]
    2022-04-05 15:41:04 [info] elementor::elementor_updater Started 
    2022-04-05 15:41:04 [info] Elementor/Upgrades - _on_each_version Start  
    2022-04-05 15:41:04 [info] Elementor/Upgrades - _on_each_version Finished 
    2022-04-05 15:41:04 [info] Elementor data updater process has been completed. [array (
      'plugin' => 'Elementor',
      'from' => '3.5.3',
      'to' => '3.6.2',
    )]
    2022-04-13 04:44:31 [info] elementor::elementor_updater Started 
    2022-04-13 04:44:31 [info] Elementor/Upgrades - _on_each_version Start  
    2022-04-13 04:44:31 [info] Elementor/Upgrades - _on_each_version Finished 
    2022-04-13 04:44:31 [info] Elementor data updater process has been completed. [array (
      'plugin' => 'Elementor',
      'from' => '3.6.2',
      'to' => '3.6.3',
    )]
    2022-04-13 04:44:32 [info] Elementor data updater process has been queued. [array (
      'plugin' => 'Elementor',
      'from' => '3.6.2',
      'to' => '3.6.3',
    )]
    2022-05-25 08:45:14 [info] elementor::elementor_updater Started 
    2022-05-25 08:45:14 [info] Elementor/Upgrades - _on_each_version Start  
    2022-05-25 08:45:14 [info] Elementor/Upgrades - _on_each_version Finished 
    2022-05-25 08:45:14 [info] Elementor data updater process has been completed. [array (
      'plugin' => 'Elementor',
      'from' => '3.6.3',
      'to' => '3.6.5',
    )]
    
    JS: showing 5 of 5JS: 2022-01-26 16:22:29 [error X 38][https://jacquesjulien.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.5.4:2:453832] Cannot read properties of null (reading \'getBoundingClientRect\') 
    JS: 2022-01-26 16:48:35 [error X 1][https://jacquesjulien.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.5.4:2:286941] Blocked a frame with origin \"https://jacquesjulien.com\" from accessing a cross-origin frame. 
    JS: 2022-01-29 14:27:23 [error X 7][https://jacquesjulien.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.5.4:2:252935] Cannot read properties of undefined (reading \'html\') 
    JS: 2022-03-13 17:04:23 [error X 4][https://jacquesjulien.com/wp-content/plugins/elementor/assets/js/editor-modules.min.js?ver=3.5.6:2:20179] An invalid argument supplied as multiple control value [array (
      'category' => 'InvalidElementData',
      'tag' => 'Element <code>undefined</code> got as <code>timeline_icon</code> value. Expected array or object.',
    )]
    JS: 2022-04-13 12:23:33 [error X 3][https://jacquesjulien.com/wp-content/plugins/elementor/assets/js/editor-modules.min.js?ver=3.6.3:2:20179] An invalid argument supplied as multiple control value [array (
      'category' => 'InvalidElementData',
      'tag' => 'Element <code>undefined</code> got as <code>testimonial_image</code> value. Expected array or object.',
    )]
    
    PHP: showing 4 of 4PHP: 2022-03-22 23:09:45 [notice X 33513][/srv/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2022-03-22 23:43:39 [notice X 12568][/srv/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] L’argument $control_id est obsolète depuis la version 3.5.0?! [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2022-05-24 21:40:46 [warning X 1][/srv/htdocs/wp-content/plugins/elementor/core/experiments/experiments-reporter.php::89] Undefined array key "title" [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2022-05-24 23:03:50 [error X 1][/srv/htdocs/wp-content/plugins/elementor/includes/utils.php::449] Uncaught Error: Failed opening required '/wordpress/core/5.9.3//wp-admin/includes/theme.php' (include_path='/:.') in /srv/htdocs/wp-content/plugins/elementor/includes/utils.php:449
    Stack trace:
    #0 /srv/htdocs/wp-content/plugins/elementor/core/settings/page/manager.php(238): Elementor\Utils::is_cpt_custom_templates_supported()
    #1 /srv/htdocs/wp-content/plugins/elementor/core/settings/base/manager.php(313): Elementor\Core\Settings\Page\Manager->get_saved_settings(15285)
    #2 /srv/htdocs/wp-content/plugins/elementor/core/settings/base/manager.php(104): Elementor\Core\Settings\Base\Manager->create_model(15285)
    #3 /srv/htdocs/wp-content/plugins/elementor/core/settings/page/manager.php(289): Elementor\Core\Settings\Base\Manager->get_model(15285)
    #4 /srv/htdocs/wp-content/plugins/elementor/core/settings/base/css-manager.php(109): Elementor\Core\Settings\Page\Manager->get_model_for_css_file(Object(Elementor\Core\Files\CSS\Post))
    #5 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(307): Elementor\Core\Settings\Base\CSS_Manager->add_settings_css_rules(Object(Elementor\Core\Files\CSS\Post))
    #6 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #7 /wordpress/core/5.9.3/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #8 /srv/htdocs/wp-content/plugins/elementor/core/files/css/base.php(647): do_action('elementor/css-f...', Object(Elementor\Core\Files\CSS\Post))
    #9 /srv/htdocs/wp-content/plugins/elementor/core/files/base.php(180): Elementor\Core\Files\CSS\Base->parse_content()
    #10 /srv/htdocs/wp-content/plugins/elementor/core/files/css/base.php(131): Elementor\Core\Files\Base->update_file()
    #11 /srv/htdocs/wp-content/plugins/elementor/core/files/css/base.php(218): Elementor\Core\Files\CSS\Base->update()
    #12 /srv/htdocs/wp-content/plugins/elementor/core/files/css/post.php(201): Elementor\Core\Files\CSS\Base->enqueue()
    #13 /srv/htdocs/wp-content/plugins/elementor/includes/frontend.php(639): Elementor\Core\Files\CSS\Post->enqueue()
    #14 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(307): Elementor\Frontend->enqueue_styles('')
    #15 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #16 /wordpress/core/5.9.3/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #17 /wordpress/core/5.9.3/wp-includes/script-loader.php(2115): do_action('wp_enqueue_scri...')
    #18 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts('')
    #19 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #20 /wordpress/core/5.9.3/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #21 /wordpress/core/5.9.3/wp-includes/general-template.php(3042): do_action('wp_head')
    #22 /srv/htdocs/wp-content/themes/oceanwp/header.php(15): wp_head()
    #23 /wordpress/core/5.9.3/wp-includes/template.php(770): require_once('/srv/htdocs/wp-...')
    #24 /wordpress/core/5.9.3/wp-includes/template.php(716): load_template('/srv/htdocs/wp-...', true, Array)
    #25 /wordpress/core/5.9.3/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #26 /srv/htdocs/wp-content/themes/oceanwp/page.php(12): get_header()
    #27 /wordpress/core/5.9.3/wp-includes/template-loader.php(106): include('/srv/htdocs/wp-...')
    #28 /wordpress/core/5.9.3/wp-blog-header.php(19): require_once('/wordpress/core...')
    #29 /wordpress/core/5.9.3/index.php(17): require('/wordpress/core...')
    #30 {main}
      thrown [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    
    == Elementor - Compatibility Tag ==
    	
    	Essential Addons for Elementor: Compatibility not specified
    	Ocean Elementor Widgets: Compatibility not specified

    Thank you for following the steps and sharing the details.

    We will reach out to the Polylang support team and check the issue with them.

    Once get any updates or need any more details, I’ll get back to you.

    Thread Starter jacquesjphoto

    (@jacquesjphoto)

    Ok great! Thanks a lot for the support.
    I hope you’ll find how to fix this problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Conflict with Polylang on Single product pages’ is closed to new replies.