• Resolved thaigringo


    Was working fine for years…
    Now I get this…

    Fatal error: Uncaught Error: Call to undefined method GFFormsModel::get_database_version() in /home/worldkum/public_html/wp-content/plugins/gravity-forms-addons/gravity-forms-addons.php:1413 Stack trace: #0 /home/worldkum/public_html/wp-includes/shortcodes.php(319): GFDirectory::make_directory(Array, ”, ‘directory’) #1 [internal function]: do_shortcode_tag(Array) #2 /home/worldkum/public_html/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(direct…’, ‘do_shortcode_ta…’, ‘<h2>_shortcode_callback(Array, ‘<h2><img class=…’, ‘et_pb_text’) #5 [internal function]: do_shortcode_tag(Array) #6 /home/worldkum/public_html/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(direct…’, ‘do_shortcode_ta…’, ‘[et_pb_text adm…’) #7 /home/worldkum/public_html/ in /home/worldkum/public_html/wp-content/plugins/gravity-forms-addons/gravity-forms-addons.php on line 1413

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Zack Katz


    I’m sorry about that! I just fixed this in 4.1.2, which adds a check for older versions of Gravity Forms.

    Thread Starter thaigringo


    Ok, the directory is now showing but it is saying it has no entries but there are 772 form entries…

    Same issue here on recent update. Pagination works as expected but the entire directory is missing. Nothing useful in debug or error logs to help diagnose.

    The entirety of this segment is filled with a lot of white space between tbody tags, but no data:

    <tbody class="list:user user-list">

    Wanted to share:

    Rolling back to version 3.8.1 seems to do the trick and bring back the directory. All other versions between 3.8 and 4.1 seem to have this frontend display issue.

    I’m using PHP7 and GF 2.2.6 for reference.

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

    Bozz, thanks for the info. Do you have a version of 3.8.1 that you can make available?- I don’t have a copy of it to roll back to. Thanks!!

    You can find previous versions of this plugin in the Advanced View accessed from the sidebar. For GF Directory:

    Another route is to use the WP Rollback plugin.

    Perfect, Thanks!

    I was hoping upgrading GF to 2.3 would resolve this. Unfortunately it has no effect, displaying no entries on the frontend.

    Now using GF 2.3 with 3.8.1 of this plugin. Displays ok, however here is the relevant debug info if helpful. Presumably this was what the new update was aiming to address.

    NOTICE: wp-content/plugins/gravityforms/gravityforms.php:5094 - An outdated add-on or custom code is attempting to access the wp_rg_lead table which is not valid in this version of Gravity Forms. Update your add-ons and custom code to prevent loss of form data. Further details: https://docs.gravityforms.com/database-storage-structure-reference/#changes-from-gravity-forms-2-2
    require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/canvas/page.php'), woo_get_template_part, locate_template, load_template, require('/themes/canvas/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, GFDirectory::make_directory, GFDirectory::get_lead_count, wpdb->get_var, wpdb->query, apply_filters('query'), WP_Hook->apply_filters, GFForms::filter_query, trigger_error
    • This reply was modified 6 years, 1 month ago by Marty.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Directory not working’ is closed to new replies.