Open MegaphoneJon opened 1 year ago
👍 I just hit this in another sms extension and then came here to see if it was fixed here, since the code was originally partly copied from here.
The change to org_civicrm_sms_clickatell.php worked for me on version 4.1. Is it possible to merge and release a version? @deepak-srivastava and @veda-consulting Thanks
@deepak-srivastava and @veda-consulting
Could someone please merge this change and release a new version of the extension? It doesn't work on PHP 8.1 without this fix.
Ih PHP 8.0+,
curl_init()
returns an object and not a resource, so this extension fails with a fatal error whenever you try to send an SMS.This is a PHP-agnostic solution. See also https://php.watch/versions/8.0/resource-CurlHandle#is-resource