Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✅ 🐞 Bug Report: Beta 3.14.0 - Adding a widget by clicking has a problem with the "save as default" feature - [ED-10896] #22587

Closed
5 tasks done
79ho3ein opened this issue May 29, 2023 · 2 comments
Labels
bug Indicates a bug with one or multiple components. editor/click-to-add References the Click to Add a widget feature of the Editor. editor/save-as-default References the Save as Default feature of the Editor's context menu. mod* solved Indicates that an Issue has been Solved, or a Feature Request has been Released. status/merged Indicates when a Pull Request has been merged to a Release. type/styles Indicates when a topic is related to the styles or design of a component.
Milestone

Comments

@79ho3ein
Copy link

79ho3ein commented May 29, 2023

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

Hi

If we have used save as default in a widget, if we add this widget by drag and drop and click, it will have two different colors.

Steps to reproduce

  1. Change the color of a widget like a button and then save it as default.
  2. After that, add the button widget twice to the page. Once by using drag and drop and once by clicking.

You will see that the colors of the two button widgets are different. Actually when we add the widget on click it overrides the save as default in that widget.

Isolating the problem

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

System Info

System Info
					
== Server Environment ==
	Operating System: WINNT
	Software: Apache/2.4.38 (Win32) OpenSSL/1.1.1a PHP/7.3.2
	MySQL version: mariadb.org binary distribution v5.6.42-84.2
	PHP Version: 7.3.2
	PHP Memory Limit: 128M
	PHP Max Input Vars: 1000
	PHP Max Post Size: 64M
	GD Installed: Yes
	ZIP Installed: Yes
	Write Permissions: All right
	Elementor Library: Connected

== WordPress Environment ==
	Version: 6.1.1
	Site URL: http://localhost:85/elementor-beta
	Home URL: http://localhost:85/elementor-beta
	WP Multisite: No
	Max Upload Size: 64 MB
	Memory limit: 40M
	Max Memory limit: 256M
	Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
	Language: fa-IR
	Timezone: Asia/Tehran
	Admin Email: [REDACTED]
	Debug Mode: Inactive

== Theme ==
	Name: Hello Elementor
	Version: 2.7.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/113.0.0.0 Safari/537.36

== Active Plugins ==
	Elementor
		Version: 3.14.0-beta1
		Author: Elementor.com


== Elementor Experiments ==
	Optimized DOM Output: Active
	Improved Asset Loading: Active
	Improved CSS Loading: Active
	Inline Font Icons: Inactive by default
	Accessibility Improvements: Inactive
	Additional Custom Breakpoints: Inactive
	admin_menu_rearrangement: Inactive by default
	Flexbox Container: Active
	Upgrade Swiper Library: Active
	Grid Container: Active
	Hello Theme Header & Footer: Inactive
	Editor Top Bar: Active
	Landing Pages: Inactive
	Nested Elements: Active
	Nested Accordion: Inactive by default
	Lazy Load Background Images: Inactive
	Global Style Guide: Active


== Log ==
	
Log: showing 20 of 342023-04-24 09:23:11 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor',
  'from' => '3.13.0-beta1',
  'to' => '3.13.0-beta2',
)]
2023-04-24 09:23:12 [info] elementor::elementor_updater Started 
2023-04-24 09:23:12 [info] Elementor/Upgrades - _on_each_version Start  
2023-04-24 09:23:12 [info] Elementor/Upgrades - _on_each_version Finished 
2023-04-24 09:23:12 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.13.0-beta1',
  'to' => '3.13.0-beta2',
)]
2023-04-24 09:23:13 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor',
  'from' => '3.13.0-beta1',
  'to' => '3.13.0-beta2',
)]
2023-04-28 10:10:17 [info] elementor::elementor_updater Started 
2023-04-28 10:10:17 [info] Elementor/Upgrades - _on_each_version Start  
2023-04-28 10:10:17 [info] Elementor/Upgrades - _on_each_version Finished 
2023-04-28 10:10:17 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.13.0-beta2',
  'to' => '3.13.0-beta3',
)]
2023-05-04 17:34:32 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor',
  'from' => '3.13.0-beta3',
  'to' => '3.13.0-beta4',
)]
2023-05-04 17:34:33 [info] elementor::elementor_updater Started 
2023-05-04 17:34:33 [info] Elementor/Upgrades - _on_each_version Start  
2023-05-04 17:34:33 [info] Elementor/Upgrades - _on_each_version Finished 
2023-05-04 17:34:33 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.13.0-beta3',
  'to' => '3.13.0-beta4',
)]
2023-05-28 18:53:25 [info] elementor::elementor_updater Started 
2023-05-28 18:53:25 [info] Elementor/Upgrades - _on_each_version Start  
2023-05-28 18:53:25 [info] Elementor/Upgrades - _on_each_version Finished 
2023-05-28 18:53:25 [info] Elementor data updater process has been completed. [array (
  'plugin' => 'Elementor',
  'from' => '3.13.0-beta4',
  'to' => '3.14.0-beta1',
)]
2023-05-28 18:53:25 [info] Elementor data updater process has been queued. [array (
  'plugin' => 'Elementor',
  'from' => '3.13.0-beta4',
  'to' => '3.14.0-beta1',
)]

JS: showing 4 of 4JS: 2023-03-23 10:08:29 [error X 2][http://localhost:85/elementor-beta/wp-content/plugins/elementor/assets/js/admin.min.js?ver=3.12.0-beta2:2:11095] Cannot set properties of undefined (setting 'value') 
JS: 2023-04-20 15:09:20 [error X 65][http://localhost:85/elementor-beta/wp-content/plugins/elementor/assets/js/container.8c5b7936aedea7c000ad.bundle.min.js:2:4571] Cannot read properties of undefined (reading 'style') 
JS: 2023-04-24 15:42:38 [error X 1][http://localhost:85/elementor-beta/wp-content/plugins/elementor/assets/js/ai.min.js?ver=3.13.0-beta2:3:50130] Cannot read properties of undefined (reading '$el') 
JS: 2023-05-02 12:23:32 [error X 37][http://localhost:85/elementor-beta/wp-admin/load-scripts.php?c=1&loadchunk_0=underscore,jquery-core,jquery-migrate,backbone,jquery-ui-core,jquery-ui-mouse,wp-api-request,regenerator-runtime,wp-polyfill,wp-&loadchunk_1=hooks&ver=6.1.1:4:51824] Cannot read properties of undefined (reading 'replace') 

PHP: showing 4 of 4PHP: 2023-03-24 12:36:52 [notice X 13][C:\xampp\htdocs\elementor-beta\wp-content\plugins\elementor\includes\managers\image.php::36] Undefined index: id [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-03-26 16:05:04 [error X 27][C:\xampp\htdocs\elementor-beta\wp-content\plugins\elementor\includes\widgets\star-rating.php::4] Maximum execution time of 30 seconds exceeded [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-04-21 13:14:11 [error X 1][C:\xampp\htdocs\elementor-beta\wp-content\plugins\elementor\includes\frontend.php::448] Out of memory (allocated 2097152) (tried to allocate 2097152 bytes) [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]
PHP: 2023-05-28 19:04:05 [notice X 3][C:\xampp\htdocs\elementor-beta\wp-content\plugins\elementor\core\common\modules\ajax\module.php::175] Undefined index: data [array (
  'trace' => '
#0: Elementor\Core\Logger\Manager -> shutdown()
',
)]



== Elementor - Compatibility Tag ==
	
@79ho3ein 79ho3ein added the status/awaiting_triage Indicates when an Issue, Pull Request, or Discussion awaits to be triaged. label May 29, 2023
@nicholaszein nicholaszein changed the title Beta 3.14.0 - Adding a widget by clicking has a problem with the "save as default" feature. [🧐 Evaluating] 🐞 Bug Report: Beta 3.14.0 - Adding a widget by clicking has a problem with the "save as default" feature. May 29, 2023
@nicholaszein nicholaszein added bug Indicates a bug with one or multiple components. type/styles Indicates when a topic is related to the styles or design of a component. editor/save-as-default References the Save as Default feature of the Editor's context menu. editor/click-to-add References the Click to Add a widget feature of the Editor. and removed status/awaiting_triage Indicates when an Issue, Pull Request, or Discussion awaits to be triaged. labels May 29, 2023
@nicholaszein
Copy link
Member

Hello @79ho3ein!

Thank you for submitting your issue! 🙏

Please allow us some time to investigate it, and get back to you with our findings. 🧐

Best regards

StyleShit added a commit to StyleShit/elementor that referenced this issue May 30, 2023
StyleShit added a commit to StyleShit/elementor that referenced this issue May 30, 2023
@nicholaszein nicholaszein changed the title [🧐 Evaluating] 🐞 Bug Report: Beta 3.14.0 - Adding a widget by clicking has a problem with the "save as default" feature. 🐞 Bug Report: Beta 3.14.0 - Adding a widget by clicking has a problem with the "save as default" feature. Jun 9, 2023
@nicholaszein nicholaszein added this to the 3.14.0 milestone Jun 9, 2023
@nicholaszein nicholaszein added the status/merged Indicates when a Pull Request has been merged to a Release. label Jun 9, 2023
@nicholaszein nicholaszein changed the title 🐞 Bug Report: Beta 3.14.0 - Adding a widget by clicking has a problem with the "save as default" feature. ✅ 🐞 Bug Report: Beta 3.14.0 - Adding a widget by clicking has a problem with the "save as default" feature - [ED-10896] Jun 19, 2023
@nicholaszein
Copy link
Member

Hi @79ho3ein!

We have great news! 🙌

📢 We're happy to announce that the issue you raised was resolved in Elementor v3.14.0! 🥳

✅ Feel free to check it out and update your plugin to the new version!

Check the changelog for more information:
Changelog of Elementor and Elementor Pro

Cheers 🥂

@nicholaszein nicholaszein added the solved Indicates that an Issue has been Solved, or a Feature Request has been Released. label Jun 19, 2023
@elementor elementor locked and limited conversation to collaborators Jun 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Indicates a bug with one or multiple components. editor/click-to-add References the Click to Add a widget feature of the Editor. editor/save-as-default References the Save as Default feature of the Editor's context menu. mod* solved Indicates that an Issue has been Solved, or a Feature Request has been Released. status/merged Indicates when a Pull Request has been merged to a Release. type/styles Indicates when a topic is related to the styles or design of a component.
Projects
None yet
Development

No branches or pull requests

2 participants