kalkun-sms / Kalkun

Open Source Web based SMS Manager
https://kalkun.sourceforge.io/
GNU General Public License v2.0
211 stars 129 forks source link

Error on the dashboard in "Gammu state" field #489

Closed heaveaxy closed 1 year ago

heaveaxy commented 1 year ago

Following exceptions shows in dashboard / gammu state field:

An uncaught Exception was encountered
Type: ErrorException

Message: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated

Filename: /var/www/Kalkun_v0.8.0_forPHP8.1/application/views/main/dashboard/home.php

Line Number: 34

Backtrace:

File: /var/www/Kalkun_v0.8.0_forPHP8.1/application/views/main/dashboard/home.php
Line: 34
Function: htmlentities

File: /var/www/Kalkun_v0.8.0_forPHP8.1/application/third_party/MX/Loader.php
Line: 352
Function: include

File: /var/www/Kalkun_v0.8.0_forPHP8.1/application/third_party/MX/Loader.php
Line: 295
Function: _ci_load

File: /var/www/Kalkun_v0.8.0_forPHP8.1/application/views/main/layout.php
Line: 35
Function: view

File: /var/www/Kalkun_v0.8.0_forPHP8.1/application/third_party/MX/Loader.php
Line: 352
Function: include

File: /var/www/Kalkun_v0.8.0_forPHP8.1/application/third_party/MX/Loader.php
Line: 295
Function: _ci_load

File: /var/www/Kalkun_v0.8.0_forPHP8.1/application/controllers/Kalkun.php
Line: 51
Function: view

File: /var/www/Kalkun_v0.8.0_forPHP8.1/www/index.php
Line: 315
Function: require_once

CI_ENV = development

Additional context Add any other context about the problem here. 2023-01-31_16-23

heaveaxy commented 1 year ago

Wow, I understood. This error shows only when gammu daemon is not connected to device. So, from that pov it is not critical issue.

kingster commented 1 year ago

Thanks, but then this should be handled. I think this is an error that crept in during upgrades. Marking this issue as an bug.