An oxygen tank illegally placed in a trashcan caused an explosion in a Whitehall garbage truck Wednesday, according to a Facebook post from the city.