TypeError: String indices must be integers

hi, i keep getting errors when i run psychopy
it happen when i want to run after add response rating

in the runner it says

File “D:\psychopy\experiment1_lastrun.py”, line 249, in exec(‘{} = thisItem[paramName]’. format(paramName))
File “”, line 1, in
TypeError: String indices must be integers

can anyone help me bcs i really don’t understand coding but I have to complete my homework

Here’s another thread with that error.

Do you have thisItem[paramName] somewhere?

I don’t know either, I’ve tried searching but still can’t find it. But dw I can solve the problem! thank you very much for the help!