admin menu editor memory exhaustion
-
Hello.
Problem:
- When navigating to wp-admin => ultimate dashboard => admin menu editor, the page sends an ajax request to:
/wp-admin/admin-ajax.php?action=udb_admin_menu_get_users
- This call results in a PHP fatal error in our debug log:
[25-Feb-2026 17:04:31 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16777224 bytes) in /sites/WEBSITE/files/wp-includes/class-wpdb.php on line 2329
- The admin page itself loads, but the ajax request fails with HTTP 500, as you can see here:
ip address – standard [25/Feb/2026:11:04:31 -0600] “GET /wp-admin/admin-ajax.php?action=udb_admin_menu_get_users&nonce=9bcaeb2705&_=1772039066524 HTTP/2.0” 500 184 “https://WEBSITE/wp-admin/edit.php?post_type=udb_widgets&page=udb_admin_menu” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36”
Observations:
- We do not have PRO.
- This page loads.
- I only noticed due to the fatal in our log, the page is not actively used by our team.
- The issue appears to be from loading users for the admin menu editor.
- Our site has about 14,000 users, with lots of custom meta data.
- Other admin pages function normally with no errors.
- The error is consistently reproducible on the one page.
Ideas:
- If occurring from trying to load all users into memory, possibly pagination or limited field selection would help.
Environment:
- PHP 8.3
- WordPress v6.9.1
- Ultimate Dashboard v3.8.13
Thank you for your time.
You must be logged in to reply to this topic.