I have upgraded to ACF 5 pro and when checking a page with the areas of the advanced custom fields – they are all empty and cannot be accessed.
There is just the field name and the little triangle on the side. When clicking on the triangle to expand the field, nothing happens.
Yes, after the activation the database was upgraded.
All the fields appear in the field groups when editing the field groups.
When I add a completely new field it does appear in the page edit meta field.
Only the existing fields prior to the acf pro upgrade do not appear – which are a lot of fields…
Awesome, version 5.0.6 fixes the issue for me!
Edit: Actually I found the issue. (Not sure whether it had something to do with the new version). I have ACF implemented in my theme (not as a plugin). I also have the local json file active. The implementation sample is actually not working, since it is missing a slash at the end of path. That’s what broke it for me.
Thanks for the feedback, but looking at the source code of ‘core/json.php’, the paths do not require a trailing slash. The paths are run through a function called
untrailingslashit to remove the trailing slash.
i just tried the code from the sample and it worked a treat. Perhaps there is some other code modifying the json save/load path?
Strangely enough I actually can’t replicate the issue with the trailing slash now. Maybe it had something to do with that the plugin never initialized a json before? It’s weird, because im very certain that that slash solved my problem back then…
Thanks for the help anyways!
You must be logged in to reply to this topic.
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!
© 2022 Advanced Custom Fields.