Update categories.php

Corrected errors