pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.46k stars 3.68k forks source link

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'sendSeen') #1360

Closed maikelohcfg closed 2 years ago

maikelohcfg commented 2 years ago

Is there an existing issue for this?

Describe the bug

When whatsapp updates the device to the last MD (not beta) after QR scan it begin to throw errors

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'sendSeen')

Expected behavior

Just mark as read an incoming message

Steps to Reproduce the Bug or Issue

1- Update device to latest MD version 2- Scan QR code to start bot 3- Answer an incoming message with sendRead

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

Linux Ubuntu 20.04

Additional context

No response

gushonorato commented 2 years ago

I'm experiencing the same issue. It stopped working yesterday. I can't send or receive messages.

najamrehman commented 2 years ago

@maikelohcfg @gushonorato Is your issue fixed ? because I am facing same issue

LemuelPuglisi commented 2 years ago

Same issue here, using multi-device and LocalAuthStrategy

XxQuickSilverZz commented 2 years ago

same issue here,

im using LocalAuth and "whatsapp-web.js": "^1.16.6"

displayed after await client.sendMessage('49xxxxxxxxxx@c.us', ' 1');

armandinhox commented 2 years ago

same issue here,

im using LocalAuth and "whatsapp-web.js": "^1.16.6"

displayed after await client.sendMessage('49xxxxxxxxxx@c.us', ' 1');

Have same problem!

PurpShell commented 2 years ago

What about the latest version, how does this work