Error: Cannot read properties of undefined (reading 'includes')

I am having the exact same problem! Is there a way to fix it please?