I knew the second I posted this, the cause would become clear. 🙄
I realized that my class instantiation was wrapped in an is_admin
condition. Hence the options page worked but I couldn’t get my data! I’m kicking myself.
I have the same error on my post editor, media library, widgets editor, and user editor pages. We are not using The Events Calendar, but here’s a list of our plugins:
| advanced-custom-fields-pro | inactive | none | 5.3.9.1 |
| advanced-excerpt | inactive | none | 4.2.3 |
| bluetrait-event-viewer | active | none | 2.0.2 |
| contact-form-7 | active | available | 4.0.3 |
| custom-post-type-ui | active | none | 1.3.5 |
| debug-bar | inactive | none | 0.8.4 |
| debug-bar-extender | inactive | none | 0.5 |
| debug-bar-template-trace | inactive | none | 0.1.1 |
| disable-comments | inactive | none | 1.5 |
| formtools | inactive | none | 1.1.0 |
| gravityforms | active | none | 1.9.19 |
| gravityforms-hubspot | active | none | 2.3.3 |
| hubspot | active | none | 1.9.4 |
| post-type-library | active | none | 2.0 |
| nextgen-gallery | inactive | available | 2.0.66 |
| regenerate-thumbnails | active | none | 2.2.6 |
| rewrite-rules-inspector | active | none | 1.2.1 |
| simple-page-ordering | inactive | none | 2.2.4 |
| term-menu-order | active | none | 0.4 |
| user-role-editor | active | none | 4.25.2 |
| wordpress-importer | active | none | 0.6.1 |
| wordpress-seo | active | available | 1.5.3.3 |
| wp-migrate-db-pro | active | none | 1.6 |
| wp-migrate-db-pro-media-files | active | none | 1.4.4 |
@elliot: I am using the latest ACF Pro. I can say that I’d never seen that happen before, so perhaps it was a fluke. The site is an active development project, so any number of things might have borked it. If I ever see it again, I’ll try to gather more data. Thanks!
Thank you! I had to change that meta value to a:0:{}
. Emptying it completely resulted in all my fields disappearing!
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.