elementor / elementor

The most advanced frontend drag & drop page builder. Create high-end, pixel perfect websites at record speeds. Any theme, any page, any design.
https://elementor.com/
GNU General Public License v3.0
6.58k stars 1.42k forks source link

β›” 🐞 Bug Report: Lottie displays twice when included in a loop carousel #22903

Closed Silvercode-AU closed 1 year ago

Silvercode-AU commented 1 year ago

Prerequisites

Description

When you include the Lottie widget in a loop item, and use that loop item as the template in a loop carousel widget, the Lottie shows twice once the carousel begins to slide across.

How it looks on page load:

Screen Shot 2023-06-26 at 8 58 21 pm

How it looks when the carousel begins sliding across:

Screen Shot 2023-06-26 at 8 58 15 pm

Steps to reproduce

  1. Create a loop item, and include the Lottie widget within it. It doesn't matter what the Lottie source is, the issue seems to occur with either source method.
  2. On a page, create a loop carousel
  3. Set the template for the loop carousel to the loop item created above
  4. Save and load the front-end

Isolating the problem

System Info

System Info ````txt == Server Environment == Operating System: Linux Software: LiteSpeed MySQL version: MariaDB Server v10.3.39 PHP Version: 8.1.19 PHP Memory Limit: 1G PHP Max Input Vars: 220000 PHP Max Post Size: 128M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected == WordPress Environment == Version: 6.2.2 Site URL: https://stage7.silvercode-staging.com Home URL: https://stage7.silvercode-staging.com WP Multisite: No Max Upload Size: 32 MB Memory limit: 256M Max Memory limit: 1G Permalink Structure: /%postname%/ Language: en-AU Timezone: Australia/Melbourne Admin Email: [REDACTED] Debug Mode: Inactive == Theme == Name: Hello Elementor Version: 2.7.1 Author: Elementor Team Child Theme: No == User == Role: administrator WP Profile lang: en_AU User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 == Active Plugins == Elementor Version: 3.14.0 Author: Elementor.com Elementor Pro Version: 3.14.0 Author: Elementor.com == Features == Custom Fonts: 1 Custom Icons: 0 == Integrations == recaptcha_v3: Active == Elementor Experiments == Optimised DOM Output: Active by default Improved Asset Loading: Active by default Improved CSS Loading: Active by default Inline Font Icons: Inactive by default Accessibility Improvements: Active by default Additional Custom Breakpoints: Active by default admin_menu_rearrangement: Inactive by default Flexbox Container: Active Upgrade Swiper Library: Active by default Grid Container: Inactive by default Default to New Theme Builder: Active by default Hello Theme Header & Footer: Active by default Editor Top Bar: Inactive by default Landing Pages: Active by default Nested Elements: Active Nested Accordion: Inactive by default Lazy Load Background Images: Inactive by default Global Style Guide: Inactive by default Page Transitions: Active by default Notes: Active by default Loop: Active by default Form Submissions: Inactive Scroll Snap: Active by default Menu: Inactive by default == Log == PHP: showing 9 of 9PHP: 2023-05-28 12:29:03 [warning X 145][/home/silverco/public_html/stage5.silvercode-staging.com/wp-content/plugins/elementor-pro/modules/woocommerce/module.php::381] Undefined array key 1 [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2023-05-28 12:29:05 [notice X 836][/home/silverco/public_html/stage5.silvercode-staging.com/wp-content/plugins/elementor-pro/modules/custom-css/module.php::76] trim(): Passing null to parameter #1 ($string) of type string is deprecated [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2023-05-28 12:29:10 [warning X 35][/home/silverco/public_html/stage5.silvercode-staging.com/wp-content/plugins/elementor/includes/managers/image.php::108] Trying to access array offset on value of type bool [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2023-06-03 12:48:46 [warning X 3][/home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor/modules/history/revisions-manager.php::363] Trying to access array offset on value of type null [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2023-06-03 15:51:38 [warning X 4][/home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor/core/common/modules/ajax/module.php::175] Undefined array key "data" [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2023-06-03 15:51:38 [warning X 8][/home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor-pro/core/app/modules/site-editor/data/endpoints/templates.php::150] Undefined array key "condition_type" [array ( 'trace' => ' #0: /home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor-pro/core/app/modules/site-editor/data/endpoints/templates.php(150): Elementor\Core\Logger\Manager -> rest_error_handler() #1: ElementorPro\Core\App\Modules\SiteEditor\Data\Endpoints\Templates -> normalize_template_json_item() #2: /home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor-pro/core/app/modules/site-editor/data/endpoints/templates.php(120): class type array_map() #3: /home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor-pro/core/app/modules/site-editor/data/endpoints/templates.php(59): ElementorPro\Core\App\Modules\SiteEditor\Data\Endpoints\Templates -> normalize_templates_json() #4: /home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor/data/base/endpoint.php(158): ElementorPro\Core\App\Modules\SiteEditor\Data\Endpoints\Templates -> get_items() ', )] PHP: 2023-06-03 18:24:02 [notice X 1][/home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor-pro/modules/custom-css/module.php::76] trim(): Passing null to parameter #1 ($string) of type string is deprecated [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> rest_error_handler() #1: /home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor-pro/modules/custom-css/module.php(76): class type trim() #2: /home/silverco/public_html/stage7.silvercode-staging.com/wp-includes/class-wp-hook.php(308): ElementorPro\Modules\CustomCss\Module -> add_page_settings_css() #3: /home/silverco/public_html/stage7.silvercode-staging.com/wp-includes/class-wp-hook.php(332): WP_Hook -> apply_filters() #4: /home/silverco/public_html/stage7.silvercode-staging.com/wp-includes/plugin.php(517): WP_Hook -> do_action() ', )] PHP: 2023-06-06 22:58:59 [warning X 1][/home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor-pro/modules/assets-manager/asset-types/fonts-manager.php::252] Undefined array key "editor_post_id" [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] PHP: 2023-06-26 20:11:42 [notice X 3][/home/silverco/public_html/stage7.silvercode-staging.com/wp-content/plugins/elementor/includes/managers/image.php::76] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] JS: showing 4 of 4JS: 2023-05-30 14:20:18 [error X 2][https://stage5.silvercode-staging.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.13.3:3:794943] Cannot read properties of undefined (reading 'toLowerCase') JS: 2023-05-31 01:03:29 [error X 4][https://stage5.silvercode-staging.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.13.3:3:795450] Cannot read properties of undefined (reading 'localized') JS: 2023-06-03 06:11:47 [error X 5][https://stage7.silvercode-staging.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.13.4:3:596258] Cannot read properties of null (reading 'id') JS: 2023-06-03 23:41:45 [error X 56][https://stage7.silvercode-staging.com/wp-content/plugins/premium-addons-pro/assets/frontend/min-js/premium-parallax.min.js?ver=2.8.27:1:25644] window.PremiumSvgDrawerHandler is not a function Log: showing 14 of 142023-06-01 14:57:52 [info] elementor::elementor_updater Started 2023-06-01 14:57:52 [info] Elementor/Upgrades - _on_each_version Start 2023-06-01 14:57:52 [info] Elementor/Upgrades - _on_each_version Finished 2023-06-01 14:57:52 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.13.3', 'to' => '3.13.4', )] 2023-06-25 11:19:36 [info] elementor::elementor_updater Started 2023-06-25 11:19:36 [info] Elementor/Upgrades - _on_each_version Start 2023-06-25 11:19:36 [info] Elementor/Upgrades - _on_each_version Finished 2023-06-25 11:19:36 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.13.4', 'to' => '3.14.0', )] 2023-06-25 11:19:36 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.13.4', 'to' => '3.14.0', )] 2023-06-25 11:19:37 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.13.4', 'to' => '3.14.0', )] 2023-06-26 20:13:17 [info] elementor-pro::elementor_pro_updater Started 2023-06-26 20:13:17 [info] Elementor Pro/Upgrades - _on_each_version Start 2023-06-26 20:13:17 [info] Elementor Pro/Upgrades - _on_each_version Finished 2023-06-26 20:13:17 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor Pro', 'from' => '3.13.2', 'to' => '3.14.0', )] == Elementor - Compatibility Tag == Elementor Pro: Compatible == Elementor Pro - Compatibility Tag == ````
nicholaszein commented 1 year ago

Hi, @Silvercode-AU,

Thank you for reaching out! πŸ™

β›” After reviewing your report we concluded this is not a bug caused by Elementor. The feature you're referring to is not yet supported.

If you think this should be an Elementor feature, please submit a new πŸš€ Feature Request, and we will consider it in the future if there is enough demand (votes) from other users.

Kind regards