Typeerror when running expt online, runs fine on psychopy v2020.2.4

Dear @Janaki_Sheth, please see my answer below, thanks, s.