The debug noticed you encountered weren't the cause of the issue, those were strictly warnings in debug mode and not errors. However, they have been resolved because I installed the latest version of Gravity Forms on your site. You were running an older version. Debug warnings (which aren't errors) can cause pages not to load, but only when debug mode is turned on... which it should not be turned on if it is a live site. It should only be used for testing and debug purposes.
The issue isn't a conflict with BuddyPress, but it is related to server performance as well as client side browser performance.
It's related to the fact BuddyPress makes heavy use of the WordPress users table to create users. The average WordPress site does not have hundreds, let alone thousands of WordPress users in the database. There are areas in the form editor where a drop down is returned that lists all of the users. The Post Author drop down in the Post Fields displays a drop down containing all of the users so you can select the Post Author when setting a default. Your server is choking on returning all of the users due to performance reasons.
The easy fix is to use an available hook, the gform_author_dropdown_args hook, which is documented here:
http://www.gravityhelp.com/documentation/page/Gform_author_dropdown_args
This hook allows you to control what authors are returned in the Post Author field and in your case you want to use this to limit what is returned because you have so many users in your WordPress user table. You an use this hook so that it only returns users of a certain role, or you can use it to return specific user id's.
Rather then edit your theme and add this custom code, because you are using a BuddyPress theme, I created a quick plugin that implements this hook. I called it Gravity Forms Limits Authors and it's installed and activated. It is currently limiting the users that appears in the Post Author drop down in the Post Fields to just the Administrator user. You can edit the plugin file and add other user id's if you need to change which users appear in that drop down.
This isn't an issue that impacts just Gravity Forms. It's a common issue with WordPress sites that have thousands of users like you do and returns this list of users in elements such as drop downs, etc.
It is resolved with the hook I implemented via a custom plugin.
Be aware that if you switch to Formidable Pro you could get locked in to using their solution. We will be introducing an Add-On to allow users to display entry data as well as edit entry data and posts created using Gravity Forms later this year and it's going to be much more advanced than what Formidable Pro offers. We don't rush features like their developer does. We make sure they are well planned out from a feature, functionality and user interface standpoint and do a lot of testing. They treat things like it is a feature race and implement features as fast as they can... which includes constantly replicating features we introduce almost immediately after we introduce it.
Posted 12 years ago on Tuesday March 6, 2012 |
Permalink