Skip to content

Can't delete sections. #7477

@nerdtech

Description

@nerdtech

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

I have disabled all plugins except E and E-pro. I can't seem to delete sections anymore. I delete the section and update, but when I refresh the editor window it re-appears. This is with the elementor canvas template selected. Please view the video to see what I mean: http://recordit.co/boPTbmJ1dx

Steps to reproduce

  1. Insert a section on a blank page and give it a background color and/or add widgets.
  2. Update the page.
  3. Delete the section and update.
  4. Refresh the editor.
  5. The section re-appears.

Isolating the problem

  • This bug happens with only Elementor plugin active (and Elementor Pro).
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.

Environment

System Info ``` == Server Environment == Operating System: WINNT Software: Apache MySQL version: MySQL Community Server - GPL v8.0.15 PHP Version: 7.2.15 PHP Max Input Vars: 1000 PHP Max Post Size: 256M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected

== WordPress Environment ==
Version: 5.1.1
Site URL: http://localhost/wordpress
Home URL: http://localhost/wordpress
WP Multisite: No
Max Upload Size: 256 MB
Memory limit: 256M
Permalink Structure: /%postname%/
Language: en-US
Timezone: 0
Debug Mode: Inactive

== Theme ==
Name: Elementor Hello Theme
Version: 1.1.0
Author: Elementor Team
Child Theme: No

== User ==
Role: administrator
WP Profile lang: en_US
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

== Active Plugins ==
Elementor
Version: 2.5.8
Author: Elementor.com

Elementor Pro
	Version: 2.4.8
	Author: Elementor.com

== Log ==
:
Log: showing 14 of 142019-02-20 21:50:36 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.4.7',
'to' => '2.5.0-beta1',
)]
2019-02-21 15:23:44 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.0-beta1',
'to' => '2.5.0-beta2',
)]
2019-03-04 12:28:34 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.0-beta2',
'to' => '2.5.0',
)]
2019-03-04 16:56:55 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.0',
'to' => '2.5.1',
)]
2019-03-05 07:45:40 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '2.4.5',
'to' => '2.4.6',
)]
2019-03-05 15:02:32 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.1',
'to' => '2.5.2',
)]
2019-03-06 13:28:43 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.2',
'to' => '2.5.3',
)]
2019-03-07 00:08:05 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '2.4.6',
'to' => '2.4.7',
)]
2019-03-10 19:48:10 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.3',
'to' => '2.5.4',
)]
2019-03-11 22:04:51 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.4',
'to' => '2.5.5',
)]
2019-03-11 22:17:34 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor Pro',
'from' => '2.4.7',
'to' => '2.4.8',
)]
2019-03-14 15:43:43 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.5',
'to' => '2.5.6',
)]
2019-03-14 16:36:26 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.6',
'to' => '2.5.7',
)]
2019-03-15 12:26:47 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '2.5.7',
'to' => '2.5.8',
)]

JS: showing 20 of 29JS: 2019-02-21 09:09:08 [error X 1][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:2:9] Invalid left-hand side in assignment
JS: 2019-02-21 09:14:24 [error X 1][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:2:10] Unexpected token (
JS: 2019-02-21 09:19:58 [error X 4][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:2:122] Unexpected token )
JS: 2019-02-21 09:21:58 [error X 10][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:2:1] $ is not a function
JS: 2019-02-21 09:22:02 [error X 1][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:2:1] jq is not defined
JS: 2019-02-21 09:22:03 [error X 1][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:2:1] jque is not defined
JS: 2019-02-21 09:22:03 [error X 1][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:2:1] jquery is not defined
JS: 2019-02-21 09:22:07 [error X 1][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:2:1] juery is not defined
JS: 2019-02-21 09:22:47 [error X 2][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:2:1] jQ is not defined
JS: 2019-02-21 09:22:47 [error X 1][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:2:1] jQu is not defined
JS: 2019-02-21 11:12:43 [error X 16][https://nerdtech.uk/wp-admin/post.php?post=802&action=elementor:1:1] Unexpected token <
JS: 2019-02-22 09:09:23 [error X 3][https://nerdtech.uk/wp-content/plugins/elementor/assets/lib/nouislider/nouislider.min.js?ver=13.0.0:2:22846] noUiSlider (13.0.0): Slider was already initialized.
JS: 2019-03-03 16:40:40 [error X 1][http://localhost/wordpress/wp-admin/post.php?post=802&action=elementor:2:1] j is not defined
JS: 2019-03-03 16:40:42 [error X 1][http://localhost/wordpress/wp-admin/post.php?post=802&action=elementor:2:1] jQuer is not defined
JS: 2019-03-04 12:28:13 [error X 1][http://localhost/wordpress/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.4.7:2:206234] noUiSlider is not defined
JS: 2019-03-04 12:39:41 [error X 14][http://localhost/wordpress/wp-content/plugins/elementor/assets/js/frontend.min.js:2:41754] Cannot read property 'indexOf' of undefined
JS: 2019-03-08 17:58:46 [error X 1][http://localhost/wordpress/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.3:2:6882] Cannot read property 'select2' of undefined
JS: 2019-03-08 22:41:19 [error X 2][http://localhost/wordpress/wp-content/plugins/elementor-pro/assets/js/editor.min.js?ver=2.4.7:2:15986] Cannot read property 'model' of undefined
JS: 2019-03-09 22:10:26 [error X 3][http://localhost/wordpress/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.3:2:65789] Invalid argument.
JS: 2019-03-09 22:12:14 [error X 5][http://localhost/wordpress/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.3:2:78902] Object doesn't support property or method 'contains'

</details>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.status/has-prIndicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions