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.
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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.