Conversation
supportHi, When I try to create a feed in a Gravity Form I get this fatal error: ————- Fatal error: Uncaught Error: Call to a member function get_custom_fields() on null in /var/www/html/wp-content/plugins/gragrid/class-gragrid.php:473 Stack trace: #0 /var/www/html/wp-content/plugins/gragrid/class-gragrid.php(220): Gragrid->sengrid_custom_fields_map() #1 /var/www/html/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1578): Gragrid->feed_settings_fields() #2 /var/www/html/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1301): GFFeedAddOn->get_feed_settings_fields() #3 /var/www/html/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(101): GFFeedAddOn->feed_settings_init() #4 /var/www/html/wp-includes/class-wp-hook.php(292): GFFeedAddOn->init() #5 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #6 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action() #7 /var/www/html/wp-settings.php(560): do_action() #8 /var/www/html/wp-config.php(74): require_once(‘/var/www/html/w…’) #9 /var/www/html/wp-load.php(37): requir in /var/www/html/wp-content/plugins/gragrid/class-gragrid.php on line 473 There has been a critical error on this website. Please check your site admin email inbox for instructions. ————- I have Gravity Forms 2.5.1.2 Could you check your code, and/or help me debug? This topic was modified 5 years ago by paulnl . This topic was modified 5 years ago by Yui .
I’m having the same problem: Fatal error: Uncaught Error: Call to a member function get_custom_fields() on null in /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gragrid/class-gragrid.php:473 Stack trace: #0 /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gragrid/class-gragrid.php(220): Gragrid->sengrid_custom_fields_map() #1 /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1578): Gragrid->feed_settings_fields() #2 /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1301): GFFeedAddOn->get_feed_settings_fields() #3 /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(101): GFFeedAddOn->feed_settings_init() #4 /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-includes/class-wp-hook.php(292): GFFeedAddOn->init('') #5 /U in /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gragrid/class-gragrid.php on line 473 I’m running GF version: 2.5.0.2
Hey there! 👋🏻 Sorry for the inconveniences and thank you both for your detailed report! This issue seems to be related to the new Settings API introduced in Gravity Forms v2.5. I will be fixing it as soon as possible. Thank you!
This issue has been fixed in v2.2.0! 🙂
Thanks for your quick action. I checked, it works perfectly!
I’m having the same problem: Fatal error: Uncaught Error: Call to a member function get_custom_fields() on null in /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gragrid/class-gragrid.php:473 Stack trace: #0 /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gragrid/class-gragrid.php(220): Gragrid->sengrid_custom_fields_map() #1 /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1578): Gragrid->feed_settings_fields() #2 /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1301): GFFeedAddOn->get_feed_settings_fields() #3 /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(101): GFFeedAddOn->feed_settings_init() #4 /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-includes/class-wp-hook.php(292): GFFeedAddOn->init('') #5 /U in /Users/bramhuisman/Documents/Development/projects/tipper/htdocs/wp-content/plugins/gragrid/class-gragrid.php on line 473 I’m running GF version: 2.5.0.2
Hey there! 👋🏻 Sorry for the inconveniences and thank you both for your detailed report! This issue seems to be related to the new Settings API introduced in Gravity Forms v2.5. I will be fixing it as soon as possible. Thank you!
This issue has been fixed in v2.2.0! 🙂
Thanks for your quick action. I checked, it works perfectly!