PeugeotClubCZ Posted January 23, 2023 Share Posted January 23, 2023 Hi, after big update of our server and forum system we have problem with sending the mesages. When I reply someone, the reply is sent, but the site doesnt refresh a my text stays in the editor. If i try to compose new message i wil get this fault message (but the message is still sended): TypeError: htmlspecialchars(): Argument #1 ($string) must be of type string, IPS\core\Messenger\Message given (0) #0 /srv/www/peugeot-club.com/www/system/Email/Email.php(949) : eval()'d code(203): htmlspecialchars(Object(IPS\core\Messenger\Message), 131, 'UTF-8', false) #1 /srv/www/peugeot-club.com/www/system/Email/Email.php(952): IPS\Theme\email_html_core_notification_new_private_message(Object(IPS\core\Messenger\Message), Object(IPS\Email\Outgoing\Php)) #2 /srv/www/peugeot-club.com/www/system/Email/Email.php(367): IPS\_Email::template('core', 'notification_ne...', 'html', Array) #3 /srv/www/peugeot-club.com/www/system/Email/Email.php(875): IPS\_Email->compileContent('html', Object(IPS\Member), Object(IPS\Lang)) #4 /srv/www/peugeot-club.com/www/system/Notification/Notification.php(941): IPS\_Email->mergeAndSend(Array, NULL, NULL, Array, Object(IPS\Lang)) #5 /srv/www/peugeot-club.com/www/system/Notification/Notification.php(921): IPS\_Notification->sendEmails(Array, Array) #6 /srv/www/peugeot-club.com/www/applications/core/sources/Messenger/Message.php(198): IPS\_Notification->send() #7 /srv/www/peugeot-club.com/www/applications/core/sources/Messenger/Conversation.php(376): IPS\core\Messenger\_Message->sendNotifications() #8 /srv/www/peugeot-club.com/www/system/Content/Item.php(463): IPS\core\Messenger\_Conversation->processAfterCreate(Object(IPS\core\Messenger\Message), Array) #9 /srv/www/peugeot-club.com/www/system/Content/Item.php(143): IPS\Content\_Item::createFromForm(Array, NULL) #10 /srv/www/peugeot-club.com/www/applications/core/modules/front/messaging/messenger.php(490): IPS\Content\_Item::create() #11 /srv/www/peugeot-club.com/www/system/Dispatcher/Controller.php(107): IPS\core\modules\front\messaging\_messenger->compose() #12 /srv/www/peugeot-club.com/www/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #13 /srv/www/peugeot-club.com/www/applications/core/modules/front/messaging/messenger.php(67): IPS\Content\_Controller->execute() #14 /srv/www/peugeot-club.com/www/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\messaging\_messenger->execute() #15 /srv/www/peugeot-club.com/www/index.php(13): IPS\_Dispatcher->run() #16 {main} Â Cold someone help us? Thank You. Link to comment Share on other sites More sharing options...
Management Matt Posted January 23, 2023 Management Share Posted January 23, 2023 The issue looks to be outdated email templates. Check in the AdminCP for any customisations to your email notification templates. Marc 1 Link to comment Share on other sites More sharing options...
PeugeotClubCZ Posted January 23, 2023 Author Share Posted January 23, 2023 I have tried to disable every customization, even switch to default theme, but nothing helps Link to comment Share on other sites More sharing options...
Solution Jim M Posted January 23, 2023 Solution Share Posted January 23, 2023 1 hour ago, PeugeotClubCZ said: I have tried to disable every customization, even switch to default theme, but nothing helps You would need to revert your modified email templates in ACP -> Customization -> Appearance -> Emails Link to comment Share on other sites More sharing options...
PeugeotClubCZ Posted January 24, 2023 Author Share Posted January 24, 2023 Thanks a lot! That realy helps, now it works. Link to comment Share on other sites More sharing options...
Gary Posted January 24, 2023 Share Posted January 24, 2023 Hi @PeugeotClubCZ, Thanks for letting us know it worked! If you encounter any other issues, please don't hesitate to let us know. 😉 Link to comment Share on other sites More sharing options...
Recommended Posts