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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃敆 馃悶 Bug Report: Many many warnings in Dev Console (Duplicate of #19456) - [ED-10226] #22159

Open
5 tasks done
tamelander opened this issue Apr 23, 2023 · 12 comments
Open
5 tasks done
Labels
bug Indicates a bug with one or multiple components. duplicate Indicates when an Issue or a Discussion is a duplicate of another Issue or Discussion. editor/history-revisions References the History and Revisions feature and panel of the Editor. editor References the Elementor Editor and all its components. mod* product/3.19 [Temp.] References if an Issue or Discussion is part of Elementor (and Pro) v3.19. status/merged Indicates when a Pull Request has been merged to a Release.
Milestone

Comments

@tamelander
Copy link

tamelander commented Apr 23, 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

When editing an Elementor page I get a lot of warnings, mostly related to /wp-content/plugins/elementor/assets/js/dev-tools.min.js?ver=3.12.1.
$e.modules.document.CommandHistory is hard deprecated since 3.7.0 - Use $e.modules.editor.document.CommandHistoryBase instead

elementor.helpers.getUniqueID() is hard deprecated since 3.0.0 - Use elementorCommon.helpers.getUniqueId() instead

elementor.helpers.getUniqueID() is hard deprecated since 3.0.0 - Use elementorCommon.helpers.getUniqueId() instead
container.findChildrenRecursive( callback ) is hard deprecated since 3.5.0 - Use container.children.findRecursive( callback ) instead

children is hard deprecated since 3.0.0 - Use container.repeaters[ repeaterName ].children instead

container.findChildrenRecursive( callback ) is hard deprecated since 3.5.0 - Use container.children.findRecursive( callback ) instead

I have deactivated all plugins sans
Elementor - 3.12.1 By Elementor.com
Elementor Pro - 3.12.2 By Elementor.com
Really Simple SSL - 6.2.0 By Really Simple Plugins

Steps to reproduce

Editing any page with Elementor. The number of warnings seems to be correlated to the number of widgets on a page. I get these warnings on other sites as well. On one site with large pages containing numerous widgets, the warnings can number in the hundreds. I know they are just warnings, but perhaps the time has come to fix them. I have the same warnings in Elementor 3.11.1.

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: Linux
	Software: LiteSpeed
	MySQL version: MariaDB Server v10.5.19
	PHP Version: 8.1.17
	PHP Memory Limit: 256M
	PHP Max Input Vars: 3000
	PHP Max Post Size: 512M
	GD Installed: Yes
	ZIP Installed: Yes
	Write Permissions: All right
	Elementor Library: Connected

== WordPress Environment ==
	Version: 6.2
	Site URL: https://www.mysite.se/
	Home URL: https://www.mysite.se/
	WP Multisite: No
	Max Upload Size: 256 MB
	Memory limit: 40M
	Max Memory limit: 1024M
	Permalink Structure: /%postname%/
	Language: en-US
	Timezone: 2
	Admin Email: xxx
	Debug Mode: Inactive

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

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

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

	Elementor Pro
		Version: 3.12.2
		Author: Elementor.com

	Really Simple SSL
		Version: 6.2.0
		Author: Really Simple Plugins


== Must-Use Plugins ==
	vaa-cs.php
		Version: 
		Author: 


== Features ==
	Custom Fonts: 0
	Custom Icons: 0

== Integrations ==
	


== Elementor Experiments ==
	Optimized DOM Output: Active
	Improved Asset Loading: Active
	Improved CSS Loading: Active
	Inline Font Icons: Inactive
	Accessibility Improvements: Active by default
	Additional Custom Breakpoints: Active by default
	admin_menu_rearrangement: Inactive by default
	Flexbox Container: Active
	Upgrade Swiper Library: Inactive by default
	Default to New Theme Builder: Active by default
	Hello Theme Header & Footer: Inactive by default
	Editor Top Bar: Inactive by default
	Landing Pages: Inactive
	Nested Elements: Inactive by default
	Lazy Load Background Images: Inactive by default
	Page Transitions: Inactive
	Notes: Active by default
	Loop: Active by default
	Form Submissions: Active by default
	Scroll Snap: Active by default
	Menu: Inactive by default


== Log ==
	


== Elementor - Compatibility Tag ==
	
	Elementor Pro: Incompatible

== Elementor Pro - Compatibility Tag ==
	

				
@tamelander tamelander added the status/awaiting_triage Indicates when an Issue, Pull Request, or Discussion awaits to be triaged. label Apr 23, 2023
@nicholaszein nicholaszein changed the title Many many warnings in Dev Console 馃悶 Bug Report: Many many warnings in Dev Console May 2, 2023
@nicholaszein nicholaszein added bug Indicates a bug with one or multiple components. editor References the Elementor Editor and all its components. editor/history-revisions References the History and Revisions feature and panel of the Editor. and removed status/awaiting_triage Indicates when an Issue, Pull Request, or Discussion awaits to be triaged. labels May 2, 2023
@nicholaszein
Copy link
Contributor

Hello @tamelander!

Thank you for submitting your issue! 馃檹

This is a known issue, and we are currently working on a fix. Right now we don't have an ETA on the problem, but this shouldn't affect the functionality and workflow of the builder. So there is nothing you should be worried about.

Best regards

@HypeNeutron
Copy link

Hello @tamelander!

Thank you for submitting your issue! 馃檹

This is a known issue, and we are currently working on a fix. Right now we don't have an ETA on the problem, but this shouldn't affect the functionality and workflow of the builder. So there is nothing you should be worried about.

Best regards

@nicholaszein
Actually affect the functionality and workflow of the builder
When I use Xpro Addons for elementor , I can't edit container I also using Element pro and Hello theme that problem make my work at freeze! 馃う

@hirschferkel
Copy link

hirschferkel commented Nov 25, 2023

I get a 20 seconds delay and complete Firefox freeze before I can edit my pages on OS X Monterey with elementor since the Update from 3.15 up ... with notice from Firefox (Safe Mode): This site slows down your browser speed.

Chrome will work as expected.

children is hard deprecated since 3.0.0 - Use container.repeaters[ repeaterName ].children instead
container.findChildrenRecursive( callback ) is hard deprecated since 3.5.0 - Use container.children.findRecursive( callback ) instead

Bildschirmfoto 2023-11-25 um 15 42 17
Bildschirmfoto 2023-11-25 um 16 07 26
Bildschirmfoto 2023-11-25 um 16 06 32

@tamelander
Copy link
Author

As stated in the OP @hirschferkel, these are warnings and might not be related with your slow loading problems at all. I have turned off warnings in Chrome.
Use the Chrome dev console's Network panel and see if anything seems amiss.
Do you get 20 sec wait on a small Elementor page as well as a large Elementor page?
I have started to regularly clean the database.
Disabled or put in learning mode Wordfence firewall.
Deleted page revisions.
Emptied the database wp_actionscheduler_actions and wp_actionscheduler_logs tables.

@hirschferkel
Copy link

hirschferkel commented Nov 25, 2023

@tamelander I get it on every Elementor page. But as I mentioned only in Firefox and not in Chrome. So the database cannot be the source of the lag, could it?
It will also get a delay, when I try to load a e.g. header template within an edit of a page and when I switch back, too.
And think I cannot use the Chrome dev tools, as Elementor will run smoothly there anyway.
Chrome just loads the UI ...

@tamelander
Copy link
Author

tamelander commented Nov 25, 2023

?So the database cannot be the source of the lag, could it?

Yes indeed it can. I removed over 30 MB of wp_actions_sheduler data in the database. Made a big difference for me. **To be clear, this is most likely not your problem. I had a bad configuration that made the action_scheduler data stay forever in the database. **

If you are diligent with making backups of you database often (easily done in Cpanel for instance) you can decrease the number of post revisions that is saved. I have turned them off completely.

Make a new temp database, copy your existing database to it, and change to the test database i wp-config.php. Make sure that both databases works. Set your site to use the temp database. Install this plugin (no affiliation) and let it do its work. It cleans and removes orphaned meta data amongst other things. My database size was halved.
https://wordpress.org/plugins/database-cleaner/

Firefox quite recently added some form of strict script handling. I don't remember what it's called, google the warnings you get in Firefox and you'll learn.

I have a hosting with 2048M of php RAM. I allow Wordpress to use 1024M. You need at least 512M if I recall correctly. Compare what you got in your hosting php ram with the memory size of your page, as: In Google Chrome, after your page is loaded, you can hover your curser over the Chrome window (or tab) and it will tell you how much memory the page uses.

You can also try the plugin query monitor (no affiliation)
https://wordpress.org/plugins/query-monitor/

Best of luck!

@hirschferkel
Copy link

hirschferkel commented Nov 25, 2023

@tamelander thanks for you considerations.
I googled it before I came here, but there was no clue about Elementor ... The page uses between 90 and 150MB with elementor enabled and RAM is 2048M.
I use an automatic deletion of page reviews of 5 reviews per page.
Currently I hesitate to do the things you mentioned, as it takes really some time to figure that out. My database is currently very small, so ...
So far I just use Chrome, now. Maybe if I have some time next days, I will check out your steps ...

@tamelander
Copy link
Author

I don't want to insult your intelligence, but you have disabled all forms of caching?
I usually work in Google Chrome Incognito window with the dev console open and [ x ] Disable cache checked.

The Google Chrome Dev console network panel
and perhaps Query monitor plugin would be my steps.
Cheers

@hirschferkel
Copy link

hirschferkel commented Nov 25, 2023

But I'm quite sure my lag does not deal with the page itself, I'm quite sure it deals with Elementor. I did not touch the site for month and the only thing what changed is the updates to Elementor. And suddenly it broke ...
Caching is disabled, sure. ;D
O.k. I'll check it out next weeks, best.

@hirschferkel
Copy link

@tamelander It was a bug: #24432 (comment)

@tamelander
Copy link
Author

@hirschferkel Praise the lard! Sorry for leading you astray. Only wanted to help.

@hirschferkel
Copy link

hirschferkel commented Nov 28, 2023

@tamelander no prob! You just tried to figure it out. So I just wanted to letting you know about the issue being fixed.

@nicholaszein nicholaszein changed the title 馃悶 Bug Report: Many many warnings in Dev Console 馃敆 馃悶 Bug Report: Many many warnings in Dev Console (Duplicate of #19456) Jan 8, 2024
@nicholaszein nicholaszein added status/merged Indicates when a Pull Request has been merged to a Release. duplicate Indicates when an Issue or a Discussion is a duplicate of another Issue or Discussion. product/3.19 [Temp.] References if an Issue or Discussion is part of Elementor (and Pro) v3.19. labels Jan 8, 2024
@nicholaszein nicholaszein added this to the 3.19.0 milestone Jan 8, 2024
@nicholaszein nicholaszein changed the title 馃敆 馃悶 Bug Report: Many many warnings in Dev Console (Duplicate of #19456) 馃敆 馃悶 Bug Report: Many many warnings in Dev Console (Duplicate of #19456) - [ED-10226] Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates a bug with one or multiple components. duplicate Indicates when an Issue or a Discussion is a duplicate of another Issue or Discussion. editor/history-revisions References the History and Revisions feature and panel of the Editor. editor References the Elementor Editor and all its components. mod* product/3.19 [Temp.] References if an Issue or Discussion is part of Elementor (and Pro) v3.19. status/merged Indicates when a Pull Request has been merged to a Release.
Projects
None yet
Development

No branches or pull requests

4 participants