Fixing error(Warning: Illegal string offset)

Created on 16 April 2017, almost 8 years ago
Updated 10 December 2024, 4 months ago

Hello,

While working with new getaways to be added to this great module I found these errors when sending nodes URL warnings showed up .. these are the msgs:

Warning: Illegal string offset 'status' in sms_handle_result() (line 242 of /Users/essamqaee/Sites/sms/sites/all/modules/smsframework/sms.module).

fixed that then this showed up later:

Warning: Illegal string offset 'message' in sms_handle_result() (line 248 of /Users/essamqaee/Sites/sms/sites/all/modules/smsframework/sms.module).
Warning: Illegal string offset 'message' in sms_handle_result() (line 249 of /Users/essamqaee/Sites/sms/sites/all/modules/smsframework/sms.module).

I've added !empty() to these vars and it sends without it showing..

the patch has it all.

Thank you

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

SMS Send to Phone

Created by

πŸ‡ΈπŸ‡¦Saudi Arabia 3ssom Riyadh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024