“Edit Profile” slow loading page
-
Hello,
I created a site with your plugin.Everything seems to work. I have a profile edit page speed issue.
I have 12’000 registered members and there are no problems in all parts of the plugin. The only slowdown is when you click Edit Profile. The profile edit page takes a very long time to load (15-20 sec.) which makes the experience on the site not pleasant.
The profile fields are about 40-50, not many.
Any solutions?
-
1. This might be a WP Memory size issue.
2. Are you using the Elementor page builder increase memory for WP.
3. Increasemax_input_vars
4. Split the Profile Form in several Forms.You can read these guides about these actions:
-
This reply was modified 2 years, 2 months ago by
missveronica.
Hello,
Thanks for the quick response.1/2. My memory values:
memory_limit = 512M
WP_Memory_limit: 300M
WP_Max_Memory_Limit: 512M- My input vars value:
max_input_vars: 10000
Not enough for the required values?
Thank you
max_input_vars: 10000
Reduce
max_input_vars
to 3000 as this is a trap for hackers and too high values should be avoided.Do you have UM User Caching active?
Try to clear the user caching at UM Dashboard to reduce cache management overhead.Have you tried to edit a profile when there is not a high user load on your site?
Hello,
i need input vars so high due to another plugin working in the site for a very large configuration of woocommerce products. With lower values it doesn’t work.I tried clearing the cache as suggested but there was no change.
I tried to edit a test profile even before importing users, loading was still slow ( 5-7 sec. ) but still faster than it is now which is impractical ( 20 sec. )
Any other suggestions?
Imported users have some issues like this with Login:
Which import plugin did you use?
For the import I used the “Import and export users and customers” plugin. After doing some tests I don’t have any kind of problem with the login of the imported users. It works properly.
Look in your browser web console if you have any JavaScript errors.
Try to test the edit with only UM active like in a Theme/Plugin conflict test:
Hi,
meanwhile thanks missveronica for the suggestions.
I did a conflict test on both plugins and theme and the problem persists.
There is no JS error in the console.
Any other suggestions? it’s a big problem for the user experience on the site.
Ask your Web hosting support if they can help you.
Update: I noticed that the dropdowns present in the form are slowing down the loading. Unfortunately they cannot be handled any other way than this.
By dividing the form into several tabs, the situation does not change since the dropdown menus in question are also loaded when the profile is modified.
Is there any advice for improving the loading?
I made a test on a Profile page with 72 fields and 12 of them are dropdowns.
After installing the “Autoptimize” plugin the Edit loading time of this page was reduced with 50%.
I tried installing and configuring the Autoptimize plugin but the slow loading persists.
To add details, the problem is not the number of dropdowns present. The problem is that three of these dropdown menus contain thousands of items, and I think that’s what makes them slow to load.
I hope someone can help me because I can not use different solutions for using these menus.
Thank you
Another thread with the same issue with hugh dropdowns with a hint of a possible solution but not resolved:
Hi @federicods
This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.
Please feel free to re-open this thread if any other questions come up and we’d be happy to help. 🙂
Regards
Are you still having this issue?
Working on another issue I found that empty
user_nicename
in some of the user profiles will slow down the Profile Edit for other users.You can try to activate PHP Debug for a log entry like this:
PHP Notice: Function WP_Object_Cache::add was called <strong>incorrectly</strong>. Cache key must not be an empty string.
-
This reply was modified 2 years, 2 months ago by
- The topic ‘“Edit Profile” slow loading page’ is closed to new replies.