Problems with Playsms and PHP7.1

Hello,

I got the following problem:

I’ve installed playsms with this tutorial:

Lets take a look in the nginx log:
tail -f /var/log/nginx/error.log

2018/03/29 09:51:26 [notice] 2339#2339: signal process started
2018/03/29 09:54:50 [error] 2340#2340: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function themes_submenu(), 0 passed in /var/www/html/playsms/plugin/themes/common/fn.php on line 23 and exactly 1 expected in /var/www/html/playsms/plugin/core/themes/fn.php:39
Stack trace:
#0 /var/www/html/playsms/plugin/themes/common/fn.php(23): themes_submenu()
#1 /var/www/html/playsms/lib/fn_core.php(192): common_hook_themes_apply('<table width='1...')
#2 /var/www/html/playsms/plugin/core/themes/fn.php(32): core_hook('common', 'themes_apply', Array)
#3 /var/www/html/playsms/inc/app/main.php(39): themes_apply('<table width='1...')
#4 /var/www/html/playsms/index.php(34): include('/var/www/html/p...')
#5 {main}
  thrown in /var/www/html/playsms/plugin/core/themes/fn.php on line 39" while reading response header from upstream, client: 172.16.31.7, server: _, request: "GET /playsms/index.php?app=main&inc=core_auth&route=login HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "X.X.X.X"

All what I get is a blank site.

Any ideas?

Best regards
itelio

Hi,

Please try playSMS 1.4.2, there is a fix for this.

Anton