whatsapp-web.js icon indicating copy to clipboard operation
whatsapp-web.js copied to clipboard

Unable to send WhatsApp message on Multi Session

Open ccmks opened this issue 2 years ago • 6 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the bug

Run into error

0|app | Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'createWid') 0|app | at puppeteer_evaluation_script:2:49 0|app | at ExecutionContext._evaluateInternal (C:\xampp\htdocs\wagw\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) 0|app | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 0|app | at async ExecutionContext.evaluate (C:\xampp\htdocs\wagw\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) 0|app | at async Client.getNumberId (C:\xampp\htdocs\wagw\node_modules\whatsapp-web.js\src\Client.js:1044:16) 0|app | at async Client.isRegisteredUser (C:\xampp\htdocs\wagw\node_modules\whatsapp-web.js\src\Client.js:1030:24) 0|app | at async C:\xampp\htdocs\wagw\app.js:215:30

Expected behavior

Not supposed to show error and working properly

Steps to Reproduce the Bug or Issue

Install as usual method, but it doesn't happen on other WhatsApp Gateway, only this particular server that have issue

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

WhatsApp Business

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

Windows environment

Phone OS: Android

Additional context

No response

ccmks avatar Feb 11 '23 05:02 ccmks

same error too

mbnaj avatar Feb 11 '23 10:02 mbnaj

Me too, cannot send message after update

romiardisaja avatar Feb 11 '23 13:02 romiardisaja

Me too, cannot send message after update

Fixed and solved after update to latest version @v1.19.4

(https://github.com/pedroslopez/whatsapp-web.js/releases)

romiardisaja avatar Feb 12 '23 00:02 romiardisaja

How to run update?

ccmks avatar Feb 12 '23 07:02 ccmks

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 22 '23 03:05 stale[bot]

Not stale!

ccmks avatar May 22 '23 11:05 ccmks