Playsms 1.5.0 b7 bugs report

seems to work to add new users, but for subsuers from user logged in, give me this error:

PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/storage/application/plugin/core/acl/fn.php:58

other bug:
only a contact appear when you digit 2 chars into sms compose instead all contacts containing thoose chars, ad can be solved changing this line:

into /storage/plugin/core/phonebook/fn.php, at line: 225

$items = array_unique($items);

$items = array_unique($items,SORT_REGULAR);

other strange bug, cannot see playsms log, but on playsms log folder (playsms.log) it has lines inside…

code chaned and pushed: more fix due to php8, ref:… · playsms/playsms@c902715 · GitHub


fixed ok, now when try to simulate incoming sms, log give:

PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, array given in /var/www/storage/application/plugin/core/themes/fn.php:469

fixed: php8 fix check array, ref:… · playsms/playsms@2e53923 · GitHub

well done! now I can simulate sms inbox but:
non sms inbox, no sandbox (setted on regular port: 80 now) appears blanch lists for sandbox and incoming SMS (I’ve simulated some inbox SMS…) and plugin manager page, all blanch linees, only status is visible (red/green), also cannot see playsms log into log page
no errors on httpd-error.log…

P.S:. noone else partecipate to try new beta 6 version???

just tested last 1.5.0 b6 and now all seems to work correctly!!!

Hi, I just tagged it as beta7: Release 1.5.0-beta7 · playsms/playsms · GitHub


1 Like

I pull requested to add Italian language into.