Error: Using $this when not in object context: Categoría no encontrada