Getting the following code error:
Your PHP code changes were rolled back due to an error on line 97 of file wp-content/themes/edition/functions/templates/sections/section-grid-sidebar.php. Please fix and try saving again.
Uncaught Error: Class ‘acf_Widget’ not found in wp-content/themes/edition/functions/templates/sections/section-grid-sidebar.php:97
#0 wp-includes/template.php(690): require()
#1 wp-includes/template.php(647): load_template(‘/home/wp-content/p…’, false)
#2 wp-includes/general-template.php(155): locate_template(Array, true, false)
#3 wp-content/themes/edition/functions/templates/sections/sections.php(86): get_template_part(‘functions/templ…’)
#4 wp-includes/template.php(690): require(‘/home/wp-content/p…’)
#5 wp-includes/template.php(647): load_template(‘/home/wp-content/p…’, false)
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!
ACF PRO’s Flexible Content field allows you to create smaller pieces of UI and compose them into whole flexible patterns. In our latest article, we show how to use it to create swappable site sections and integrate it all in a theme.https://t.co/ZRocH8oJSp— Advanced Custom Fields (@wp_acf) January 24, 2023
© 2023 Advanced Custom Fields.