ltb-project / service-desk

Application for support team who need to check and reset user passwords
https://service-desk.readthedocs.io/
GNU General Public License v3.0
49 stars 19 forks source link

PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string #60

Closed coudot closed 1 year ago

coudot commented 1 year ago

With PHP 8.1, when displaying an entry:


[Tue Sep 13 14:50:17.575299 2022] [php:error] [pid 27774] [client 127.0.0.1:40204] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/service-desk/htdocs/display.php:82\nStack trace:\n#0 /usr/local/service-desk/htdocs/index.php(103): require_once()\n#1 {main}\n  thrown in /usr/local/service-desk/htdocs/display.php on line 82, referer: http://sd.example.com/index.php?page=searchlocked