“the priests and the diviners.” Note that the people now go to the religious people for answers. The “lords” of the Philistines made suggestions, move the ark from place to place, but that did not work out.
“What should we do.” This could also be translated, “What are we to do” (CJB).