Simple Chat Using WebSocket and PHP Socket
  • Null username and message

  • Asked by Dharma on 16th Nov 2017

Hi,

This is a good article by the way. I found an issue, it frequently displaying null username and message on the message box. And at the server. script that running on shell it displaying message : Notice: Trying to get property of non-object in D:\xampp\htdocs\maca_group_chat\server.php on line 52 Notice: Trying to get property of non-object in D:\xampp\htdocs\maca_group_chat\server.php on line 53 Notice: Trying to get property of non-object in D:\xampp\htdocs\maca_group_chat\server.php on line 54

    Add Answer

    2 Answers

    1. And at the server. script that running on shell it

      • my_inline_code()

        Link Text Here

        • 1
        • 2
        / //

        [Link Text Here](http://

        • 1
        • 2
        //your code block //goes here

        /)

        @[jsfiddle]()

        Link Text Here

        @[jsfiddle](

        my_inline_code()

        Can You Answer this? Help us answer the question!

          • Answer
          Supports basic Markdown syntax.