-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat are empty #6
Comments
Same. I'm experiencing the same issue. |
Please fix @Hostname47 |
@spcyurie , @DanTech2002 Sorry for late response, |
I tried on PHP 7.4.33. I got this error, but the database is working fine now. @Hostname47 |
The version of PHP used in this project is 7.4, XAMPP version does not matter, as long as the apache server is running, the problem is not from the server software. Now that the database is filled, you can investigate the layout/chat/ChatComponent and see why the message is not there, It's a long time ago since I realized this project. Try to echo the message and the parent component until you find the error |
I tried echoing it and here's the error "bool(false) boolean". I'm using the code "var_dump($message); echo gettype($message). Can you fix this for me bro? I can't fix this. I'm new on PHP programming language. @Hostname47 |
I tried also on PHP 8.2. In PHP 8.2, it shows "object(stdClass)#10 (6) { ["id"]=> int(54) ["message_creator"]=> int(1) ["message"]=> NULL ["create_date"]=> string(19) "2023-05-08 23:41:51" ["is_reply"]=> NULL ["reply_to"]=> NULL } object" but in PHP 7.4, it shows "bool(false) boolean". |
PHP 8 has lot of breaking changes, that's because some things in previous versions are not longer working in newer version. Think about that as a requirement: Go to chat page (chat.php) and try to figure out what is wrong there. Because in ChatComponent, it wasn't able to get the message and id, because either the parent object is null or undefined. I'll try to find some time and check what's wrong, because as far as I can remember, The whole project was working on my side when I was working on it |
The text was updated successfully, but these errors were encountered: