elementor / elementor/elementor

🐞 Bug Report: Front Page Cannot Be Edited with Flexbox Containers Enabled After Update to Current Stable Release

Open
#21,709 0 comments 0 reactions 0 assignees View on GitHub
bug editor element/container mod/b*
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 both open and closed tickets and cannot find a duplicate.
- [X] The issue still exists against the latest stable version of Elementor.

### Description

Since updating to the current stable versions of Elementor and Elementor Pro, I cannot edit the Front Page in Elementor, and it has display issues (images and FontAwesome icons won't load). The only way to get around it is to turn off Flexbox Container under Features. I've been using Flexbox Containers wince they were in Alpha, and love them. It doesn't matter which page I set at the Front Page. Whatever page it is won't load in the Elementor Editor. Once that page is no longer selected as the Front Page, it can be edited just fine.

This is the error when trying to edit the Front Page.
Screenshot 2023-03-20 at 8 27 18 AM
I followed all of the instructions on "Learn More" to no avail.

### Steps to reproduce

1) Enable Flexbox Container under Features
2) Navigate to the Front Page on the pages list.
3) Click Edit with Elementor.
3) Receive Error: "The preview could not be loaded; We're sorry, but something went wrong. Click on 'Learn more' and follow each of the steps to quickly solve it."
4) Attempt to load the Front Page in the browser and the page loads with images missing and Font Awesome icons missing as well.

This happens regardless of what static page I set as the Front Page, and I've even created a new blank page with merely a text item on it and it still won't load the editor when set as the Front Page.

### Isolating the problem

- [X] This bug happens with only Elementor plugin active (and Elementor Pro).
- [X] This bug happens with a Blank WordPress theme active ([Hello theme](https://wordpress.org/themes/hello-elementor/)).
- [X] I can reproduce this bug consistently following the steps above.

### System Info


== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: Source distribution v5.7.39-42
PHP Version: 7.4.33
PHP Memory Limit: 768M
PHP Max Input Vars: 3000
PHP Max Post Size: 256M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 6.1.1
Site URL: https://yoursacredplace.org
Home URL: https://yoursacredplace.org
WP Multisite: No
Max Upload Size: 256 MB
Memory limit: 256M
Max Memory limit: 768M
Permalink Structure: /%postname%/
Language: en-US
Timezone: America/Los_Angeles
Admin Email: pastor@yoursacredplace.org
Debug Mode: Inactive

== Theme ==
Name: Hello Elementor
Version: 2.6.1
Author: Elementor Team
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/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15

== Active Plugins ==
Advanced Custom Fields
Version: 6.0.7
Author: WP Engine

Akismet Anti-Spam
Version: 5.0.2
Author: Automattic

Elementor
Version: 3.11.5
Author: Elementor.com

Elementor Pro
Version: 3.11.6
Author: Elementor.com

Gravity Forms
Version: 2.7.3
Author: Gravity Forms

Gravity Forms SendGrid Add-On
Version: 1.5
Author: Gravity Forms

Gravity Forms Twilio Add-On
Version: 2.9.1
Author: Gravity Forms

Gravity Forms Zapier Add-On
Version: 4.2
Author: Gravity Forms

ICS Calendar
Version: 10.8.8.3
Author: Room 34 Creative Services, LLC

ICS Calendar Pro
Version: 4.6.0
Author: Room 34 Creative Services, LLC

Planning Center Online Giving
Version: 1.0.0
Author: Jordesign, WP Church Team

Redirection
Version: 5.3.9
Author: John Godley

SiteGround Optimizer
Version: 7.3.1
Author: SiteGround

Site Kit by Google
Version: 1.96.0
Author: Google

== Must-Use Plugins ==
r34icspro-no-acf.php
Version:
Author:

== Elements Usage ==

archive : 8
archive-posts : 6
button : 2
heading : 19
nav-menu : 7
posts : 1
shortcode : 1
spacer : 1
testimonial-carousel : 1
text-editor : 1
footer : 1
container : 2
heading : 2
icon : 1
nav-menu : 3
header : 8
container : 2
flip-box : 2
icon : 2
icon-box : 2
image : 1
nav-menu : 5
search-form : 2
popup : 7
container : 1
divider : 1
html : 2
icon-box : 1
search-form : 1
section : 21
animated-headline : 1
button : 11
form : 1
heading : 54
icon : 4
icon-box : 18
icon-list : 1
image : 1
image-box : 1
nav-menu : 3
posts : 1
social-icons : 1
spacer : 7
testimonial-carousel : 1
text-editor : 5
theme-page-title : 2
video : 2
single : 9
button : 5
container : 8
heading : 15
image : 5
nav-menu : 4
post-info : 6
post-navigation : 1
posts : 4
share-buttons : 3
shortcode : 1
spacer : 4
theme-post-content : 5
theme-post-excerpt : 1
theme-post-title : 7
video : 1
widget : 0
button : 1
flip-box : 1
html : 1
nav-menu : 1
shortcode : 1
wp-post : 2
button : 13
container : 62
heading : 32
html : 1
icon : 5
icon-box : 15
image : 3
image-box : 2
loop-carousel : 1
loop-grid : 2
nav-menu : 3
posts : 1
shortcode : 1
slides : 2
spacer : 4
text-editor : 19
theme-page-title : 1
video : 3
video-playlist : 1
wp-page : 21
accordion : 1
button : 13
container : 72
divider : 1
gallery : 1
google_maps : 1
heading : 44
html : 1
icon : 6
icon-box : 11
icon-list : 6
image : 3
loop-grid : 2
nav-menu : 6
social-icons : 1
spacer : 3
text-editor : 11
theme-page-title : 3
single-post : 3
button : 1
container : 14
heading : 3
image : 3
post-info : 3
post-navigation : 2
share-buttons : 2
text-editor : 1
theme-post-content : 2
theme-post-title : 2
video : 1
single-page : 1
template : 1
theme-post-content : 1
loop-item : 5
container : 6
divider : 1
heading : 2
post-info : 2
text-editor : 2
theme-post-content : 1
theme-post-featured-image : 4
theme-post-title : 4
landing-page : 0
button : 1
form : 1
heading : 7
icon-box : 3
icon-list : 2
image : 6
text-editor : 8

== Settings ==

cpt_support: post, page, e-landing-page
disable_color_schemes: yes
disable_typography_schemes: yes
allow_tracking: yes
editor_break_lines: 1
unfiltered_files_upload: 1

== Features ==
Custom Fonts: 5
Custom Icons: 2

== Integrations ==

recaptcha_v3: Active
facebook_sdk: Active

== Elementor Experiments ==
Optimized DOM Output: Active
Improved Asset Loading: Active
Improved CSS Loading: Active
Inline Font Icons: Inactive
Accessibility Improvements: Active
Additional Custom Breakpoints: Active
admin_menu_rearrangement: Inactive by default
Flexbox Container: Active
Upgrade Swiper Library: Inactive by default
Default to New Theme Builder: Active by default
Hello Theme Header & Footer: Active
Editor V2: Inactive by default
Landing Pages: Active
Nested Elements: Inactive
Lazy Load Background Images: Inactive
Save as Default: Active by default
Page Transitions: Inactive
Notes: Active by default
Loop: Active by default
Form Submissions: Active
Scroll Snap: Active
Mega Menu: Inactive by default

== Log ==

Log: showing 19 of 192023-03-07 14:30:15 [info] elementor::elementor_updater Started
2023-03-07 14:30:15 [info] Elementor/Upgrades - _on_each_version Start
2023-03-07 14:30:16 [info] Elementor/Upgrades - _on_each_version Finished
2023-03-07 14:30:16 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.11.2',
'to' => '3.11.3',
)]
2023-03-07 14:31:53 [info] elementor-pro::elementor_pro_updater Started
2023-03-07 14:31:53 [info] Elementor Pro/Upgrades - _on_each_version Start
2023-03-07 14:31:53 [info] Elementor Pro/Upgrades - _on_each_version Finished
2023-03-07 14:31:53 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '3.11.2',
'to' => '3.11.4',
)]
2023-03-14 09:41:12 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.11.3',
'to' => '3.11.5',
)]
2023-03-14 09:41:13 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor Pro',
'from' => '3.11.4',
'to' => '3.11.6',
)]
2023-03-14 09:41:14 [info] elementor-pro::elementor_pro_updater Started
2023-03-14 09:41:14 [info] Elementor Pro/Upgrades - _on_each_version Start
2023-03-14 09:41:14 [info] Elementor Pro/Upgrades - _on_each_version Finished
2023-03-14 09:41:14 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '3.11.4',
'to' => '3.11.6',
)]
2023-03-14 09:41:15 [info] elementor::elementor_updater Started
2023-03-14 09:41:15 [info] Elementor/Upgrades - _on_each_version Start
2023-03-14 09:41:16 [info] Elementor/Upgrades - _on_each_version Finished
2023-03-14 09:41:16 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.11.3',
'to' => '3.11.5',
)]
2023-03-14 09:41:18 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.11.3',
'to' => '3.11.5',
)]

PHP: showing 18 of 18PHP: 2023-03-07 14:33:38 [notice X 6][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor/core/page-assets/data-managers/font-icon-svg/font-awesome.php::48] Trying to access array offset on value of type null [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-03-08 11:13:21 [notice X 146][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/core/database/model-base.php::135] Return type of ElementorPro\Core\Database\Model_Base::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [array (
'trace' => '
#0: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/core/database/model-base.php(10): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/plugin.php(159): class type include()array (
0 => '/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/core/database/model-base.php',
)
#2: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/notes/database/models/note.php(18): ElementorPro\Plugin -> autoload()
#3: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/plugin.php(159): class type include()array (
0 => '/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/notes/database/models/note.php',
)
#4: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/notes/data/controller.php(243): ElementorPro\Plugin -> autoload()
',
)]
PHP: 2023-03-08 11:13:35 [notice X 106][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php::200] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-03-08 11:13:36 [notice X 41][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/core/utils/collection.php::75] Return type of ElementorPro\Core\Utils\Collection::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-03-08 11:14:23 [notice X 1][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/core/database/model-base.php::135] Return type of ElementorPro\Core\Database\Model_Base::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-03-08 11:15:36 [notice X 4][/home/customer/www/yoursacredplace.org/public_html/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-03-08 11:16:16 [warning X 13][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor/core/page-assets/data-managers/font-icon-svg/font-awesome.php::48] Trying to access array offset on value of type null [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-03-08 11:19:21 [warning X 8][/home/customer/www/yoursacredplace.org/public_html/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-03-08 11:19:22 [notice X 22][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php::200] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> rest_error_handler()
#1: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php(200): class type strpos()
#2: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php(212): ElementorPro\Modules\LoopBuilder\Module -> is_editing_existing_loop_item()
#3: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php(60): ElementorPro\Modules\LoopBuilder\Module -> is_loop_theme_builder()
#4: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/documents/loop.php(386): ElementorPro\Modules\LoopBuilder\Module -> __construct()
',
)]
PHP: 2023-03-08 11:19:22 [notice X 22][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php::200] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> rest_error_handler()
#1: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php(200): class type strpos()
#2: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php(212): ElementorPro\Modules\LoopBuilder\Module -> is_editing_existing_loop_item()
#3: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php(60): ElementorPro\Modules\LoopBuilder\Module -> is_loop_theme_builder()
#4: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/documents/loop.php(308): ElementorPro\Modules\LoopBuilder\Module -> __construct()
',
)]
PHP: 2023-03-08 11:19:22 [warning X 14][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/core/app/modules/site-editor/data/endpoints/templates.php::150] Undefined array key "condition_type" [array (
'trace' => '
#0: /home/customer/www/yoursacredplace.org/public_html/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/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/core/app/modules/site-editor/data/endpoints/templates.php(120): class type array_map()
#3: /home/customer/www/yoursacredplace.org/public_html/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/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor/data/base/endpoint.php(158): ElementorPro\Core\App\Modules\SiteEditor\Data\Endpoints\Templates -> get_items()
',
)]
PHP: 2023-03-08 11:19:32 [notice X 8][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/files/css/loop.php::58] Creation of dynamic property ElementorPro\Modules\LoopBuilder\Files\Css\Loop::$post_id is deprecated [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-03-08 11:19:37 [warning X 2][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/theme-elements/widgets/post-info.php::829] Attempt to read property "name" on array [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-03-08 11:25:18 [notice X 7][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/files/css/loop.php::58] Creation of dynamic property ElementorPro\Modules\LoopBuilder\Files\Css\Loop::$post_id is deprecated [array (
'trace' => '
#0: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/files/css/loop.php(58): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ElementorPro\Modules\LoopBuilder\Files\Css\Loop -> __construct()
#2: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor/core/files/manager.php(45): ReflectionClass -> newInstanceArgs()
#3: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor/core/files/base.php(74): Elementor\Core\Files\Manager -> get()
#4: /home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/documents/loop.php(230): Elementor\Core\Files\Base :: create()
',
)]
PHP: 2023-03-17 21:17:47 [warning X 2][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php::168] Undefined array key "editor_post_id" [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-03-18 18:23:21 [notice X 5][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor/core/common/modules/ajax/module.php::175] Undefined index: data [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-03-18 18:23:21 [notice X 25][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/core/app/modules/site-editor/data/endpoints/templates.php::150] Undefined index: condition_type [array (
'trace' => '
#0: /home/customer/www/yoursacredplace.org/public_html/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/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/core/app/modules/site-editor/data/endpoints/templates.php(120): class type array_map()
#3: /home/customer/www/yoursacredplace.org/public_html/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/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor/data/base/endpoint.php(158): ElementorPro\Core\App\Modules\SiteEditor\Data\Endpoints\Templates -> get_items()
',
)]
PHP: 2023-03-18 18:23:36 [notice X 5][/home/customer/www/yoursacredplace.org/public_html/wp-content/plugins/elementor-pro/modules/theme-elements/widgets/post-info.php::829] Trying to get property 'name' of non-object [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]

JS: showing 5 of 5JS: 2023-03-07 23:09:24 [error X 4][https://yoursacredplace.org/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.11.3:3:1087291] Cannot read properties of null (reading 'getBoundingClientRect')
JS: 2023-03-18 04:27:16 [error X 2][https://yoursacredplace.org/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.11.5:3:791161] Cannot read properties of undefined (reading 'toLowerCase')
JS: 2023-03-18 04:55:33 [error X 1][https://yoursacredplace.org/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.11.5:3:791668] Cannot read properties of undefined (reading 'localized')
JS: 2023-03-19 00:15:30 [error X 3][https://yoursacredplace.org/wp-content/plugins/elementor/assets/js/admin.min.js?ver=3.11.5:2:10997] Cannot set properties of undefined (setting 'value')
JS: 2023-03-19 02:01:21 [error X 3][https://yoursacredplace.org/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.11.5:3:899294] elementorFrontend is not defined

== Elementor - Compatibility Tag ==

Elementor Pro: Compatible

== Elementor Pro - Compatibility Tag ==

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.