Title: Gravity Forms line 5512
Last modified: January 17, 2020

---

# Gravity Forms line 5512

 *  Resolved [darylpittman](https://wordpress.org/support/users/darylpittman/)
 * (@darylpittman)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/gravity-forms-line-5512/)
 * A backup log is throwing this error:
 * PHP event: code E_USER_NOTICE: An outdated add-on or custom code is attempting
   to access the zing_rg_form table which is not valid in this version of Gravity
   Forms. Update your add-ons and custom code to prevent loss of form data. Further
   details: [https://docs.gravityforms.com/database-storage-structure-reference/#changes-from-gravity-forms-2-2](https://docs.gravityforms.com/database-storage-structure-reference/#changes-from-gravity-forms-2-2)(
   line 5512, wp-content/plugins/gravityforms/gravityforms.php)
 * function gravity_form( $id, $display_title = true, $display_description = true,
   $display_inactive = false, $field_values = null, $ajax = false, $tabindex = 1,
   $echo = true ) {
    /* line 5512 */ if ( ! $echo ) { return GFForms::get_form( 
   $id, $display_title, $display_description, $display_inactive, $field_values, 
   $ajax, $tabindex ); }
 *  echo GFForms::get_form( $id, $display_title, $display_description, $display_inactive,
   $field_values, $ajax, $tabindex );
    }
 * I am going to mine through some (custom) code to see if I can understand this
   further …
 * If there are any ideas let me know. I do not have any admins that I know of.
 * Thank you,
    Daryl Pittman [daryl@laserimagenc.com](https://wordpress.org/support/topic/gravity-forms-line-5512/daryl@laserimagenc.com?output_format=md)
   Laser Image Printing & Marketing

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [darylpittman](https://wordpress.org/support/users/darylpittman/)
 * (@darylpittman)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/gravity-forms-line-5512/#post-12362312)
 * I am in the process of confirming weather or not error continues after getting
   rid of deprecated database tables:
 * [https://docs.gravityforms.com/deprecated-database-tables/](https://docs.gravityforms.com/deprecated-database-tables/)
 *  Thread Starter [darylpittman](https://wordpress.org/support/users/darylpittman/)
 * (@darylpittman)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/gravity-forms-line-5512/#post-12367096)
 * Yes, it is possible there are unnecessary deprecated tables in your database 
   if you get the above error.
 * Check to confirm the new set of paralleled tables, by type of information and
   table name changes from .._rg_.. to .._gf_.., are in your database and delete
   the old tables.
 * For example:
    wp_rg_form <—- is old table
 * wp_gf_form <—- new table

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Gravity Forms line 5512’ is closed to new replies.

 * 2 replies
 * 1 participant
 * Last reply from: [darylpittman](https://wordpress.org/support/users/darylpittman/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/gravity-forms-line-5512/#post-12367096)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
