-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'getProfilePicFull') #1356
Comments
Yes, the function has changed. Now it's another. |
I think it is now called: Just change this in Injected.js |
just comment the line until the error fixed |
It works thanks! |
I change this in injected.js,but it still evaluation failed: |
same error here |
it works when I update the latest version |
Which version have you updated, by the way? I am using "whatsapp-web.js": "^1.16.4", |
|
My fix will work with latest version but will fail with previous versions. In case you want to be sure it won't fail, just comment the line as someone has suggested until we all have the latest whatsapp version... |
Man, I would say that most of the problems are not too relevant, however, if you wanna minimize some of them, keep all messages controlled by some third party like RabbitMQ..... If you do that, you will "guarantee" that messages will be delivered once the application is back to work. Of course that you have to make sure to be notified when your app is down, so what I have done, is send messages to myself for each client, once I don't get any some of them, my status app send a pop-up notification, and send an email as well. I have been using https://uptimerobot.com/ |
Can you share your whatsapp version. I think i have the latest but still it doesn't work. I commented it out for the time being and it works but still want to know why it didnt work. |
Yes, for while it has been working. @JohnYepthomi @ItsMisa Thanks |
Hi all, I created a fix for this problem, here is the PR: #1362 Please test and let me know if the problem persists. |
It is working, thank you so much!!! |
Well we have something in common here, Almost every week the library changes, how many of you guys have this bot in production? I do. |
I do too We certainly have something in common. Whatsapp-web.js and puppter always have a problem in production and I make use of this API. Too much headache. For this case, I was able to resolve this by following this solution: I thank the community for the help! |
That will not solve the problem. Use my PR to solve this issue correctly #1362 |
How can I extract these getProfilePic properties? |
Thanks for reporting the issue. The fix has now been released as part of v1.16.5. Please update for proper compatibility with the latest version of WhatsApp Web. |
whatsapp web js v1.16.5. is it out? |
yap just run |
It's works to me |
Is there an existing issue for this?
Describe the bug
i get this error when the session try to initiate, i guess this can come from the function of read message unread idk, anybody knows how can i fix this?.
Expected behavior
when the session restore the bot must send message to all chats unread
Steps to Reproduce the Bug or Issue
1.execute the command: node ./myproject.js
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
i am actually using:
-ubuntu
-whatsapp web BETA
Additional context
No response
The text was updated successfully, but these errors were encountered: