Home › Forums › Backend Issues (wp-admin) › Can't add more fields! › Reply To: Can't add more fields!
It sounds like you are sitting on the cusp of your PHP limit. This would explain why sometimes the sub fields are loaded, and other times it is not.
Hitting your PHP limit will cause the current function to just stop, so when ACF is loading in the fields, it is most likely running out of memory and just stopping.
Have you contacted your host to look at error logs?
die I mentioned was in regards to debugging the save_post function in the core/controllers/field-group.php file.
My advise was to edit the loop which saves the fields, and simple echo the field name, then die at the end of the loop. This will visually show you how far the loop got through.
Does that help?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🚀 This week’s session of ACF Chat Fridays dips into the preliminary results of our first ever user survey. Don’t miss it! https://t.co/3UtvQbDwNm pic.twitter.com/kMwhaJTkZc— Advanced Custom Fields (@wp_acf) May 9, 2023
© 2023 Advanced Custom Fields.