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.

Plugin update notifications

  1. A client is using a modified version of Gravity Forms and would like to have both the WP and GF notifications disabled.

    The code found on this thread: Disable "There is an update available for Gravity Forms" notification produced a blank admin page.

    Can anyone help with the code that I'd need to disable WP updates for just GF, and perhaps tell me what I did wrong with the code above?

    Currently running WP 3.2.1

    Thanks,
    ~ Bryan

    Posted 13 years ago on Monday August 1, 2011 | Permalink
  2. Please post how you used that code. I am using that exact code in my functions.php without a problem. Please use pastie.org and post the relevant section of your functions.php

    A blank admin page usually means a 500 Internal Server error, so if you have access to error logs, you should be able to spot the error. Also, if you have access to a command line, you can check the syntax of your functions.php for errors. If not, there are online syntax checkers for PHP as well.

    Posted 13 years ago on Monday August 1, 2011 | Permalink
  3. Hi Chris, thanks for the quick reply -

    Here's the code as I'm using it in functions.php: http://pastie.org/2304939

    In the error logs I found this:

    PHP Fatal error:  Class 'GFCommon' not found in /var/www/vhosts/eggsample.com/httpdocs/wp-content/themes/poetmillions/functions.php on line 195

    Line 195 corresponds to the code (copied and pasted as is) from Alex.

    Posted 13 years ago on Monday August 1, 2011 | Permalink
  4. Is Gravity Forms activated? It's almost like it's not initialized when processing your functions.php to give an error like that. It's not a syntax error: it's just that the GFCommon class is not available.

    Posted 13 years ago on Monday August 1, 2011 | Permalink
  5. You initially mentioned "modified version of Gravity Forms" - any modifications that might affect this?

    Posted 13 years ago on Monday August 1, 2011 | Permalink
  6. You initially mentioned "modified version of Gravity Forms" - any modifications that might affect this?

    This may be the case. A third party dev did the modifications, and I've had a few other issues related to their work as well.

    Thanks, I'll contact them about this .

    Posted 13 years ago on Tuesday August 2, 2011 | Permalink
  7. Please post back what you find out. Thank you.

    Posted 13 years ago on Tuesday August 2, 2011 | Permalink