Debug error message (pagination method)

Study dataset varaibles table
rename $variable_table_output for $variables_table_output for consistency