Home › Forums › General Issues › Problems updating › Reply To: Problems updating
I don’t usually work custom fields into admin hooks very often, so I would imagine that this is only happening to get_field()
calls that exist in admin-side hooks (pre_get_posts
for an example). Also not really familiar with how the plugin update process works, but I do know that the plugin folder is cleaned out and the new plugin is extracted, so the errors are probably firing somewhere between those two events.
Solution? No idea. Maybe just do your function_exists
checks on the hooks and filters that apply to admin-side functions…
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.