Home › Forums › General Issues › Memory Exhausted at 256M -> 30s Timeout at 1024M › Reply To: Memory Exhausted at 256M -> 30s Timeout at 1024M
One really easy way to get a timeout/out of memory error is to forget to call the_row();
in your while ( have_rows( <fieldname> ) )
loop. That means that the row counter doesn’t advance and you get into an infinite loop.
‘scuse me if that’s obvious – I just got asked to debug someone’s template and that was the problem.
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.