Home › Forums › General Issues › Admin errors since 5.5.13 PRO update › Reply To: Admin errors since 5.5.13 PRO update
@emailmikespainhower-com I can confirm that the code you supplied causes this error.
Change your action to run on the ‘after_theme_setup’
@kevinw I don’t know if you have a similar issue, but it’s more than likely that you are trying to access acf before it has been initialized.
It appears that accessing fields before ACF is ready causes ACF to initialize early, including registering scripts and styles and this early initialization is what’s causing the errors.
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.