Home › Forums › Front-end Issues › Error after updating › Reply To: Error after updating
Hey there, we had some fixes to make our side which we did in 6.4.0.
This issue hasn’t come about because of an ACF update, however – it’s WordPress 6.8 which has triggered the error. Our fixes brought our core to be compatible with WordPress 6.8, but the error can still happen if your code triggers ACF to initialise early. We could prevent ACF ever initialising early, but that would result in broken sites, rather than sites with warnings, so it’s definitely not the best option here.
We’re looking at adding a _doing_it_wrong
additional notice in our next release if you trigger this error, which would help you figure out where the problem is in your code at the expense of double the notices.
For now, your best bet is to check your functions.php file for get_field
or acf_add_options_page
as they tend to be the two places we’ve seen most commonly trigging this.
Thanks,
Liam
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.