I solved the problem using the code below:
public function __construct()
{
add_action( 'wp', [$this,'after_load_wordpress'] );
}
function after_load_wordpress(){
new EventListTable();
}
I solved the problem using the code below:
public function __construct()
{
add_action( 'wp', [$this,'after_load_wordpress'] );
}
function after_load_wordpress(){
new EventListTable();
}