Title: Web-to-Lead Error– function WP_List_Table::get_columns()
Last modified: January 20, 2017

---

# Web-to-Lead Error– function WP_List_Table::get_columns()

 *  Resolved [Blake](https://wordpress.org/support/users/alexanderblake/)
 * (@alexanderblake)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/web-to-lead-error-function-wp_list_tableget_columns/)
 * I have been tasked with fixing this issue on a client’s site. I have encountered
   it before and know to modify the form_settings.php and notifications.php files,
   but I don’t know which file to edit for the Web-to-Lead Feeds section.
 * I know I need to add this: (but where)
 *     ```
       function get_columns() {
               $columns = array(
                       'name' => 'Name',
                       'subject' => 'Subject'
                       );
               return $columns;
           }
       ```
   

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

 *  Thread Starter [Blake](https://wordpress.org/support/users/alexanderblake/)
 * (@alexanderblake)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/web-to-lead-error-function-wp_list_tableget_columns/#post-8684511)
 * Has no one encountered this error? I’ve looked through every file I can think
   of, and I’m stuck.
 * Any admin help?
 *  [abdiyohan](https://wordpress.org/support/users/abdiyohan/)
 * (@abdiyohan)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/web-to-lead-error-function-wp_list_tableget_columns/#post-8923204)
 * Not sure if you’re still looking for input on this, but after an hour of trial
   and error, I fixed this issue for the web-to-lead plugin.
    1. First, I went to this folder wp-content/plugins/gravityforms/includes/addon
    2. Second, I opened class-gf-feed-addon.php
    3. Third, I pasted this code in the class GFAddOnFeedsTable extends WP_List_Table{
    4. > function get_columns() {
       >  $columns = array( ‘name’ => ‘Name’, ‘subject’ =>‘
       > Subject’ ); return $columns; }
 *  Thread Starter [Blake](https://wordpress.org/support/users/alexanderblake/)
 * (@alexanderblake)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/web-to-lead-error-function-wp_list_tableget_columns/#post-8923416)
 * Yes, I found it on my own a few weeks ago but forgot to post it.
 * Thanks for the follow-up!

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

The topic ‘Web-to-Lead Error– function WP_List_Table::get_columns()’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravity-forms-salesforce_fbfdff.svg)
 * [Gravity Forms Salesforce Add-on](https://wordpress.org/plugins/gravity-forms-salesforce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-salesforce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-salesforce/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-salesforce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-salesforce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-salesforce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Blake](https://wordpress.org/support/users/alexanderblake/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/web-to-lead-error-function-wp_list_tableget_columns/#post-8923416)
 * Status: resolved