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

I have just updated my Q2A to the latest version 1.8.7. Unfortunatelly there are still problems with displaying avatars on PHP 8.x. Avatars are visible in the profile pages, but our avatar in top-right corner of the screen isn't visible. How can I fix that?

Thanks in advance for your help.
Q2A version: 1.8.7

1 Answer

+3 votes
by
selected by
 
Best answer

Sorry, I missed one of the pull requests from pupi1985 when creating 1.8.7. You can fix it by applying these changes.

Or possibly an easier way, entirely replace these two files with the code from the link:

qa-include/app/upload.php = https://raw.githubusercontent.com/q2a/question2answer/bugfix/qa-include/app/upload.php

qa-include/util/image.php = https://raw.githubusercontent.com/q2a/question2answer/bugfix/qa-include/util/image.php

by
Thank you this fixed the issue. <3
...