I’m a developer of a private Wp plugin that has been running for 3+ yrs.
The plugin displays in table format users custom information.
I just upgraded to v 4.4 and now I’m getting a fatal error: Fatal error: Call to undefined method stdClass::render_screen_reader_content() in …/wp-admin/includes/class-wp-list-table.php on line 760

This is from $myclassextention->display();

If I look at earlier versions the public display function is completely different now from the earlier versions.

I’m not sure what to do…apparently I’m not the only one … https://wordpress.org/support/topic/fatal-error-in-admin-pages-after-upgrading-to-wordpress-44

Any thoughts? I was thinking of building the table in Bootstrap…and need to get this resolved ASAP…I have over 1100 users using this. The support tickets will start rolling in soon.

BTW this is on a multi-site and rollback is not an option.

Thanks for looking.

PS…I can’t post to WordPress tag because I don’t have enough points? Really! That’s just weird!

EDIT: Here is the format I’m using …I can’t show the exact code.

I tried posting the code and turned into a big mess…here is the template I based it on https://wordpress.org/plugins/custom-list-table-example/ …like I said this has been working for 3yrs with over 1100+ users.

2 s
2

Nice solution you have there. But you must define a $screen property inside WP_List_Table class (or its child class) before pagination method is invoked.

You want to make the $screen property as WP_Screen instance using this function :

$this->screen = get_current_screen();

There you go, and your table is ready to go.

Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *