Back

[SOLVED] appwrite-worker-messaging Call to a member function send() on null

  • 0
  • Self Hosted
  • Accounts
rohan
28 Oct, 2023, 13:30

Hi, im getting this error on phone auth

TypeScript
[Job] Received Job (653d0c2d8c9718.17156609).
[Job] (653d0c2d8c9718.17156609) failed to run.
[Job] (653d0c2d8c9718.17156609) Call to a member function send() on null
[Error] Type: Error
[Error] Message: Call to a member function send() on null
[Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Messaging.php
[Error] Line: 102
TL;DR
The user was getting an error "Call to a member function send() on null" while using phone authentication. The issue was due to incorrect environment variable settings. They had set it as "@MSG91" instead of "@msg91". The problem was resolved by correcting the environment variable.
Drake
28 Oct, 2023, 15:39

I don't think your environment variables are set correctly

rohan
28 Oct, 2023, 17:44

oh i had set it as @MSG91 but it was @msg91

rohan
28 Oct, 2023, 17:44

i fixed it

Drake
28 Oct, 2023, 17:45

[SOLVED] appwrite-worker-messaging Call to a member function send() on null

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more