Change WordPress user roles and capabilities › Forums › Bug Reports › Error upon entering a single form entry for a User with limited Form ID's
- This topic has 5 replies, 2 voices, and was last updated 6 years ago by Vladimir.
-
AuthorPosts
-
22/08/2018 at 16:16 #5102tbucherParticipant
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-menuCould you please advice why this error maybe occuring?
Thank you!
22/08/2018 at 16:22 #5103VladimirKeymasterHi,
What version of Gravity Forms do you use?
23/08/2018 at 08:06 #5104tbucherParticipantGravity Forms is Version 2.2.6.5
User Role Editor Pro is Version 4.47.1
23/08/2018 at 11:53 #5105VladimirKeymasterStarting 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+.
26/10/2018 at 07:38 #5230tbucherParticipantHi 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.
27/10/2018 at 13:45 #5231VladimirKeymasterHi,
I made version 4.44 available again between older versions of URE Pro.
-
AuthorPosts
- You must be logged in to reply to this topic.