Your query is asking for:
PHP Code:
->select('payment_amount', 'payment_description','payment_student');
But your array is not showing those indexes. I do not understand why not.
You have a missing index 'payment_description'. In the error message, where is it indicating this is an issue, as if it does not exist in your database I am not certain how the query would run in the first place. Is it in the model, the controller or the view?
Perhaps you are fiddling with the code between pastes, but the query string you posted is different as it is not selecting 'payment_description', so where did that come from?
Paul.