Tagged: Gravity
-
AuthorPosts
-
February 27, 2015 at 3:50 pm #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.jpgThe 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?
February 27, 2015 at 4:15 pm #403476Hi,
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!
February 27, 2015 at 5:37 pm #403541Just adding that this is also happening on our sites.
WordPress 4.1.1
Enfold 3.0.8
Gravity forms 1.9.2Error 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.March 1, 2015 at 5:46 pm #404113Same 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.
March 1, 2015 at 5:59 pm #404116Same here. “No conflict mode” in GF settings solved the problem.
March 1, 2015 at 6:01 pm #404123Nice! 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!
March 2, 2015 at 9:07 am #404346Thanks!
But that doesn’t fix the backupbuddy warning and the dropdown.March 2, 2015 at 1:28 pm #404425Hi,
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.
FrankMarch 2, 2015 at 10:14 pm #404805Hey!
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,
ElliottMarch 2, 2015 at 10:38 pm #404823This reply has been marked as private.March 3, 2015 at 3:25 am #404913Just 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.
March 3, 2015 at 3:51 am #404917Same issue for me.
March 3, 2015 at 1:30 pm #405102Same 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?
March 4, 2015 at 5:51 pm #405917Hey!
@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, 8 months ago by Elliott.
March 4, 2015 at 6:07 pm #405936Hi Elliott,
Excellent! Everything is working for me at this time. I was also using BackupBuddy and it seems to be resolved too.
Thank you.
March 10, 2015 at 6:53 pm #409009 -
AuthorPosts
- The topic ‘a conflict with Gravity Forms’ is closed to new replies.