PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Gravity Forms and Custom Post Types and Errors

  1. Hi,
    We have a form created with GF with the plugin Custom Posts Type Activated as well for GF.
    Now the form works such a way that if a user selects a "featured" category he is opted to send a payment else he doesnot send any payment and the submission is submitted as a post.

    Currently we are getting errors that the form isn't being processed at all.

    When editing the entry we get the following error
    Fatal error: Cannot use object of type stdClass as array in /home/foreverg/public_html/wp-content/plugins/gravityforms/common.php on line 3976

    Contact form at
    http://www.forevergeek.com/get-featured/

    Posted 11 years ago on Saturday July 7, 2012 | Permalink
  2. The custom posts type add-on is developed by a 3rd Party. You might want to reach out to them and see if they have any ideas:

    http://wordpress.org/support/plugin/gravity-forms-custom-post-types

    Posted 11 years ago on Saturday July 7, 2012 | Permalink
  3. Problem resolved.
    Though it happens in our case that 60% of the emails after payment are not sent.
    We are facing the "emails not being sent/received" issue with normal forms as well.

    Posted 11 years ago on Monday July 9, 2012 | Permalink
  4. David Peralty

    Your best bet when e-mails are not being sent by wp-mail.php (the built-in WordPress mailer, and what Gravity Forms uses to send e-mails) is to install a SMTP plugin and configure it. Usually this helps. If not, then you'll want to talk to your server support and have them check the PHP logs to see why e-mail isn't being sent.

    Posted 11 years ago on Monday July 9, 2012 | Permalink
  5. This plugin is what we normally recommend for more reliable email delivery: http://wordpress.org/extend/plugins/wp-mail-smtp/

    Posted 11 years ago on Tuesday July 10, 2012 | Permalink
  6. Thanks

    Posted 11 years ago on Wednesday July 11, 2012 | Permalink