elementor / elementor/elementor
⛔ 🛟 Support Request: The posts theme setting is invalid
- 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
See screen recording
### Steps to reproduce
1. I imported this theme from another website
2. View compressed package screen recording
[20240524_170724.zip](https://github.com/elementor/elementor/files/15431054/20240524_170724.zip)
### Expected behavior
Normally effective
### Isolating the problem
- [ ] 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
Click to reveal
````txt
== Server Environment ==
Operating System: Linux
Software: Apache/2.4.38 (Debian)
MySQL version: MySQL Community Server (GPL) v5.7.36
PHP Version: 7.4.8
PHP Memory Limit: 350M
PHP Max Input Vars: 1000
PHP Max Post Size: 10M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
== WordPress Environment ==
Version: 6.5.3
Site URL:
Home URL:
WP Multisite: No
Max Upload Size: 10 MB
Memory limit: 40M
Max Memory limit: 350M
Permalink Structure: /%post_id%.html
Language: zh_CN
Timezone: Asia/Shanghai
Debug Mode: Inactive
== Theme ==
Name: Hello Elementor
Version: 3.0.1
Author: Elementor Team
Child Theme: No
== User ==
Role: administrator
WP Profile lang: zh-CN
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0
== Active Plugins ==
Elementor
Version: 3.21.7
Author: Elementor.com
Elementor Pro
Version: 3.21.3
Author: Elementor.com
Enable Media Replace
Version: 4.1.5
Author: ShortPixel
Smart Slider 3 Pro
Version: 3.5.1.22
Author: Nextend
SVG Support
Version: 2.5.5
Author: Benbodhi
Templately
Version: 3.0.6
Author: Templately
WP Super Cache
Version: 1.12.1
Author: Automattic
Yoast SEO
Version: 22.7
Author: Team Yoast
Yoast SEO Premium
Version: 22.6
Author: Team Yoast
== 元素使用 ==
footer : 2
container : 8
divider : 1
heading : 7
icon-list : 4
image : 2
header : 1
button : 1
container : 4
image : 2
nav-menu : 1
page : 1
accordion : 1
button : 1
divider : 8
flip-box : 2
gallery : 2
heading : 25
image : 16
image-box : 22
spacer : 1
testimonial-carousel : 1
text-editor : 3
wp-post : 2
container : 1
text-editor : 1
wp-page : 2
accordion : 2
container : 84
countdown : 2
divider : 12
flip-box : 4
heading : 52
image : 30
smartslider : 2
text-editor : 9
single-post : 5
button : 1
container : 3
spacer : 4
theme-post-content : 1
theme-post-featured-image : 1
theme-post-title : 1
== 设置 ==
allow_tracking: yes
unfiltered_files_upload: 1
font_display: swap
== Features ==
Custom Fonts: 0
Custom Icons: 0
== Integrations ==
== Elementor 实验 ==
改善资源加载: 默认处于启用状态
改进的 CSS 加载: 默认处于启用状态
内联字体图标: 默认处于启用状态
额外的自定义断点: 默认处于启用状态
admin_menu_rearrangement: 作为默认停用
Flexbox 弹性盒容器: 默认处于启用状态
升级 Swiper 库: 默认处于启用状态
Grid 容器: 默认处于启用状态
嵌套元素性能: 作为默认停用
优化控制加载: 作为默认停用
Default to New Theme Builder: 默认处于启用状态
Hello 主题页眉和页脚: 默认处于启用状态
Elementor 主屏幕: 默认处于启用状态
编辑器顶栏: 作为默认停用
用 AI 构建: 默认处于启用状态
着陆页面: 默认处于启用状态
嵌套元素: 作为默认停用
延迟加载背景图像: 默认处于启用状态
Display Conditions: 默认处于启用状态
Form Submissions: 默认处于启用状态
Menu: 作为默认停用
Taxonomy Filter: 默认处于启用状态
== 日志 ==
JS: showing 8 of 8JS: 2024-04-30 10:00:15 [error X 14][../wp-admin/load-scripts.php?c=0&loadchunk_0=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.5.2:2:28760] Cannot read properties of undefined (reading 'value')
JS: 2024-05-06 02:41:22 [error X 3][../wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.21.4:3:54583] Cannot read properties of undefined (reading 'activate')
JS: 2024-05-06 07:52:32 [error X 1][../wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.21.4:3:703312] this.model.isValidChild is not a function
JS: 2024-05-06 08:23:20 [error X 656][../wp-content/uploads/essential-addons-elementor/eael.js?ver=1715010132:28:487878] Cannot read properties of undefined (reading 'size')
JS: 2024-05-06 08:24:03 [error X 4][../wp-content/plugins/essential-addons-elementor/assets/front-end/js/edit/eael-xd-copy.min.js?ver=1714983789:1:3882] Cannot read properties of null (reading 'elementcode')
JS: 2024-05-08 06:38:55 [error X 2][../wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.21.4:3:821594] Cannot read properties of undefined (reading 'localized')
JS: 2024-05-24 08:10:22 [error X 8][../wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.21.7:3:683613] elementorFrontend.elements.window.jQuery is not a function
JS: 2024-05-24 08:10:22 [error X 10][../wp-content/uploads/essential-addons-elementor/eael.js?ver=1716567006:28:490307] Cannot read properties of undefined (reading 'hasOwnProperty')
Log: showing 20 of 282024-05-04 12:56:38 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '3.21.1',
'to' => '3.21.2',
)]
2024-05-04 12:56:38 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor Pro',
'from' => '3.21.1',
'to' => '3.21.2',
)]
2024-05-04 14:54:07 [info] Uploading Kit: [array (
'kit_id' => 'undefined',
'referrer' => 'local',
)]
2024-05-04 14:54:11 [info] Selected import runners: site-settings, plugins, templates, taxonomies, elementor-content, wp-content, elements-default-values
2024-05-04 14:54:11 [info] Import runner completed: site-settings ✓
2024-05-04 14:54:12 [info] Import runner completed: plugins ✓
2024-05-04 14:54:12 [info] Import runner completed: templates ✓
2024-05-04 14:54:12 [info] Import runner completed: taxonomies ✓
2024-05-04 14:54:12 [info] Import runner completed: elementor-content ✓
2024-05-04 14:54:12 [info] Import runner completed: wp-content ✓
2024-05-24 14:22:32 [info] elementor::elementor_updater Started
2024-05-24 14:22:32 [info] Elementor/Upgrades - _on_each_version Start
2024-05-24 14:22:32 [info] Elementor/Upgrades - _on_each_version Finished
2024-05-24 14:22:32 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.21.4',
'to' => '3.21.7',
)]
2024-05-24 14:22:32 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.21.4',
'to' => '3.21.7',
)]
2024-05-24 14:28:19 [info] elementor-pro::elementor_pro_updater Started
2024-05-24 14:28:19 [info] Elementor Pro/Upgrades - _on_each_version Start
2024-05-24 14:28:19 [info] Elementor Pro/Upgrades - _on_each_version Finished
2024-05-24 14:28:19 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '3.21.2',
'to' => '3.21.3',
)]
2024-05-24 14:28:19 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor Pro',
'from' => '3.21.2',
'to' => '3.21.3',
)]
== Elementor - Compatibility Tag ==
Elementor Pro: 未指定兼容性
== Elementor Pro - Compatibility Tag ==
````
### Agreement
- [X] I agree that my issue may be closed without action if it doesn't meet all the requirements.
Contributor guide
Research direction
Use the attached compressed package and screen recording to reproduce the invalid posts theme setting after importing the theme. Start with the Elementor theme/package import flow and compare the imported posts setting with the expected configuration; done means the imported site no longer reports the setting as invalid and the stated reproduction steps work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100