-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read properties of undefined (reading 'queryExists') #1313
Comments
Also detected this problem without multidevice enabled |
same error, but i uesd getNumberId! |
+1 I am facing same issue. |
If you're on MD you shoudn't use the LegacySessionAuth. Use LocalAuth or noAuth instead. |
I used LocalAuth |
I''ve made some new tests and i'm getting the same issue while using the latest modifications pushed here → 2718c13 Error: |
This here working on WWEBVERSION: 2.2208.7 |
So it starts working after rescan? |
Because I start to receive new error on message sending #1317 |
Same issue... is not working |
same issue |
Same here using LocalAuth :( |
Same here. Using multidevice branch |
Try my temporary fix. Client.js Line 944
|
Worked for me... ! =D temporary fix works well. Thanks @sidikhanrei |
It connects fine but then it doesn't send the messages. There is no log record. |
use this release version https://www.npmjs.com/package/whatsapp-web.js/v/1.16.4-alpha.0 |
Using 1.16.4-alpha.0 Another symptom, the session folder is always left empty. |
Sessão não estava salvando tbm |
sometimes connect. When it does it appears to work but in reality the session folder is empty and the messages don't come out. CHECKED |
I have the same error.! |
I have devices with the problem and another devices without it, it's very strange. |
@kikemarto Me too... two services on the same OS... one is working I WILL TRY TO NEVER CLOSE IT an the other service is just DEAD |
The services that works I can restart without problems and works continue. |
spooky 🥴🥴 |
same issue :( |
on restarting the service, it sends the message for the first time. and then shows the error.
This is something strange, please fix this asap. |
Same error but Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'cast') (node:34196) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'cast') |
We need you @pedroslopez !!!! =( |
This issue was happening because WhatsApp Web was sometimes serving up v2.2206.9 and then updating it to v2.2208.7 in some cases. Now that 2.2208.7 seems to be the only version getting served, I released v1.16.4 of the library to address this. Please update and this shouldn't be happening anymore. |
Hey Thanks a lot @pedroslopez |
Fixed in v1.16.4 |
I have this problem in v1.16.4 in Non-MD session. Any idea? |
Updated to latest version. This error happens to me since today. Before it worked well. |
SAME I AM NOT ABLE TO FIX THE ISSUES [Cannot read properties of undefined (reading 'queryExists').. PLZ HELP FOR THE SAME |
erro: Cannot read properties of undefined (reading 'queryExists') hey guys. |
I am getting the same error, from this day on. Bot has been working for several weeks without any issues. After authenticating with qr via localAuth strategy, this error is thrown.
Tried with whatsapp-web version 1.19.3 and 1.19.1 Is the dependency on puppeteer version 13.0.0 correct? |
i have the same error |
Maybe Whatsapp changed the DOM structure of their html page? |
@pedroslopez Would you mind to have a look? In my case it is currently really annoying to run my dev environment, since every app restart means now to have to scan the qr code every time :*( Update: tofers#2 Fixes it! 🚀🚀🚀 |
Great! I replace the line 28 of file src/util/Injected.js to: And work to me now, thanks |
Using 1.19.5 |
Is there an existing issue for this?
Describe the bug
Evaluation failed: TypeError: Cannot read properties of undefined (reading 'queryExists') with beta enabled.
Expected behavior
As a user, I expect to receive authendithicated event after code scanning, not an error
Steps to Reproduce the Bug or Issue
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
whatsapp-web v1.16.4-alpha.0
Additional context
No response
The text was updated successfully, but these errors were encountered: