Home › Forums › ACF PRO › Update value function causes timeout › Reply To: Update value function causes timeout
Infinite loops are extremely hard to debug, especially in WP with its hooks. Hooks interact with each other.
The best advice I can give you is to disable all the actions and filters you have added in your theme and then enable them one at a time until you find the one that causes the infinite loop. The next step is to disable all the actions and filters except that one and see if the infinite loop still happens. If not then start enabling them again until you locate the two that are causing it. You continue this process until you know all of the filters and actions that need to active to cause the infinite loop and then you start following the flow of code to figure out where the hooks are looping back on themselves.
This process can take hours, if not days, to locate the cause.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.