error types_categories.php line 7