When the script wants to generate qr code this error comes: 