Home › Forums › Bug Reports › wp_title debug error with add_option_page › Reply To: wp_title debug error with add_option_page
The developer posted a comment on the link you provided, copied below.
Hi guys
Thanks for the tag.
It sounds like using the variable $page is causing issues. Please note this can’t be replicated 100% of the time, so there must be something else to this story which is causing some function.php files to modify a global var instead of a local one.A simple fix is to place your ACF code within an action or function to avoid namespace issues!
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.