I’m in fighting with a fatal error when using wp_list_table in a class , in totally i extend the wordpress wp_list_table in a class and then include it into my plugin when i try to instance an object from it , and call the .display() function it says:
Fatal error: Call to undefined function get_current_screen() in
/Applications/MAMP/htdocs/wordpress_33/wp-admin/includes/class-wp-list-table.php
on line 87
any suggestion please?
I found I had to explicitly include the ‘wp-admin/includes/screen.php’ script
Are you using WP_List_Table(this is correct) or wp_list_table??