i have created a user custom field for a post type that i have created and set the multiple to on.
My website contains approx 25.000 users.
When i try to edit the user field from inside a post and the dropdown selection comes up it throws a 500 error and “No results loaded” appear (see image below)
Is this because of too many user results that causes wp-ajax to overload?
is there a workaround?
This is more than likely do to the number of users. You’re probably (only guessing) either exceeding time limists or exceeding memory limits. Or there could be some type of PHP error that’s causing the AJAX request to fail.
You need to do some debugging and figure out what’s causing the issue. You’ll need to use error logging so you can see what’s happening during the AJAX request. https://codex.wordpress.org/WP_DEBUG
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users