Fatal error: Uncaught TypeError: file_put_contents(): Argument #1 ($filename) must be of type string, array given in /var/app/current/web/newux/controllers/index_chat.php:160 Stack trace: #0 /var/app/current/web/newux/controllers/index_chat.php(160): file_put_contents() #1 /var/app/current/web/newux/autoload.php(703): include('...') #2 /var/app/current/index.php(13): include_once('...') #3 {main} thrown in /var/app/current/web/newux/controllers/index_chat.php on line 160