Pagination help.. Offset getting sent but nothing

ok, been working on this for a few days so need help. Attaching screenshots.

Setup pagination here is my setup but giving 500 error when I click pages,

query manager:
image|287x500

server connect
image

Query server action
image

Pagination
image

Community Page
Last updated: