DB Error: unknown error

select nazwa as nazwa , stan as stan, nowy_stan, nowa_nazwa as nowa_nazwa, id , data_dodania, ilosc_odwiedzin from anv_dokumenty where menu_id =1411 and (stan='AKTYWNY' or ''='admin') and archiwalny and (extract('year' FROM data_dodania) = 2018 and extract('month' FROM data_dodania) = 8) order by kolejnosc desc offset -1 limit 15 [nativecode=ERROR: OFFSET must not be negative] (Szablon->PokazListeDokumentow k)