City declares state of emergency due to environmental hazard