This solved my problem. I deactivated the following redundant plugins:
• Advanced Custom Fields: Flexible Content Field
• Advanced Custom Fields: Repeater Field
These are very old plugins that are no longer offered nor supported. Their functionality in included in Advanced Custom Fields PRO, so they are redundant.
After deactivating the 2 plugins, I updated ACF PRO to 6.3.10 and there is no fatal error. I then tested functionality by editing posts that included flexible content and repeater fields. All works well. Simple solution for me.
@haabda From what I’m reading, since we have ACF PRO we should not need the Flexible Content Add-on because that functionality is included in ACF PRO. The add-on is no longer supported and no longer available to install as a separate plugin. So I feel like the right solution is to simply disable the plugin Advanced Custom Fields: Flexible Content Field, but I’m a little hesitant to do that on my very actively used live site. If you try it, please post back and let me know!
Thank you, @John Huebner! I just tried this and it works beautifully. The good news is that multiple values were not enabled. The only wrinkle was that the field was set to return the Post Object instead of Post ID, so I had to adjust some code and replace get_field() calls with get_post(get_field()).
Thank you, John. I guess my options are to roll back to ACF4 or create a dynamically populated Select field. Unfortunately, I have the problem of 2,000+ existing posts with data in Post Object fields…
I don’t mind rolling back to the functionality of ACF4, but I’m concerned for the long run, whether v4 will receive future security and WP compatibility updates, or if it’s a discontinued version.
This suggestion just came from ACF Support:
I would suggest that you use the “acf/update_value/type=date_time_picker” filter to hook in and change the value being saved to a timestamp using the strtotime() function. Please take a look at the following resource page for more info on this:
https://www.advancedcustomfields.com/resources/acf-update_value/
Thank you so much, John. I think I’ll mirror the site and try this. The posts are too important – a school calendar in daily use.
Joanne
bocacommunity.org
bocachristian.org
Thanks, John. The writeup for the Date and Time Picker Field add-on says “ACF PRO 5.0+ is no longer supported, ACF PRO has its own date and time picker” so it looks like I’m up a creek because we have more than 2,000 existing posts in the add-on format.
I have a similar issue. The prior free version 4.4.12 stored the Date Time value as a timestamp by default. I’ve found that the free 5.7.6 version stores the Date Time value as YYYY-MM-DD HH:MM:SS, with no option to store it as a timestamp. The database update that went along with 5.7.6 did not change the old Date Time values to the new format. After a couple of days of use, we discovered that the part of our website that depends on Date Time was broken because the database had mixed format values. I was forced to revert to a site backup done before the plugin update, losing a couple of days of work.
I posted a support ticket to ACF but have not received a response. I’m sure they’re overloaded with support issues this week.
Joanne
bocacommunity.org
bocachristian.org
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.