Debug error message (pagination method)

Study dataset varaibles table
$variables_dataset can be NULL at this point (there is a empty() test just before