1) On a fresh WP instance, install Hello Theme and WooCommerce, Classic Editor and the Elementor only.
2) Create a simple page with Lorem Ipsum or any dummy content and use the page slug https://yourdomainname.local/running-shoe-guide/, and "Publish" the page.
3) Create a simple post with any dummy content and assign the barefoot-shoe post category, the slug should be https://yourdomainname.local/barefoot-shoe/running-shoe-guide/, "Publish" the post.
4) Now, visit the page and post separately.
5) Expected result: I expect the post to show only its content and not to show the page content at the end.
6) Actual result: The post duplicates the content of the page at the end of the post content.
Why is this a problem?
1) This is due to the Elementor plugin because after all the above steps I de-activated the Elementor plugin but kept the WooCommerce & Classic Editor plugins active along with Hello Theme and the issue was gone.
2) On the second round, I deactivated the WooCommerce & Classic Editor plugins but kept the Elementor plugin active along with the Hello Theme and the problem was still there.
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).
[X] I can reproduce this bug consistently following the steps above.
System Info
Click to reveal
````txt
== Server Environment ==
Operating System: Darwin
Software: nginx/1.16.0
MySQL version: MySQL Community Server - GPL v8.0.16
PHP Version: 7.4.30
PHP Memory Limit: 256M
PHP Max Input Vars: 4000
PHP Max Post Size: 1000M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
== WordPress Environment ==
Version: 6.3
WP Multisite: No
Max Upload Size: 300 MB
Memory limit: 40M
Max Memory limit: 256M
Permalink Structure: /%category%/%postname%/
Language: en-US
Timezone: America/Denver
Debug Mode: Active
== Theme ==
Name: Hello Elementor
Version: 2.8.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/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
== Active Plugins ==
Classic Editor
Version: 1.6.3
Author: WordPress Contributors
Elementor
Version: 3.15.3
Author: Elementor.com
WooCommerce
Version: 8.0.2
Author: Automattic
== Elementor Experiments ==
Optimized DOM Output: Active by default
Improved Asset Loading: Active by default
Improved CSS Loading: Active by default
Inline Font Icons: Inactive by default
Additional Custom Breakpoints: Active by default
admin_menu_rearrangement: Inactive by default
Flexbox Container: Inactive by default
Upgrade Swiper Library: Active by default
Grid Container: Inactive by default
Editor Top Bar: Inactive by default
Landing Pages: Active by default
Nested Elements: Inactive by default
Lazy Load Background Images: Inactive by default
Global Style Guide: Inactive by default
== Log ==
PHP: showing 1 of 1PHP: 2023-08-02 13:58:01 [notice X 1][info] [/elementor/core/upgrade/manager.php::63] version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated [array (
'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
Log: showing 10 of 102023-08-02 14:12:42 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.12.1',
'to' => '3.15.0',
)]
2023-08-02 14:12:42 [info] elementor::elementor_updater Started
2023-08-02 14:12:42 [info] Elementor/Upgrades - _on_each_version Start
2023-08-02 14:12:42 [info] Elementor/Upgrades - _on_each_version Finished
2023-08-02 14:12:42 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.12.1',
'to' => '3.15.0',
)]
2023-08-23 14:33:51 [info] elementor::elementor_updater Started
2023-08-23 14:33:51 [info] Elementor/Upgrades - _on_each_version Start
2023-08-23 14:33:51 [info] Elementor/Upgrades - _on_each_version Finished
2023-08-23 14:33:51 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.15.0',
'to' => '3.15.3',
)]
2023-08-23 14:33:51 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.15.0',
'to' => '3.15.3',
)]
== Elementor - Compatibility Tag ==
````
Prerequisites
Description
The Elementor plugin is duplicating the page content under post content that ends with the same slug.
Slug Examples:
Steps to reproduce
1) On a fresh WP instance, install Hello Theme and WooCommerce, Classic Editor and the Elementor only. 2) Create a simple page with Lorem Ipsum or any dummy content and use the page slug https://yourdomainname.local/running-shoe-guide/, and "Publish" the page. 3) Create a simple post with any dummy content and assign the
barefoot-shoe
post category, the slug should be https://yourdomainname.local/barefoot-shoe/running-shoe-guide/, "Publish" the post. 4) Now, visit the page and post separately. 5) Expected result: I expect the post to show only its content and not to show the page content at the end. 6) Actual result: The post duplicates the content of the page at the end of the post content.Why is this a problem? 1) This is due to the Elementor plugin because after all the above steps I de-activated the Elementor plugin but kept the WooCommerce & Classic Editor plugins active along with Hello Theme and the issue was gone. 2) On the second round, I deactivated the WooCommerce & Classic Editor plugins but kept the Elementor plugin active along with the Hello Theme and the problem was still there.
Isolating the problem
System Info
Click to reveal
````txt == Server Environment == Operating System: Darwin Software: nginx/1.16.0 MySQL version: MySQL Community Server - GPL v8.0.16 PHP Version: 7.4.30 PHP Memory Limit: 256M PHP Max Input Vars: 4000 PHP Max Post Size: 1000M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected == WordPress Environment == Version: 6.3 WP Multisite: No Max Upload Size: 300 MB Memory limit: 40M Max Memory limit: 256M Permalink Structure: /%category%/%postname%/ Language: en-US Timezone: America/Denver Debug Mode: Active == Theme == Name: Hello Elementor Version: 2.8.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/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 == Active Plugins == Classic Editor Version: 1.6.3 Author: WordPress Contributors Elementor Version: 3.15.3 Author: Elementor.com WooCommerce Version: 8.0.2 Author: Automattic == Elementor Experiments == Optimized DOM Output: Active by default Improved Asset Loading: Active by default Improved CSS Loading: Active by default Inline Font Icons: Inactive by default Additional Custom Breakpoints: Active by default admin_menu_rearrangement: Inactive by default Flexbox Container: Inactive by default Upgrade Swiper Library: Active by default Grid Container: Inactive by default Editor Top Bar: Inactive by default Landing Pages: Active by default Nested Elements: Inactive by default Lazy Load Background Images: Inactive by default Global Style Guide: Inactive by default == Log == PHP: showing 1 of 1PHP: 2023-08-02 13:58:01 [notice X 1][info] [/elementor/core/upgrade/manager.php::63] version_compare(): Passing null to parameter #1 ($version1) of type string is deprecated [array ( 'trace' => ' #0: Elementor\Core\Logger\Manager -> shutdown() ', )] Log: showing 10 of 102023-08-02 14:12:42 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.12.1', 'to' => '3.15.0', )] 2023-08-02 14:12:42 [info] elementor::elementor_updater Started 2023-08-02 14:12:42 [info] Elementor/Upgrades - _on_each_version Start 2023-08-02 14:12:42 [info] Elementor/Upgrades - _on_each_version Finished 2023-08-02 14:12:42 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.12.1', 'to' => '3.15.0', )] 2023-08-23 14:33:51 [info] elementor::elementor_updater Started 2023-08-23 14:33:51 [info] Elementor/Upgrades - _on_each_version Start 2023-08-23 14:33:51 [info] Elementor/Upgrades - _on_each_version Finished 2023-08-23 14:33:51 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.15.0', 'to' => '3.15.3', )] 2023-08-23 14:33:51 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.15.0', 'to' => '3.15.3', )] == Elementor - Compatibility Tag == ````