PHP Classes

Help witch Whatsapp api

Recommend this page to a friend!

      PHP WhatsApp API  >  All threads  >  Help witch Whatsapp api  >  (Un) Subscribe thread alerts  
Subject:Help witch Whatsapp api
Summary:Error with classess
Messages:2
Author:Nethome
Date:2023-01-21 08:21:21
 

  1. Help witch Whatsapp api   Reply   Report abuse  
Picture of Nethome Nethome - 2023-01-21 08:21:21
Hi,
we have some problems with whatsapp classes.
We have try with many versions of php but we have always error

[Fri Jan 20 09:14:11.092538 2023] [proxy_fcgi:error] [pid 6577:tid 140351796926208] [client 195.32.122.159:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Mateodioev\\WhatsappApi\\Api::send(): Return value must be of type stdClass, Mateodioev\\Utils\\fakeStdClass returned in /home/netpnet/domains/netparking.net/public_html/whlib/vendor/phpclasses/php-whatsapp-api/src/Api.php:47\nStack trace:\n#0 /home/netpnet/domains/netparking.net/public_html/whlib/vendor/phpclasses/php-whatsapp-api/src/Messages.php(63): Mateodioev\\WhatsappApi\\Api->send()\n#1 /home/netpnet/domains/netparking.net/public_html/whlib/demo.php(15): Mateodioev\\WhatsappApi\\Messages->sendText()\n#2 {main}\n thrown in /home/netpnet/domains/netparking.net/public_html/whlib/vendor/phpclasses/php-whatsapp-api/src/Api.php on line 47'

Can you explayn us for error please?

Thanks you very much for you support

  2. Re: Help witch Whatsapp api   Reply   Report abuse  
Picture of Claudio Caetano Claudio Caetano - 2024-01-09 20:40:36 - In reply to message 1 from Nethome
Hi. Having the same error... I´ve installed PHP 8.