SMS not sending when upgraded to PHP7
-
Hi, there,
Looks like when you upgrade to PHP7, the SMS is not getting send. You get an error in the log saying. the plugin is not compatable with PHP7
[23-May-2017 08:38:44 UTC] PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/duo/public_html/main/wp-content/plugins/gravity-forms-sms-notifications/main.php on line 164
You can fix it easily.
Just change “preg_replace” to “preg_replace_callback” in main.php file on linfe 164 and you should be able to get text message.
Thanks.
- The topic ‘SMS not sending when upgraded to PHP7’ is closed to new replies.