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 problem

  1. Gravity form was working for a while, but a problem happend. All forms, posts, pages were gone like that! I tryed to deactivated the plugin and it didnt deactivated. So, I access the FTP client and remove it manually. All things got back to normal, all my posts back, pags, etc.

    I downloaded the new version 1.7.5 and installed it. Same thing happend, as soon as a activate the plugin, everything goes away.

    I've tried one last time and that time that apeared in plugins screen in wordpress:

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = '_transient_gform_update_info' LIMIT 1

    WordPress database error: [MySQL server has gone away]
    INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('_transient_timeout_gform_update_info', '1370028123', 'no') ON DUPLICATE KEY UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload)

    WordPress database error: [MySQL server has gone away]
    INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('_transient_gform_update_info', 'O:8:\"WP_Error\":2:{s:6:\"errors\";a:1:{s:19:\"http_request_failed\";a:1:{i:0;s:20:\"connect() timed out!\";}}s:10:\"error_data\";a:0:{}}', 'no') ON DUPLICATE KEY UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload)

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = 'dismissed_update_core' LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT comment_approved, COUNT( * ) AS num_comments FROM wp_comments GROUP BY comment_approved

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = '_transient_plugin_slugs' LIMIT 1

    WordPress database error: [MySQL server has gone away]
    SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_plugin_slugs' LIMIT 1

    WordPress database error: [MySQL server has gone away]
    INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('_transient_timeout_plugin_slugs', '1370028123', 'no') ON DUPLICATE KEY UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload)

    WordPress database error: [MySQL server has gone away]
    INSERT INTO wp_options (option_name, option_value, autoload) VALUES ('_transient_plugin_slugs', 'a:2:{i:0;s:29:\"gravityforms/gravityforms.php\";i:1;s:47:\"html-javascript-adder/html-javascript-adder.php\";}', 'no') ON DUPLICATE KEY UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload)

    What can I do to fix this?

    Posted 6 years ago on Thursday May 30, 2013 | Permalink
  2. Ps: I've deactivated all plugins (I had only one, anyway). Even with only gravity forms working, I still got this problem. My wordpress version is the last one. I've updated cause in the last one i've had this problem. I thought it could be the wordpress, so i've updated but i didn't matter.

    Thank you in advance.

    Posted 6 years ago on Thursday May 30, 2013 | Permalink
  3. Please contact your hosting provider for this issue:

    WordPress database error: [MySQL server has gone away]

    That is unrelated to Gravity Forms. Right now, the WordPress site cannot connect to the MySQL host. When you activate Gravity Forms, the number of queries goes up, but it's nothing a MySQL server cannot handle. Please contact your host about this. Maybe there are an excessive number of unclosed connections if you are on shared hosting, or some other host-related problem.

    Posted 6 years ago on Thursday May 30, 2013 | Permalink
  4. mekaiten
    Member

    same problem here...
    any progress??

    in my case:
    - gravity forms worked fine, untill today.
    - the website pages itself are all fine. but in admin area, it's all gone... so i can't edit anything.
    - also, the admin area is very very slow.
    -> so the problem is only in admin area?

    * i installed gravity forms on a subdomain - where i do tests (in a seperate wordpress intallation). the problem started there! right after activation. and now both subdomains have the problem. maybe this caused the problem?

    Posted 6 years ago on Friday June 28, 2013 | Permalink
  5. mekaiten
    Member

    ok, this page solved it:
    http://www.techmesto.com/solving-wordpress-mysql-gone-error/#lightbox/0/

    BUT, this is a workaround. after update wordpress it'll happen again. and from start, it's not should be so ugly solution.

    for administrators :
    can someone point the REAL problem? and why it worked fine untill today?
    after some reading in google for "MySQL server has gone away" i understood that maybe there is a code in gravity forms that take too much time after open connection. can this be true?
    if so, maybe reopen connection right before sending data to mySQL (if closed..?) ? or shorten code somehow?

    Posted 6 years ago on Friday June 28, 2013 | Permalink
  6. Richard Vav
    Administrator

    If you still require assistance with this please open a new support ticket or a priority support ticket if you are a developer license holder. Thank you.

    Posted 6 years ago on Saturday July 27, 2013 | Permalink

This topic has been resolved and has been closed to new replies.