elementor / elementor/elementor
⛔ 🛟 Support Request: Saving/Publishing a page doesn't work when there are too many elements and returns a 500 error after 1 minute
- 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
Unable to save/publish a page when it has too many elements.
**For example:** we created a table with flex and grid containers and which has a lot of lines with icons and texts. Then from a certain number of lines, it is impossible to save. We wait 1 minute then the server interrupts the process and the AJAX request obtains a 500 error response.
### Steps to reproduce
1) Create a page with the elementor editor (pro)
2) Add a sufficient number of elements (flexbox grid text icon ...)
3) Save/Publish
4) Repeat adding items until unable to save
5) Save/Publish
### 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
Click to reveal
````txt
== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: MariaDB Server v10.6.15
PHP Version: 8.2.11
PHP Memory Limit: 2048M
PHP Max Input Vars: 250000
PHP Max Post Size: 512M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
== WordPress Environment ==
Version: 6.3.2
Site URL: https://wooster.fr/wp
Home URL: https://wooster.fr
WP Multisite: No
Max Upload Size: 512 Mo
Memory limit: 2048M
Max Memory limit: 2048M
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Language: fr-FR
Timezone: Europe/Paris
Debug Mode: Inactive
== Theme ==
Name: Wooster theme
Version: 1.0.0
Author: Wooster Team
Child Theme: Yes
Parent Theme Name: Hello Elementor
Parent Theme Version: 2.9.0
Parent Theme Author: Elementor Team
== User ==
Role: administrator
WP Profile lang: fr_FR
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
== Active Plugins ==
Advanced Custom Fields: Extended
Version: 0.8.9.5
Author: ACF Extended
Advanced Custom Fields PRO
Version: 6.2.2
Author: WP Engine
Disable REST API
Version: 1.8
Author: Dave McHale
DynamicConditions
Version: 1.6.2
Author: RTO GmbH
Elementor
Version: 3.17.2
Author: Elementor.com
Elementor Pro
Version: 3.17.1
Author: Elementor.com
EWWW Image Optimizer
Version: 7.2.1
Author: Exactly WWW
LiteSpeed Cache
Version: 5.7.0.1
Author: LiteSpeed Technologies
Rank Math SEO
Version: 1.0.205
Author: Rank Math
Rank Math SEO PRO
Version: 3.0.48
Author: Rank Math
Simple XML Sitemap Generator
Version: 2.2.5
Author: Eric-Oliver Mächler
Stage Switcher
Version: 2.2.0
Author: Roots
== Must-Use Plugins ==
Bedrock Autoloader
Version: 1.0.3
Author: Roots
Images responsives + CDN
Version:
Author:
== Features ==
Custom Fonts: 0
Custom Icons: 1
== Integrations ==
== Elementor Experiments ==
Optimized DOM Output: Active by default
Improved Asset Loading: Active by default
Improved CSS Loading: Active by default
Inline Font Icons: Active
Additional Custom Breakpoints: Active by default
admin_menu_rearrangement: Inactive by default
Flexbox Container: Active
Upgrade Swiper Library: Active by default
Grid Container: Active
Default to New Theme Builder: Active by default
Hello Theme Header & Footer: Active by default
Editor Top Bar: Active
Optimized Gutenberg Loading: Inactive by default
Build with AI: Inactive by default
Landing Pages: Active by default
Nested Elements: Active
Lazy Load Background Images: Inactive by default
Optimize Image Loading: Inactive by default
Pages Panel: Inactive by default
Global Style Guide: Active by default
Page Transitions: Active by default
Notes: Active by default
Form Submissions: Active by default
Scroll Snap: Active by default
Menu: Active
Taxonomy Filter: Active
== Log ==
Log: showing 19 of 192023-10-17 19:11:50 [info] Elementor/Upgrades - _v_3_17_0_site_settings_updates Finished
2023-10-17 19:11:50 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.15.3',
'to' => '3.16.6',
)]
2023-10-17 19:51:05 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor Pro',
'from' => '3.15.1',
'to' => '3.16.2',
)]
2023-10-17 19:55:03 [info] elementor-pro::elementor_pro_updater Started
2023-10-17 19:55:03 [info] Elementor Pro/Upgrades - _on_each_version Start
2023-10-17 19:55:03 [info] Elementor Pro/Upgrades - _on_each_version Finished
2023-10-17 19:55:03 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '3.15.1',
'to' => '3.16.2',
)]
2023-11-02 23:11:03 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.16.6',
'to' => '3.17.2',
)]
2023-11-02 23:11:04 [info] elementor::elementor_updater Started
2023-11-02 23:11:04 [info] Elementor/Upgrades - _on_each_version Start
2023-11-02 23:11:04 [info] Elementor/Upgrades - _on_each_version Finished
2023-11-02 23:11:04 [info] Elementor/Upgrades - _v_3_17_0_site_settings_updates Start
2023-11-02 23:11:04 [info] Elementor/Upgrades - _v_3_17_0_site_settings_updates Finished
2023-11-02 23:11:04 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.16.6',
'to' => '3.17.2',
)]
2023-11-02 23:32:50 [info] elementor-pro::elementor_pro_updater Started
2023-11-02 23:32:50 [info] Elementor Pro/Upgrades - _on_each_version Start
2023-11-02 23:32:50 [info] Elementor Pro/Upgrades - _on_each_version Finished
2023-11-02 23:32:50 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '3.16.2',
'to' => '3.17.1',
)]
2023-11-02 23:32:50 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor Pro',
'from' => '3.16.2',
'to' => '3.17.1',
)]
PHP: showing 16 of 16PHP: 2023-10-17 19:30:03 [notice X 2359][../plugins/elementor/includes/elements/container.php::43] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_end is deprecated [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-10-17 19:51:07 [notice X 17854][../plugins/elementor-pro/core/editor/editor.php::118] Using ${var} in strings is deprecated, use {$var} instead [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-10-17 20:23:52 [notice X 181][../plugins/elementor/includes/base/controls-stack.php::228] hexdec(): Passing null to parameter #1 ($hex_string) of type string is deprecated [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-10-18 16:44:55 [notice X 6][../plugins/elementor/includes/elements/container.php::42] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_start is deprecated [array (
'trace' => '
#0: ../plugins/elementor/includes/elements/container.php(42): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ../plugins/elementor/includes/managers/elements.php(257): Elementor\Includes\Elements\Container -> __construct()
#2: ../plugins/elementor/includes/managers/elements.php(192): Elementor\Elements_Manager -> init_elements()
#3: ../plugins/elementor/includes/managers/elements.php(76): Elementor\Elements_Manager -> get_element_types()
#4: ../plugins/elementor/core/files/css/post.php(172): Elementor\Elements_Manager -> create_element_instance()
',
)]
PHP: 2023-10-18 16:44:55 [notice X 5][../plugins/elementor/includes/elements/container.php::43] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_end is deprecated [array (
'trace' => '
#0: ../plugins/elementor/includes/elements/container.php(43): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ../plugins/elementor/includes/managers/elements.php(257): Elementor\Includes\Elements\Container -> __construct()
#2: ../plugins/elementor/includes/managers/elements.php(192): Elementor\Elements_Manager -> init_elements()
#3: ../plugins/elementor/includes/managers/elements.php(76): Elementor\Elements_Manager -> get_element_types()
#4: ../plugins/elementor/core/files/css/post.php(172): Elementor\Elements_Manager -> create_element_instance()
',
)]
PHP: 2023-10-18 16:44:55 [notice X 89][../plugins/elementor/includes/elements/container.php::42] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_start is deprecated [array (
'trace' => '
#0: ../plugins/elementor/includes/elements/container.php(42): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ../plugins/elementor/includes/managers/elements.php(89): Elementor\Includes\Elements\Container -> __construct()
#2: ../plugins/elementor/core/files/css/post.php(172): Elementor\Elements_Manager -> create_element_instance()
#3: ../plugins/elementor/core/files/css/base.php(677): Elementor\Core\Files\CSS\Post -> render_css()
#4: ../plugins/elementor/core/files/base.php(180): Elementor\Core\Files\CSS\Base -> parse_content()
',
)]
PHP: 2023-10-18 16:44:55 [notice X 89][../plugins/elementor/includes/elements/container.php::43] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_end is deprecated [array (
'trace' => '
#0: ../plugins/elementor/includes/elements/container.php(43): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ../plugins/elementor/includes/managers/elements.php(89): Elementor\Includes\Elements\Container -> __construct()
#2: ../plugins/elementor/core/files/css/post.php(172): Elementor\Elements_Manager -> create_element_instance()
#3: ../plugins/elementor/core/files/css/base.php(677): Elementor\Core\Files\CSS\Post -> render_css()
#4: ../plugins/elementor/core/files/base.php(180): Elementor\Core\Files\CSS\Base -> parse_content()
',
)]
PHP: 2023-10-18 16:44:55 [notice X 1938][../plugins/elementor/includes/elements/container.php::42] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_start is deprecated [array (
'trace' => '
#0: ../plugins/elementor/includes/elements/container.php(42): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ../plugins/elementor/includes/managers/elements.php(89): Elementor\Includes\Elements\Container -> __construct()
#2: ../plugins/elementor/includes/base/element-base.php(361): Elementor\Elements_Manager -> create_element_instance()
#3: ../plugins/elementor/includes/base/element-base.php(1480): Elementor\Element_Base -> add_child()
#4: ../plugins/elementor/includes/base/element-base.php(300): Elementor\Element_Base -> init_children()
',
)]
PHP: 2023-10-18 16:44:55 [notice X 1939][../plugins/elementor/includes/elements/container.php::43] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_end is deprecated [array (
'trace' => '
#0: ../plugins/elementor/includes/elements/container.php(43): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ../plugins/elementor/includes/managers/elements.php(89): Elementor\Includes\Elements\Container -> __construct()
#2: ../plugins/elementor/includes/base/element-base.php(361): Elementor\Elements_Manager -> create_element_instance()
#3: ../plugins/elementor/includes/base/element-base.php(1480): Elementor\Element_Base -> add_child()
#4: ../plugins/elementor/includes/base/element-base.php(300): Elementor\Element_Base -> init_children()
',
)]
PHP: 2023-10-18 16:44:55 [notice X 54][../plugins/elementor/includes/elements/container.php::42] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_start is deprecated [array (
'trace' => '
#0: ../plugins/elementor/includes/elements/container.php(42): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ../plugins/elementor/includes/managers/elements.php(89): Elementor\Includes\Elements\Container -> __construct()
#2: ../plugins/elementor/core/files/css/post.php(172): Elementor\Elements_Manager -> create_element_instance()
#3: ../plugins/elementor/core/files/css/base.php(677): Elementor\Core\Files\CSS\Post -> render_css()
#4: ../plugins/elementor/core/files/base.php(155): Elementor\Core\Files\CSS\Base -> parse_content()
',
)]
PHP: 2023-10-18 16:44:55 [notice X 54][../plugins/elementor/includes/elements/container.php::43] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_end is deprecated [array (
'trace' => '
#0: ../plugins/elementor/includes/elements/container.php(43): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ../plugins/elementor/includes/managers/elements.php(89): Elementor\Includes\Elements\Container -> __construct()
#2: ../plugins/elementor/core/files/css/post.php(172): Elementor\Elements_Manager -> create_element_instance()
#3: ../plugins/elementor/core/files/css/base.php(677): Elementor\Core\Files\CSS\Post -> render_css()
#4: ../plugins/elementor/core/files/base.php(155): Elementor\Core\Files\CSS\Base -> parse_content()
',
)]
PHP: 2023-10-18 16:44:56 [notice X 54][../plugins/elementor/includes/elements/container.php::42] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_start is deprecated [array (
'trace' => '
#0: ../plugins/elementor/includes/elements/container.php(42): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ../plugins/elementor/includes/managers/elements.php(89): Elementor\Includes\Elements\Container -> __construct()
#2: ../plugins/elementor/core/base/document.php(1733): Elementor\Elements_Manager -> create_element_instance()
#3: ../plugins/elementor/core/base/document.php(1134): Elementor\Core\Base\Document -> print_elements()
#4: ../plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document -> print_elements_with_wrapper()
',
)]
PHP: 2023-10-18 16:44:56 [notice X 54][../plugins/elementor/includes/elements/container.php::43] Creation of dynamic property Elementor\Includes\Elements\Container::$logical_dimensions_inline_end is deprecated [array (
'trace' => '
#0: ../plugins/elementor/includes/elements/container.php(43): Elementor\Core\Logger\Manager -> rest_error_handler()
#1: ../plugins/elementor/includes/managers/elements.php(89): Elementor\Includes\Elements\Container -> __construct()
#2: ../plugins/elementor/core/base/document.php(1733): Elementor\Elements_Manager -> create_element_instance()
#3: ../plugins/elementor/core/base/document.php(1134): Elementor\Core\Base\Document -> print_elements()
#4: ../plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document -> print_elements_with_wrapper()
',
)]
PHP: 2023-10-19 17:20:06 [warning X 2][../plugins/elementor/core/common/modules/ajax/module.php::175] Undefined array key "data" [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-10-19 17:20:10 [notice X 8][../plugins/elementor-pro/modules/screenshots/module.php::33] Function utf8_decode() is deprecated [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-11-06 22:09:51 [warning X 8][../plugins/elementor-pro/core/app/modules/site-editor/data/endpoints/templates.php::150] Undefined array key "condition_type" [array (
'trace' => '
#0: ../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: ../plugins/elementor-pro/core/app/modules/site-editor/data/endpoints/templates.php(120): class type array_map()
#3: ../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: ../plugins/elementor/data/base/endpoint.php(158): ElementorPro\Core\App\Modules\SiteEditor\Data\Endpoints\Templates -> get_items()
',
)]
JS: showing 7 of 7JS: 2023-10-18 14:44:40 [error X 32][../wp-admin/load-scripts.php?c=0&loadchunk_0=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.2:2:28722] Cannot read properties of undefined (reading 'value')
JS: 2023-10-19 16:31:05 [error X 3][../plugins/elementor/assets/js/common-modules.min.js?ver=3.16.6:2:55595] Model.isValidChild() should be implemented, please provide 'isValidChild' functionality.
JS: 2023-10-21 11:21:45 [error X 3][../plugins/elementor/assets/js/editor.min.js?ver=3.16.6:3:804251] Cannot read properties of undefined (reading 'toLowerCase')
JS: 2023-10-21 17:39:30 [error X 2][../plugins/elementor/assets/js/frontend-modules.min.js?ver=3.16.6:2:33773] Cannot read properties of null (reading 'getAttribute')
JS: 2023-10-21 18:18:58 [error X 1][../plugins/elementor/assets/js/editor.min.js?ver=3.16.6:3:919184] elementorFrontend is not defined
JS: 2023-10-23 00:07:28 [error X 1][../plugins/elementor/assets/js/frontend-modules.min.js?ver=3.16.6:2:33772] null is not an object (evaluating 'e.getAttribute')
JS: 2023-10-25 15:08:46 [error X 2][../plugins/elementor/assets/js/editor.min.js?ver=3.16.6:3:886161] Cannot read properties of null (reading 'config')
== Elementor - Compatibility Tag ==
Elementor Pro: Compatible
== Elementor Pro - Compatibility Tag ==
````
Contributor guide
Assessment
This issue has not been assessed yet.