Skip to content

window.require(...).canCheckStatusRankingPosterGating is not a function #201761

@danieldwipaska

Description

@danieldwipaska

Issue Description

while the app is running, sometimes it sends an error like this:

TypeError: window.require(...).canCheckStatusRankingPosterGating is not a function window.WWebJS.sendMessage

Reproduction Steps

this is an intermittent issue.

  1. Start the app
  2. Complete the authentication if you have not done
  3. Keep the app running
  4. The error sometimes comes up

Code Sample

User Setup

WhatsApp Type
Account Type WhatsApp Business
Authentication Strategy LocalAuth
WhatsApp Web Version 0000000
whatsapp-web.js Version 1.34.7
Environment Version
Browser Type Chrome
Browser Version 146.0.7680.31
Phone OS Version Android 12
Running OS Version MacOS 26
Node.js Version 18.19.0

Checklist

  • I use the latest released version of whatsapp-web.js.
  • I have searched existing issues and confirmed this is not a duplicate.
  • I have verified this is a library issue, not a problem with my code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is brokenissued lowLow impact issuetypingsType definitions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions