whatsapp-web.js
whatsapp-web.js copied to clipboard
Evaluation failed: TypeError: Cannot read properties of undefined (reading 'sendRemoveParticipants')
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
0|index | Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'sendRemoveParticipants') 0|index | at pptr://puppeteer_evaluation_script:4:51 0|index | at ExecutionContext._ExecutionContext_evaluate (/root/bot/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:286:15) 0|index | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 0|index | at async ExecutionContext.evaluate (/root/bot/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:117:16) 0|index | at async GroupChat.removeParticipants (/root/bot/node_modules/whatsapp-web.js/src/structures/GroupChat.js:75:16)
Expected behavior
ban participants
Steps to Reproduce the Bug or Issue
// window.Store.Features = window.mR.findModule('FEATURE_CHANGE_EVENT')[0].LegacyPhoneFeatures;
Relevant Code
No response
Browser Type
Google Chrome
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: [e.g. Mac, Windows, Linux, Docker + Ubuntu 18, etc]
Additional context
bug
Same error with add,remover,promote,demote
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'LegacyPhoneFeatures')
Same error with add,remover,promote,demote
same error when trying to join, leave or update group name
same here
https://github.com/pedroslopez/whatsapp-web.js/issues/1920#issuecomment-1379798710
Here the solución, but if u restart app need do this another time
When you edit the LegacyPhoneFeatures, works for individual chats, but you lose the managing of Group chats.
Any solution for that?
Evaluation failed: TypeError: Cannot read properties of undefined (reading 'sendAddParticipants')
Yes same for me
I also have this error, it seems very serious, who can solve it?
works