Change WordPress user roles and capabilities Forums Bug Reports Error upon entering a single form entry for a User with limited Form ID's

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5102
    tbucher
    Participant

    Hi there,

    I am using User Role Editor Pro and I am disabling gravity form access apart from one ID and when the user tries to access the the entries for the form, an error occurs (shown below):

    Fatal error: Uncaught Error: Call to undefined method GFFormsModel::get_entry_table_name() in /srv/users/serverpilot/apps/mytonhospice/public/wp-content/plugins/user-role-editor-pro/pro/includes/classes/gf-access.php:242 Stack trace: #0 /srv/users/serverpilot/apps/mytonhospice/public/wp-content/plugins/user-role-editor-pro/pro/includes/classes/gf-access.php(304): URE_GF_Access->is_allowed_entry(Array) #1 /srv/users/serverpilot/apps/mytonhospice/public/wp-includes/class-wp-hook.php(286): URE_GF_Access->prohibited_links_redirect(”) #2 /srv/users/serverpilot/apps/mytonhospice/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /srv/users/serverpilot/apps/mytonhospice/public/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /srv/users/serverpilot/apps/mytonhospice/public/wp-admin/admin-header.php(142): do_action(‘admin_head’) #5 /srv/users/serverpilot/apps/mytonhospice/public/wp-admin/admin.php(216): require_once(‘/srv/users/serv…’) #6 {main} thrown in /srv/users/serverpilot/apps/mytonhospice/public/wp-content/plugins/user-role-editor-pro/pro/includes/classes/gf-access.php on line 242

    These are the capabilities of the role:

    cuar_access_admin_panel
    cuar_edit_account
    cuar_view_account
    cuar_view_top_bar
    gravityforms_create_form
    gravityforms_delete_forms
    gravityforms_edit_entries
    gravityforms_edit_entry_notes
    gravityforms_edit_forms
    gravityforms_export_entries
    gravityforms_view_entries
    read
    view-customer-area-menu

    Could you please advice why this error maybe occuring?

    Thank you!

    #5103
    Vladimir
    Keymaster

    Hi,

    What version of Gravity Forms do you use?

    #5104
    tbucher
    Participant

    Gravity Forms is Version 2.2.6.5

    User Role Editor Pro is Version 4.47.1

    #5105
    Vladimir
    Keymaster

    Starting from version 4.45 from 07.05.2018 URE Pro follows Gravity Forms version 2.3+ data model change:
    Quote from changes list for v. 4.45:
    “Function GFFormsModel::get_lead_table_name() call was replaced with GFFormsModel::get_entry_table_name() to provide compatibility with Gravity Forms v. 2.3+”.
    This update is not compatible with earlier versions of Gravity Forms.

    Workaround: replace URE Pro back with version 4.44 and plan update to the latest version of Gravity Forms 2.3+.

    #5230
    tbucher
    Participant

    Hi there,

    thank you for replying back to this, I can’t seem to find where to download version 4.44 however. The previous versions only go back to 4.44 on the downloads page.

    #5231
    Vladimir
    Keymaster

    Hi,

    I made version 4.44 available again between older versions of URE Pro.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.