• Resolved delanthear

    (@delanthear)


    Hi, we’ve a site which has been happily running with both Forminator and Complianz installed for about a year. We just noticed that the forminator contact forms aren’t dusplaying at all, with no errors anywhere. Disabling the new version of Complianz means they appear.

    Looking at Complianz, either it’s requesting new information, or it’s lost some info, causing it to stop displaying the forms. “Not all fields have been entered, or you have not clicked the “finish” button yet.” is displayed on the dashboard, despite the site happily working for a long time previous to this update.

    Going back through the wizard has shown no new things to update/answer. Going through to finish has shown the warning message removed, but the contact forms still no longer display, instead now showing this error message in the console:

    Uncaught ReferenceError: cmplz_deny_all is not defined
    at cmplz_check_cookie_policy_id (complianz.min.js?ver=1709162375:1:28259)
    at window.conditionally_show_banner (complianz.min.js?ver=1709162375:1:19631)
    at complianz.min.js?ver=1709162375:1:25002


    Obviously this is a terrible user experience as our users will have been unable to contact us, and we’ve no way of knowing that this was happening.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @delanthear,

    Can you try whether the solution provided in this thread solves the described error for you as well?

    https://ww.wp.xz.cn/support/topic/uncaught-referenceerror-cmplz_deny_all-is-not-defined/

    Kind regards, Jarno

    Thread Starter delanthear

    (@delanthear)

    Hi, the error has gone, but the forms still don’t display at all.

    Unsure if it’s related but there are a bunch of cookies warnings in FF:

    Cookie “cmplz_rt_marketing” has been rejected for invalid domain. complianz.min.js:1:29719
    Cookie “cmplz_rt_marketing” has been rejected for invalid domain. complianz.min.js:1:29806
    Cookie “cmplz_rt_statistics” has been rejected for invalid domain. complianz.min.js:1:29719
    Cookie “cmplz_rt_statistics” has been rejected for invalid domain. complianz.min.js:1:29806
    Cookie “cmplz_rt_preferences” has been rejected for invalid domain. complianz.min.js:1:29719
    Cookie “cmplz_rt_preferences” has been rejected for invalid domain. complianz.min.js:1:29806
    Cookie “cmplz_rt_functional” has been rejected for invalid domain. complianz.min.js:1:29719
    Cookie “cmplz_rt_functional” has been rejected for invalid domain. complianz.min.js:1:29806
    Cookie “cmplz_rt_policy_id” has been rejected for invalid domain. complianz.min.js:1:29719
    Cookie “cmplz_rt_policy_id” has been rejected for invalid domain. complianz.min.js:1:29806
    Cookie “cmplz_rt_consented_services” has been rejected for invalid domain. complianz.min.js:1:29719
    Cookie “cmplz_rt_consented_services” has been rejected for invalid domain. complianz.min.js:1:29806
    Cookie “cmplz_rt_banner-status” has been rejected for invalid domain. complianz.min.js:1:29719
    Cookie “cmplz_rt_banner-status” has been rejected for invalid domain.
    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @delanthear can you check what domain you have set as the domain to set the cookies on? By default this is the WordPress site_url(), but it looks like it’s empty in your case, which might cause this issue.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @delanthear if you share the url where this is happening, I can check the configuration.

    Thread Starter delanthear

    (@delanthear)

    I’m assuming this is what you mean?

    Is this a new setting that’s just been added? This is on a multisite and never had this issue till now and i’ve never set this before.

    Thread Starter delanthear

    (@delanthear)

    @rogierlankhorst Setting that has resolved the cookies errors in FF, but I’m still not getting the banner or the form content.

    I’ve changed to Twenty Twenty Two theme and disabled all the plugins with the exception of Forminator and Complianz. Cleared the caches on Siteground’s site. Still don’t get the forms appearing.

    If I disable Complianz at that point, so Forminator is the only plugin active, the forms work.

    If I go into Complianz, reactivate it and enable “Disable placeholder insertion” the form works, so it’s something to do with the placeholder.

    Thread Starter delanthear

    (@delanthear)

    The url is here: <removed>

    I’ll edit this once posted to remove it.

    • This reply was modified 2 years, 3 months ago by delanthear.
    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @delanthear,

    The Cookie Banner seems to appear correctly on the attached site at the moment (screenshot).

    I visited the page with ?cmplz_safe_mode=1 appended to the URL to see if that caused the form to appear, but that didn’t seem to happen. Could you check if it reappears when you temporarily disable Complianz?

    Kind regards, Jarno

    Thread Starter delanthear

    (@delanthear)

    Yeah, when I meant banner earlier, I was meaning placeholder. Adding the safe mode post vars didn’t work for me either. Disabling Complianz means the form displays correctly.

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @delanthear,

    I understand. Could you check whether you have the following setting enabled in your Forminator form, and disable this?

    Forminator -> Forms -> Find the form this concerns and click “Edit” -> Behavior -> Rendering -> Disable “Load form using AJAX”.

    Kind regards, Jarno

    Thread Starter delanthear

    (@delanthear)

    Hi, yeah that’s resolves it. Something preventing the Ajax load!

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @delanthear,

    Thanks for confirming, although I just want to mention that this was also the case for previous versions of Complianz; it is also mentioned in the article about blocking Google ReCaptcha in Forminator (https://complianz.io/configuring-recaptcha-and-consent-in-forminator/):

    Disabling “Load form using AJAX” is necessary for Complianz to correctly block ReCaptcha in Forminator, as when this option is enabled, form elements and ReCaptcha will be loaded in the same JavaScript file which cannot be blocked without breaking the script.

    In any case, glad to hear that the culprit has been identified.

    Kind regards, Jarno

    Thread Starter delanthear

    (@delanthear)

    Something must have changed somewhere because these forms have been happily working until the last complianz update and there has been no changes to the forminator forms in a long time (Probably 2 years!)

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Latest update breaks Forminator forms.’ is closed to new replies.