Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.3k views
in Q2A Core by
closed by

please help me! This is my website

Q2A version: 1.8.5
closed with the note: Problem solved! Problem was in qa-config.php
by
You must tell more about what you did with avatar settings, or related plugins, or blob table, or image folders or some other activities. For example, you move images to disk, but you accidentally delete it. You may install a plugin to change avatars but the files are unreadable, or you install an outdated plugin in which the avatar code is no longer supported.
by
Log in with your account and see if you can change your avatar. You can't solve if you don't know what causes.
by
When I updated to PHP 8, I got the same problem in my Q2A site (version 1.8.5). PHP’s GD extension now uses `GdImage` objects,  instead of `resource`s. More information about this issue can be found in the following answer:
https://www.question2answer.org/qa/91597/why-cant-users-upload-their-avatars?show=91598#a91598
But there are other PHP-8-related issues going on, check out his answer as well:
https://www.question2answer.org/qa/91602/mod_fcgid-stderr-php-fatal-error-uncaught-typeerror

1 Answer

0 votes
by
You installed a plugin that requires users to fill in profile details including an avatar but you didn't create a default user avatar or you did it wrongly.
by
No brother! My site had a default avatar and it was all right yesterday. And I use chat plugin, it was working right. But now, if I send message, that says server error.
by
At least you should tell which type of server error it is!!
by
There is a file named error_log in your installation folder. Maybe, the information in there can help other people solve your problem.
by
Thanks. I am working on it!
by
It seems you are struggling. Better contact your hosting provider to restore your backup site before it's too late.
by
I have solved the problem, brother!
The problem was in qa-config.php
I put a wrong code. Yesterday, I found the mistake and solved. Thank you again!
...