A judge has ordered Kern County to stop issuing permits for new oil and gas fields until at least next year.