I have freshly installed playSMS version 1.4. on centos 7 machine. Installation is OK, no issues, playsmsd also running but while browsing i got below error message, please suggest
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\nStack trace:\n#0 /var/www/html/playsms/plugin/themes/common/fn.php(23): themes_submenu()\n#1 /var/www/html/playsms/lib/fn_core.php(192): common_hook_themes_apply(’<table width=‘1…’)\n#2 /var/www/html/playsms/plugin/core/themes/fn.php(32): core_hook(‘common’, ‘themes_apply’, Array)\n#3 /var/www/html/playsms/inc/app/main.php(39): themes_apply(’<table width=‘1…’)\n#4 /var/www/html/playsms/index.php(34): include(’/var/www/html/p…’)\n#5 {main}\n thrown in /var/www/html/playsms/plugin/core/themes/fn.php on line 39
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\nStack trace:\n#0 /var/www/html/playsms/plugin/themes/common/fn.php(23): themes_submenu()\n#1 /var/www/html/playsms/lib/fn_core.php(192): common_hook_themes_apply(’<table width=‘1…’)\n#2 /var/www/html/playsms/plugin/core/themes/fn.php(32): core_hook(‘common’, ‘themes_apply’, Array)\n#3 /var/www/html/playsms/inc/app/main.php(39): themes_apply(’<table width=‘1…’)\n#4 /var/www/html/playsms/index.php(34): include(’/var/www/html/p…’)\n#5 {main}\n thrown in /var/www/html/playsms/plugin/core/themes/fn.php on line 39
I use (https://github.com/antonraharja/playSMS/blob/master/INSTALL.md) this instruction for installation, but received similar error as mentioned above. Are you have any ideas?
I have:
Centos 7.5 x64
Apache 2.4.33
php php-mysql php-cli php-mbstring php-gb php-gettext (all is have 7.2.6 version)
First, I have mysql version 5.7.22 and upgrade it to 8.0.11
Arjun thanks for answer. I ready provide you access to my server. If you use Telegram or Skype, give me your credentials and I send you test sms. Else, send me please your e-mail address and I send you temporary login credentials.
Thank you for your answers. I’ll fix it right now. You know, I have faced such a problem: via the command line SMS is sent, but through playsms is not sent.