elementor / elementor/elementor

Mini cart template appears as empty

Open
#29,046 1 comment 0 reactions 0 assignees View on GitHub
status/awaiting_triage
Dominant language
PHP
Stars
7.1k
Forks
1.6k
Avg merge
1d 5h
Merged PRs (30d)
193

Description

### Prerequisites

- [X] I have searched for similar issues in open and closed tickets and cannot find a duplicate.
- [X] I have troubleshooted my issue, and it still exists against the latest stable version of Elementor.

### Description

Mini cart template appears as empty in some case, on PC and Mac.

### Steps to reproduce

1 - Add a product
2 - The mini cart open and appears as empty
3 - Try again: in some case the product are displayed

### Expected behavior

1 - Add a product
2 - The mini cart open and the product are displayed

### Isolating the problem

- [X] This bug happens when only the Elementor (and Elementor Pro) plugins are active.
- [ ] This bug happens with the Hello Elementor theme active.
- [X] I can reproduce this bug consistently by following the steps I described above.

### Elementor System Info

```txt
== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: MariaDB Server v10.6.19
PHP Version: 8.3.12
PHP Memory Limit: 2048M
PHP Max Input Vars: 1000
PHP Max Post Size: 64M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 6.6.2
Site URL: https://stickersproject.com
Home URL: https://stickersproject.com
WP Multisite: No
Max Upload Size: 64 Mo
Memory limit: 40M
Max Memory limit: 2048M
Permalink Structure: /%postname%/
Language: fr_FR
Timezone: Europe/Paris
Admin Email: stickersprojectx@gmail.com
Debug Mode: Inactive

== Theme ==
Name: Stickers Projet
Version: 1.0
Author: FreePixel
Child Theme: Yes
Parent Theme Name: OceanWP
Parent Theme Version: 4.0.1
Parent Theme Author: OceanWP

== User ==
Role: administrator
WP Profile lang: fr-FR
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0

== Active Plugins ==
AutomateWoo
Version: 6.1.0
Author: WooCommerce

Bayna - Deposits for WooCommerce
Version: 1.3.1
Author: Codeixer

Complianz | GDPR/CCPA Cookie Consent
Version: 7.1.0
Author: Really Simple Plugins

Crisp
Version: 0.47
Author: Crisp

Disable Everything
Version: 0.4.1
Author: Dessky Team

Discount Rules Core
Version: 2.6.6
Author: Flycart

Elementor
Version: 3.24.7
Author: Elementor.com

Elementor Pro
Version: 3.24.4
Author: Elementor.com

Facebook for WooCommerce
Version: 3.2.10
Author: Facebook

Flexible Elementor Panel
Version: 2.4.0
Author: WebMat

Flexible Shipping
Version: 5.0.0
Author: Octolize

GDPR Data Request Form
Version: 1.7
Author: audrasjb

Google for WooCommerce
Version: 2.8.6
Author: WooCommerce

Imagify
Version: 2.2.2
Author: Imagify Image Optimization – Optimize Images & Convert WebP & Avif

LiteSpeed Cache
Version: 6.5.2
Author: LiteSpeed Technologies

MailPoet
Version: 5.3.3
Author: MailPoet

MainWP Child
Version: 5.2
Author: MainWP

MainWP Child Reports
Version: 2.2.3
Author: MainWP

Max Mega Menu
Version: 3.3.2
Author: megamenu.com

o2switch - WpTiger
Version: 16-09-24
Author:

Ocean Extra
Version: 2.4.1
Author: OceanWP

PixelYourSite
Version: 9.7.2
Author: PixelYourSite

PPOM for WooCommerce
Version: 33.0.7
Author: Themeisle

Premmerce Permalink Manager for WooCommerce
Version: 2.3.11
Author: Premmerce

Rank Math SEO
Version: 1.0.230
Author: Rank Math

Unbloater
Version: 1.6.2
Author: Christoph Rado

UpdraftPlus - Backup/Restore
Version: 1.24.6
Author: TeamUpdraft, DavidAnderson

Variation Swatches for WooCommerce
Version: 2.1.2
Author: Emran Ahmed

Widgets for Google Reviews
Version: 12.3
Author: Trustindex.io

WooCommerce
Version: 9.3.3
Author: Automattic

WooCommerce.com Update Manager
Version: 1.0.3
Author: Automattic

WooCommerce Legacy REST API
Version: 1.0.4
Author: WooCommerce

WooCommerce Multilingual & Multicurrency
Version: 5.3.8
Author: OnTheGoSystems

WooCommerce PayPal Payments
Version: 2.9.3
Author: WooCommerce

WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels
Version: 4.7.0
Author: WebToffee

WooCommerce Shipping & Tax
Version: 2.8.2
Author: WooCommerce

WooCommerce Stripe Gateway
Version: 8.8.0
Author: WooCommerce

WPC Smart Quick View for WooCommerce
Version: 4.1.3
Author: WPClever

WP Mail Logging
Version: 1.13.1
Author: WP Mail Logging Team

WP Mail SMTP
Version: 4.1.1
Author: WP Mail SMTP

WP Media folder
Version: 5.9.7
Author: Joomunited

WPML Multilingual CMS
Version: 4.6.13
Author: OnTheGoSystems

WPML SEO
Version: 2.1.0.1
Author: OnTheGoSystems

WPML String Translation
Version: 3.2.14
Author: OnTheGoSystems

WPS Hide Login
Version: 1.9.17.1
Author: WPServeur, NicolasKulka, wpformation

WP Statistics
Version: 14.10.3
Author: VeronaLabs

== Must-Use Plugins ==
Elementor Safe Mode
Version: 1.0.0
Author: Elementor.com

Sanitize Filename
Version: 1.0
Author: Mickaël Gris

== Fonctionnalités ==
Custom Fonts: 4
Custom Icons: 0

== Intégrations ==

woocommerce: Actif

== Expériences d’Elementor ==
Optimisation du chargement du CSS: Inactif par défaut
Polices d’icônes « inline »: Actif
Points d’arrêt personnalisés supplémentaires: Actif
Conteneur Flexbox: Actif
Conteneur grille: Actif
Mettre à niveau la bibliothèque Swiper: Actif
Performances des éléments imbriqués: Actif par défaut
Chargement optimisé des contrôles: Inactif
Balisage optimisé: Inactif par défaut
Conditionally load Swiper CSS files: Inactif par défaut
Intégration d’extension: Actif par défaut
Par défaut vers le Nouveau constructeur de thème: Inactif
Écran d’accueil Elementor: Actif par défaut
Construire avec l’IA: Inactif
Page d’atterrissage: Inactif
Launchpad Checklist: Inactif par défaut
Éléments imbriqués: Actif
Barre supérieure de l’éditeur: Inactif
Mise en cache d’éléments: Inactif
Lien en bio: Actif par défaut
Boutons flottants: Actif par défaut
Évènements de l’éditeur Elementor: Inactif par défaut
Atomic Widgets: Inactif par défaut
Conditions d’affichage: Actif
Envois de formulaire: Inactif
Menu: Inactif

== Journal ==

Log: showing 20 of 392024-10-01 20:12:19 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor Pro',
'from' => '3.24.2',
'to' => '3.24.3',
)]
2024-10-01 20:12:21 [info] elementor-pro::elementor_pro_updater Started
2024-10-01 20:12:21 [info] Elementor Pro/Upgrades - _on_each_version Start
2024-10-01 20:12:21 [info] Elementor Pro/Upgrades - _on_each_version Finished
2024-10-01 20:12:21 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '3.24.2',
'to' => '3.24.3',
)]
2024-10-09 12:19:44 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor Pro',
'from' => '3.24.3',
'to' => '3.24.4',
)]
2024-10-09 12:19:45 [info] elementor-pro::elementor_pro_updater Started
2024-10-09 12:19:45 [info] Elementor Pro/Upgrades - _on_each_version Start
2024-10-09 12:19:45 [info] Elementor Pro/Upgrades - _on_each_version Finished
2024-10-09 12:19:45 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '3.24.3',
'to' => '3.24.4',
)]
2024-10-09 12:22:28 [info] elementor::elementor_updater Started
2024-10-09 12:22:28 [info] Elementor/Upgrades - _on_each_version Start
2024-10-09 12:22:28 [info] Elementor/Upgrades - _on_each_version Finished
2024-10-09 12:22:28 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.24.5',
'to' => '3.24.6',
)]
2024-10-16 10:54:18 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.24.6',
'to' => '3.24.7',
)]
2024-10-16 10:54:18 [info] elementor::elementor_updater Started
2024-10-16 10:54:18 [info] Elementor/Upgrades - _on_each_version Start
2024-10-16 10:54:18 [info] Elementor/Upgrades - _on_each_version Finished
2024-10-16 10:54:18 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.24.6',
'to' => '3.24.7',
)]
2024-10-16 10:54:19 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.24.6',
'to' => '3.24.7',
)]

JS: showing 1 of 1JS: 2024-09-20 15:57:45 [error X 1][https://stickersproject.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.24.3:3:338158] C.ui.form is undefined

PHP: showing 2 of 2PHP: 2024-09-29 19:23:25 [warning X 10][/home/moan8765/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/module.php::1517] Undefined array key "pages" [array (
'trace' => '
#0: /home/moan8765/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/module.php(1517): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: /home/moan8765/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/module.php(1506): ElementorPro\Modules\Woocommerce\Module -> add_system_status_data()
#2: /home/moan8765/public_html/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\Woocommerce\Module -> ElementorPro\Modules\Woocommerce\{closure}()
#3: /home/moan8765/public_html/wp-includes/plugin.php(205): WP_Hook -> apply_filters()
#4: /home/moan8765/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php(1510): class type apply_filters()
',
)]
PHP: 2024-09-29 19:23:25 [warning X 10][/home/moan8765/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/module.php::1517] foreach() argument must be of type array|object, null given [array (
'trace' => '
#0: /home/moan8765/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/module.php(1517): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: /home/moan8765/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/module.php(1506): ElementorPro\Modules\Woocommerce\Module -> add_system_status_data()
#2: /home/moan8765/public_html/wp-includes/class-wp-hook.php(324): ElementorPro\Modules\Woocommerce\Module -> ElementorPro\Modules\Woocommerce\{closure}()
#3: /home/moan8765/public_html/wp-includes/plugin.php(205): WP_Hook -> apply_filters()
#4: /home/moan8765/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php(1510): class type apply_filters()
',
)]

== Elementor - Compatibility Tag ==

Elementor Pro: Non compatible
Flexible Elementor Panel: Non compatible

== Elementor Pro - Compatibility Tag ==

Flexible Elementor Panel: Non compatible
```

### Agreement

- [X] I agree that my issue may be closed without action if it doesn't meet all the requirements.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.