question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Evaluation failed: TypeError: msg.quotedMsgObj is not a function

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Error: Evaluation failed: TypeError: msg.quotedMsgObj is not a function at puppeteer_evaluation_script:3:24 at ExecutionContext._evaluateInternal (C:\Users\rendy\OneDrive\Desktop\kuhong-bot-v3\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:221:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async ExecutionContext.evaluate (C:\Users\rendy\OneDrive\Desktop\kuhong-bot-v3\node_modules\puppeteer\lib\cjs\puppeteer\common\ExecutionContext.js:110:16) at async Message.getQuotedMessage (C:\Users\rendy\OneDrive\Desktop\kuhong-bot-v3\node_modules\whatsapp-web.js\src\structures\Message.js:307:27) at async Object.handler (C:\Users\rendy\OneDrive\Desktop\kuhong-bot-v3\main.js:1748:18)

Expected behavior

Steps to Reproduce the Bug or Issue

When the <Message>.getQuotedMessage() function called

Relevant Code

Browser Type

Google Chrome

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

OS: Windows 10 Enterprise whatsapp-web.js version: 1.18.3 (latest) WhatsApp Web Version: 2.2244.6 Node.js Version: 16.17.1

Additional context

No response

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:6
  • Comments:21 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
pedroslopezcommented, Nov 26, 2022

Thanks for reporting, this issue has now been fixed in v1.18.4.

2reactions
smilingOrangecommented, Nov 23, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Evaluation failed: TypeError: e.isLid is not a function · ...
I got an error like this today.. yesterday was fine. Error: Evaluation failed: TypeError: e.isLid is not a function at Object.t.queryExists [ ...
Read more >
Error: Evaluation failed: TypeError: Cannot read properties ...
i have a problem on heroku: Error: Evaluation failed: TypeError: Cannot read properties of undefined ( ...
Read more >
whatsapp-web.js
Error : Evaluation failed: _; TypeError: Cannot read property 'evaluate' of null ... quotedMsgObj is not a function when message is of type...
Read more >
Reviewing Build 565 • storybookjs/design-system
View latest build. Error stack trace View in Storybook. Error: Evaluation failed: TypeError: original is not a function at finalStoryFn ...
Read more >
open-wa/wa-automate-nodejs (Raised $1.00)
TypeError : t.split is not a function ... Send Message function not working ... Error: Evaluation failed: TypeError: Cannot read property 'default' of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found