Change WordPress user roles and capabilities › Forums › Bug Reports › Custom Roles timing out when Per Form Access is enabled
- This topic has 5 replies, 2 voices, and was last updated 7 years, 4 months ago by tbucher. 
- 
		AuthorPosts
- 
		
			
				
06/06/2018 at 14:40 #4925tbucher ParticipantHi there, There seems to be a bug with custom roles. When I have “Activate per form user access management for Gravity Forms” enabled and I login to my custom role and try to add a custom post or page, the post is added but the session times up, occasionally timing out the site. To describe the process: 1. I login with a custom role 
 2. I create a new page.
 3. I hit publish.
 4. The spinning wheel next to publish keeps spinning and eventually comes up with an error of: “Connection lost. Saving has been disabled until you’re reconnected. We’re backing up this post in your browser, just in case.”When I check the page list after the page is added. Disabling “Activate per form user access management for Gravity Forms” seems to resolve this issue. Do you have any idea why this maybe happening? Below is a list of all the capabilities that the custom role uses: create_events 
 create_pages
 create_posts
 cuar_access_admin_panel
 cuar_edit_account
 cuar_view_account
 cuar_view_top_bar
 delete_event
 delete_events
 delete_others_events
 delete_others_pages
 delete_others_posts
 delete_pages
 delete_posts
 delete_private_events
 delete_private_pages
 delete_private_posts
 delete_published_events
 delete_published_pages
 delete_published_posts
 edit_event
 edit_events
 edit_others_events
 edit_others_pages
 edit_others_posts
 edit_pages
 edit_posts
 edit_private_events
 edit_private_pages
 edit_private_posts
 edit_published_events
 edit_published_pages
 edit_published_posts
 gravityforms_create_form
 gravityforms_delete_forms
 gravityforms_edit_entries
 gravityforms_edit_entry_notes
 gravityforms_edit_forms
 gravityforms_export_entries
 gravityforms_view_entries
 publish_events
 publish_pages
 publish_posts
 read
 read_event
 read_private_events
 read_private_pages
 read_private_posts
 upload_files
 ure_edit_posts_access
 ure_view_posts_access
 view-customer-area-menu06/06/2018 at 15:20 #4926Vladimir KeymasterHi, Generally, URE’s Gravity Forms access add-on modifies WP_Query SQL expression for the queries related to the GF database tables and should not influence on a WP queries related to the posts or pages. Can you look at the server logs if they contain any related information from PHP or/and MySQL about endless recursion, timeout, etc. and share it with me? 06/06/2018 at 15:39 #4927tbucher ParticipantWhere abouts would you like me to look? I’ve looked through the server logs and I haven’t seen any indicators on where this maybe erroring out. 06/06/2018 at 15:51 #4928Vladimir KeymasterRepeat the action which leat to request timeout and look for the latest records at: 
 /var/log/apache2/error.log
 /var/log/syslogIs it suitable for this case to export database, plugins and theme files using “UpdraftPlus” plugin and share with me (support [at-sign] role-editor.com) via DropBox or Google Drive? 
 I would setup your site copy at my local dev. environment and test the issue with debugger then.10/06/2018 at 05:35 #4937Vladimir KeymasterOne more question – Do you use the latest version of URE Pro? There was a bug probably related to your issue, which was fixed with version 4.46. 11/06/2018 at 12:51 #4940tbucher ParticipantThank you very much Vladmir, that fixed the issue! 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
