You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit an existing phone number, select multiple groups to add the phone number. Click "submit" causing the following error.
Fatal error: Uncaught Error: [] operator not supported for strings in /opt/playsms-1.4.3/web/plugin/feature/phonebook/phonebook.php:394 Stack trace: #0 /opt/playsms-1.4.3/web/inc/app/main.php(33): include_once() #1 /opt/playsms-1.4.3/web/index.php(34): include('/opt...') #2 {main} thrown in /opt/playsms-1.4.3/web/plugin/feature/phonebook/phonebook.php on line 394
Solution: Edit line 364 //$maps = ''; $maps=array();
The text was updated successfully, but these errors were encountered:
Like you wrote, quick-fix is to replace $maps = ''; with $maps = [];;
This fixes the error message. But there is probably some bigger conceptional error. Because when I export whole phonebook, having multiple groups results in user is export multiple times. Import of this exported CSV causes that contact is not imported as one in multiple groups BUT multiple separated contacts.
Too bad that it is not possible to send messages to "tags", they could be more suitable to do such thing.
Edit an existing phone number, select multiple groups to add the phone number. Click "submit" causing the following error.
Fatal error: Uncaught Error: [] operator not supported for strings in /opt/playsms-1.4.3/web/plugin/feature/phonebook/phonebook.php:394 Stack trace: #0 /opt/playsms-1.4.3/web/inc/app/main.php(33): include_once() #1 /opt/playsms-1.4.3/web/index.php(34): include('/opt...') #2 {main} thrown in /opt/playsms-1.4.3/web/plugin/feature/phonebook/phonebook.php on line 394
Solution: Edit line 364
//$maps = ''; $maps=array();
The text was updated successfully, but these errors were encountered: