Invalid query: next_record called with no query pending: select user_name from picspack_users where user_id = 34