Problem: I am experiencing sporadic Critical Error messages on my site with Toolset active. They often occur when I attempt to save a post in wp-admin.
Solution: In this case the issue appears to be caused by a lack of memory. Increase the amount of memory available for PHP and WordPress by adding the following code in your wp-config.php file:
Problem: I have a Form that creates new posts in a custom post type. One of the custom fields holds a telephone number. I would like to prevent the Use from creating a post if the telephone number they submit already exists in the database as a telephone number for another post.
Solution: Use the Forms API hook cred_form_validate to inspect the submitted custom field value. Create a custom post query that also queries posts by that custom field value. If any posts are found in that query, display an error message on the telephone field.