Closed mlukac89 closed 6 years ago
This is a error check image, it happens when you try to send message http://prntscr.com/jx9zm3
Error is output on those 3 variables
$user_name = $tst_msg->name; //sender name
$user_message = $tst_msg->message; //message text
$user_color = $tst_msg->color; //color
When you are change it to
$user_name = $tst_msg['name']; //sender name
$user_message = $tst_msg['message']; //message text
$user_color = $tst_msg['color']; //color
then it works
Changed code that was causing error in console