Tagged: 

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #403462

    Hi!

    We have “Uncaught TypeError: Cannot read property ‘id’ of undefined” in wp dashboard:
    http://upyourpic.org/images/201405/1zi8yueoqb.jpg
    http://upyourpic.org/images/201405/5jzu5v7ce9.jpg

    The error occurs only with activated Gravity Forms version 1.9.2 and Enfold theme.

    The error does not occur with activated Gravity Forms version 1.9.2 and Twenty Ten theme.
    The error does not occur with activated Gravity Forms version 1.9.1.2 and Enfold theme.

    We contacted gravity & with their troubleshooting we found out it was enfold conflict with Gravity Forms.

    The error affects other plugins and wp dashboard itself (for example, dropdown does not work: http://goo.gl/lpQoaE and backupbuddy shows a warning: http://upyourpic.org/images/201405/ehsb8ayr5l.jpg

    Here our debug.log: http://pastebin.com/hECkcLfv

    Can you please help us out?

    #403476

    Hi,
    I also contacted Gravity forms also about this issue happening on my site and they said:
    —–
    I’m afraid this issue is being caused by the theme. The theme developer has a function in /config-gravityforms/config.php which is returning true to the gform_display_add_form_button hook causing the scripts which power the add form button/modal to be included on all admin pages. You will need to contact the theme developer so they can update their function so it only adds them to the pages which need them.
    ———-

    Can you please fix this? Thank you!

    #403541

    Just adding that this is also happening on our sites.

    WordPress 4.1.1
    Enfold 3.0.8
    Gravity forms 1.9.2

    Error message in console says that “Uncaught TypeError: Cannot read property ‘id’ of undefined”.
    Unable to edit forms
    Form editor works if the theme being used is anything other than enfold.

    #404113

    Same here. I hope this can be fixed soon, I was hoping to finish some work today :/

    Anybody know if it messes anything up front-end yet? I don’t see anything so far, but you never know.

    #404116

    Same here. “No conflict mode” in GF settings solved the problem.

    #404123

    Nice! Works if you wanna get Gravity Forms working, but of course that doesn’t fix the menu/dropdown issue.

    Good enough for me, for now, thanks Maratino!

    #404346

    Thanks!
    But that doesn’t fix the backupbuddy warning and the dropdown.

    #404425

    Hi,

    I can’t edit my Gravity Forms after Enfold 3.0.8. I have exactly the same problems as above.

    Gravity Forms Support told me to use no Conflict Mode, but I still have the problem that I can’t access Options Fields in Woocommerce and some more issues, which are not there with Twenty Fifteen.. But with Enfold.
    Frank

    #404805

    Hey!

    Sorry for the trouble. I went ahead and flagged this for the rest of our team.

    I personally don’t have a copy of gravity forms to test with so if someone can send me one by clicking on the “Send E-Mail” link beneath my username I’ll take a look.

    Best regards,
    Elliott

    #404823
    This reply has been marked as private.
    #404913

    Just a quick fix for anyone who just wants to get work done. comment out the function and filter starting at line 21 on enfold\config-gravityforms\config.php:

    add_filter('gform_display_add_form_button', 'avia_add_gf_button_to_editor', 10, 1);
    function avia_add_gf_button_to_editor($is_post_edit_page)
    {
        return true;
    }

    This will disable the “Add form” button on the avia framework screens but you will be able to edit forms again.

    #404917

    Same issue for me.

    #405102

    Same here…
    I deactivaced all plugins and the theme. There seems to be a conflict with the Theme Enfold.
    Gravity Support said; Please contact with Enfold theme support to fix the conflict.

    GF 1.9.2
    Enfold (3.0.8)

    If you want I can e-mail GF to you?

    #405917

    Hey!


    @9Fcode
    , Thanks.

    I added this to our bug list so it should be fixed in the next update but in the meantime try opening up /enfold/config-gravityforms/config.php and change lines 21 – 25 from this.

    add_filter('gform_display_add_form_button', 'avia_add_gf_button_to_editor', 10, 1);
    function avia_add_gf_button_to_editor($is_post_edit_page)
    {
        return true;
    }

    To this.

    add_action( 'current_screen', 'avia_add_gf_button_to_editor' );
    function avia_add_gf_button_to_editor( $screen ) {
    	if ( $screen->base == 'post' ) {
    		add_filter( 'gform_display_add_form_button', function(){ return true; }, 10, 1 );
    	}
    }

    That should fix the errors on the other admin screens but keep the gravity forms add new form button on your pages, posts, etc. Is there any other problems that anyone is experiencing?

    Cheers!
    Elliott

    • This reply was modified 9 years, 1 month ago by Elliott.
    #405936

    Hi Elliott,

    Excellent! Everything is working for me at this time. I was also using BackupBuddy and it seems to be resolved too.

    Thank you.

    #409009

    Hey!
    we will include a solution in the next update (3.1) that will arrive early tomorrow ;)
    thanks for helping us debug the issue
    Cheers!
    Kriesi

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘a conflict with Gravity Forms’ is closed to new replies.