Sorry , solved it – Like this.
$daysafter = get_field('days_after');
// find date time in 7 days
strtotime('+ '.$daysafter. 'days', $time_now);
Thank you
5.8.0 beta3 fixed this for me
This is happening for me as well , all fields are showing on all pages/posts and the classic editor plugin is installed.
The odd thing is when i tested this on my local dev version of a site it didn’t happen , all was good , but when i updated the actual live site … problem !
I’m also getting this error on 2 sites –
Error. Could not connect to update server
Running on TSOHOST in the UK
I deactivated all plugins and the problem remains , deactivate ACF and i can then publish and edit posts …. roll back to an older version of ACF and it works , so ACF seems to be the problem. Just tried the latest version 5.2.6 ..no fix.
Uncaught TypeError: Cannot read property 'length' of undefinedm.extend.each
@ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:2(anonymous function)
@ acf-input.min.js:2r
@ acf-input.min.js:1n
@ acf-input.min.js:1acf.apply_filters
@ acf-input.min.js:1acf.validation.acf.model.extend.fetch_success
@ acf-input.min.js:2acf.validation.acf.model.extend.fetch.$.ajax.success
@ acf-input.min.js:2m.Callbacks.j
@ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:2m.Callbacks.k.fireWith
@ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:2x
@ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:4m.ajaxTransport.send.b
@ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:4
i’m getting this error , have been since 5.2.5 , cannot update or publish posts or pages , just updated to 5.2.6 … same, same .. not fixed
Uncaught TypeError: Cannot read property 'length' of undefinedm.extend.each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:2(anonymous function)
@ acf-input.min.js:2r
@ acf-input.min.js:1n
@ acf-input.min.js:1acf.apply_filters @ acf-input.min.js:1acf.validation.acf.model.extend.fetch_success
@ acf-input.min.js:2acf.validation.acf.model.extend.fetch.$.ajax.success
@ acf-input.min.js:2m.Callbacks.j
@ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:2m.Callbacks.k.fireWith
@ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:2x
@ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:4m.ajaxTransport.send.b
@ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:4
yeah , sorry . this has not been solved , it’s still broken , is anyone from ACF going to reply here ??
I cannot update to the latest version
Yep , that’s it , fixed!
Many thanks
Yep , that’s it , fixed!
Many thanks
Same here after upgrading ??
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.