Исключение - Cannot access offset of type string on string

Подробнее об этой ошибке