• Resolved Sallie Goetsch

    (@wpfangirl)


    I have not been able to save new Stripe rules. I set them up and save them, but they disappear. My Stripe Settings page for individual forms includes the following error message: function WP_List_Table::get_columns() must be over-ridden in a sub-class.

    Incidentally, I’m using version 1.9.1.1.beta1 for both Gravity Forms + Stripe and Gravity Forms + (More) Stripe.

    Any help would be appreciated–my client is frantic about this.

    https://www.ads-software.com/plugins/gravity-forms-stripe/

Viewing 5 replies - 1 through 5 (of 5 total)
  • maybe you need to update gravity forms

    I’m having the same ussue. Did you find a solution?

    My client is frantic as well!

    Thread Starter Sallie Goetsch

    (@wpfangirl)

    I did get help, by going directly to the developer. (This client had a copy of the pro version as well as the basic one, though the problem occurred in both cases.) Naomi sent me an updated beta version of the plugin, and that took care of it. I would have expected a public update to be out by now. I haven’t noticed any new problems with recent further updates of WP and Gravity Forms.

    Thank you. I’ll reach out to Naomi.

    THE SOLUTION

    Add this line of code

    public function get_columns(){}

    after the last closing bracket “}” in the following two files:

    1. /wp-content/plugins/gravityforms/notification.php
    2. /wp-content/plugins/gravityforms/form_settings.php

    Basically, when you extend the WP_List_Table class, you must override by at least defining the get_columns() method/function in the sub-class.

    In the following example, the My_New_Class class extends the WP_List_Table class which now makes it a sub-class of WP_List_Table. WordPress requires sub-classes of WP_List_Table to override the get_columns() method/function – so we must define it in our sub-class.

    class My_New_Class extends WP_List_Table {
    ...
    public function get_columns(){}
    ...
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘function WP_List_Table::get_columns() must be over-ridden in a sub-class.’ is closed to new replies.