The area around a primary school has been cordoned off, with a pub being shut down