Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • preray

    (@preray)

    Can second this.

    Edit: Seems like this happens when a form is duplicated through another plugin (haven’t found a plugin that duplicates acf fields, btw). When I create a new form and insert both into a page, all form modals open correctly.

    • This reply was modified 9 months ago by preray.
    Thread Starter preray

    (@preray)

    Using 3.16.7 of Frontend Admin, where this error still persists. Any idea for a solution?

    Thread Starter preray

    (@preray)

    The error still persists on my side. Were you able to reproduce the error?

    Today I got the same prompt from Avast, after installing a backup locally: “Malware-gen [Trj]” in controller.php. It has been moved into quarantine.
    Duplicator Version 1.5.1

    The migration process seems to be successful nontheless.

    Thread Starter preray

    (@preray)

    I can’t find a bug report for ACF and the last update regarding Google Maps has been in 2021. Can anyone reproduce this error?

    Nope. But thanks for the help.

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

    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, 1 month ago by preray.
    • This reply was modified 2 years, 1 month ago by preray.
    • This reply was modified 2 years, 1 month ago by preray.

    Thanks for the update, @shabti. Now I can’t review submissions. When I open one, it says “Sorry, you are not allowed to access this page.”.

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

    Reverting to 3.10.3 “fixes” the Nonce error and modal button problem.

    Can confirm this. Using a form with or without modal. When approving or editing submissions, the error appears.

    Also, when using a modal for forms, opening submissions in the backend and frontend list only shows the button to open a modal instead of the content.

    Thread Starter preray

    (@preray)

    Thanks for your answer!
    For anyone interested, I did it this way instead:

    function iconize_icon_shortcode( $atts ) {
        $terms = get_the_terms( get_the_ID(), 'haus' );
        $term_link = get_term_link( $term );
    
           if( ! empty( $terms ) ) : ?>
    		<?php foreach( $terms as $term ) : ?>
    						    	 
                <a href="<?php echo site_url(); ?>/some_name/<?php $term_link; echo $term->slug; ?>"><span class="iconized font-custom glyph-<?php echo $term->slug; ?> size-2x align-center"></span></a>
    
            <?php endforeach; ?>
    <?php
       endif;
    }
    add_shortcode( 'iconize_icon', 'iconize_icon_shortcode');
Viewing 12 replies - 1 through 12 (of 12 total)