• Resolved hhhhaaarry

    (@hhhhaaarry)


    Since the last update now i get a “nonce error” everytime i want to submit an acf form from the frontend. Also i tried to edit the form in the elementor editor and no options are displayed for the widget “acf form”

    The page I need help with: [log in to see the link]

Viewing 14 replies - 31 through 44 (of 44 total)
  • Not yet but I’ll update and try

    I’ll update and get back to you

    @shabti Looks like this update fixed it!! I forgot to add that the previous update only gave an error 500 with php 8.0+. 7.4 worked ok but was still glitchy. Right now everything works smooth as butter again. The legacy tab in settings is now also back (disabling it and saving still turns it back on again)

    Both php 7.4 and 8.0 work fine now btw (haven’t tested 8.1 as that version is generally not fully supported by other WP plugins right now). Also creating forms via Frontend Admin works good and with Modals in Elementor or with the Shortcode. The only 2 things is that it’s not clear which tab is selected. Maybe make the line blue when the tab is selected?

    And using a shortcode (elementor and gutenberg) or the gutenberg block with a modal doesn’t scale the modal popup right

    That’s about it, I think I tested almost everything and haven’t seen any breaking bugs. Thank you for your hard work ??

    Its working ok now, thanks @shabti

    Plugin Author Shabti Kaplan

    (@shabti)

    @toineenzo @25henryb
    Thank you for letting me know that it’s working. We’ll address the modal shortcode styling issue. Regarding the active tab not turning blue, this seems to be specific to your site. Please inspect the css and let me know if it’s being overwritten

    Thank you, @shabti, I can access the submissions again.

    The submission review pages only show a modal button again, which opens the form with an approve button below. I don’t think this is intended, but at least it functions.

    The problem in the modal window is, that Google Maps just shows the character { where I should input the address and it does not show a map.

    <input class="search" type="text" placeholder="Search for address..." value="{">
    Uncaught SyntaxError: JSON.parse: expected property name or '}' at line 1 column 2 of the JSON data
        getValue https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf-input.min.js?ver=6.0.6:1
        initializeMap https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf-input.min.js?ver=6.0.6:1
        o https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf.min.js?ver=6.0.6:1
        doAction https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf.min.js?ver=6.0.6:1
        doAction https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf.min.js?ver=6.0.6:1
        success https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf-input.min.js?ver=6.0.6:1
        jQuery 6
    acf-input.min.js:1:24811
        getValue https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf-input.min.js?ver=6.0.6:1
        initializeMap https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf-input.min.js?ver=6.0.6:1
        initializeMap self-hosted:1356
        o https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf.min.js?ver=6.0.6:1
        doAction https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf.min.js?ver=6.0.6:1
        doAction https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf.min.js?ver=6.0.6:1
        success https://vdk-koeln.de/wp-content/plugins/advanced-custom-fields/assets/build/js/acf-input.min.js?ver=6.0.6:1
        jQuery 6

    After deactivating the modal button in the form, everything works fine.

    New problem: With the newest version, my user register form won’t show on the frontend. It’s just gone, while I did not change anything. When inspecting, the only HTML left there is a script with reCaptcha code. It has something to do with the option to only show the form to logged out users. When switching to “All users”, the form is visible again. (while testing I was logged out)

    And since a few versions, post taxonomie options won’t be submitted. There is no selection of radio/select options when reviewing submissions. After editing them and saving, they keep the selection.

    • This reply was modified 2 years, 2 months ago by preray.
    • This reply was modified 2 years, 2 months ago by preray.
    • This reply was modified 2 years, 2 months ago by preray.

    I have to correct: If the location (Google Maps) has no saved value, everything seems fine. If it does, the above mentioned problem persists.

    @preray are you using Acf Extended perhaps? Sometimes that plug-in also gives me some problems or not all fields are being shown on the frontend.

    Nope. But thanks for the help.

    @shabti Unfortunately I have encountered another bug. I can’t submit my form as it loads infinitly. I get the following error inside the console

    /wp-content/plugins/acf-frontend-form-element/assets/js/frontend-admin-min.js?ver=3.13.2
    
    Uncaught TypeError: Cannot read properties of undefined (reading 'length')
        at HTMLInputElement.<anonymous> (frontend-admin-min.js?ver=3.13.2:1:12891)
        at Function.each (jquery.min.js?ver=3.6.1:2:3003)
        at s.fn.init.each (jquery.min.js?ver=3.6.1:2:1481)
        at acf.handleFileInputs (frontend-admin-min.js?ver=3.13.2:1:12766)
        at acf.submitFrontendForm [as complete] (frontend-admin-min.js?ver=3.13.2:1:13296)
        at n.complete (frontend-admin-min.js?ver=3.13.2:1:9876)
        at c (jquery.min.js?ver=3.6.1:2:28327)
        at Object.fireWith (jquery.min.js?ver=3.6.1:2:29072)
        at l (jquery.min.js?ver=3.6.1:2:80173)
        at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.6.1:2:82499)

    Did some more research and can’t figure out what exactly causes this problem. It only happens when the user is not an admin so its not my ACF fields. I also tried with all plugins off (except Elementor (Pro), ACF Pro, Frontend Admin and Polylang (Pro)). This happens with multiple roles in multiple forms. I also tried with permissions off in the Frontend Admin Ele Widget.

    When I log into an account that has an non admin role (that doesn’t have access to the wp-admin) and go to the page where I can edit the form for their page, I get the above error. That post has the author set to their account so I don’t think it’s some kind of permission problem.

    When logged in as an admin and editting a form I still get an error though, but is saves succesfully

    Plugin Author Shabti Kaplan

    (@shabti)

    @preray

    We fixed the error that shows the submission on a modal. Does this google maps error happen also on the frontend?

    I want to address all these issues, but it’s become a bit hectic here. Can you open a new topic for each issue?

    @toineenzo we have fixed the errors you sent in version 3.13.3. It’s great that you send console errors. It helps alot

    @shabti awesome, the latest update fixed it for me ??

    Plugin Author Shabti Kaplan

    (@shabti)

    I’m glad to see that these nonce issues are history. If there are any more problems, open a new ticket please and thank you.

Viewing 14 replies - 31 through 44 (of 44 total)
  • The topic ‘Nonce Error after update’ is closed to new replies.