Support

Account

Home Forums Front-end Issues No revision when update from front end Reply To: No revision when update from front end

  • @joelstransky Tried your last code and her is what happened:

    -it created 3 revisions? only the first one has the changes, the other 2 didnt hold the meta

    – It through errors few times, the first was a loop of all the feilds like this:
    Notice: Undefined index: field_55fee582b1b7e in F:\EasyPHP-12.1\www\hot\wp-content\themes\hand-theme\functions.php on line 111

    and last line error was:
    Warning: Cannot modify header information – headers already sent by (output started at F:\EasyPHP-12.1\www\hot\wp-content\themes\hand-theme\functions.php:111) in F:\EasyPHP-12.1\www\hot\wp-includes\pluggable.php on line 1171

    the line:111 is this (of your code):
    update_field($field_name, $_POST['acf'][$v], $revision_id);

    -Finally I got simller error to the one I got when using the code+plugin
    version in F:\EasyPHP-12.1\www\hot\wp-content\plugins\advanced-custom-fields-pro\core\revisions.php on line 272

    Hops that helps.