This is probably do to a PHP error happening during the AJAX call.
Add this to you’re wp-config.php file if it’s not already there, or alter as needed.
define('WP_DEBUG', true); define('WP_DEBUG_DISPLAY', false); define('WP_DEBUG_LOG', true);
Now try saving a post and after a bit download the error log which should be located at /wp-content/debug.log and look to see if and what errors are happening.
The errors indicate that there is a problem with the theme and how it’s loading widgets. You need to correct that.
PHP display of errors can be controlled several ways, so it would be hard for me to tell you exactly how to turn it off.
There may be a php statement somewhere that looks something like
there could be a statement in you’re htaccess file that looks something like this
php_value display_errors On
display_errors could be on by default on your host
errors are displayed if you have this statement anywhere
I’m sure there are others I missed, the theme could be turning it on, and others.
The problem could be cause by a plugin. Disable plugins and switch to a default WP theme and see what clears up the problem. Something is doing something in a way that has been deprecated by WP, do you have an old plugin installed that has not been updated in a while? Has the theme been updated recently?
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!
© 2023 Advanced Custom Fields.