A severe thunderstorm warning has been issued for counties across western Pennsylvania on Wednesday afternoon.