504 error on ?page=msg (more than 999 messages)
Summary
Since we are on the new server onion with new MariaDB version 10.5.15 the page ?page=msg cannot be loaded without errors.
Steps to reproduce
Open ?page=msg and have more that 999 messages
What is the current bug behavior?
the page is broken
What is the expected correct behavior?
the page should load
Relevant error messages and/or screenshots
- 504 Gateway Timeout
- https://sentry.io/organizations/foodsharing-ev/issues/3636364038/?project=1400917&query=is%3Aunresolved+Message&statsPeriod=14d
Possible fixes
@martincodes-de has implemented a hotfix without git, directly on the server.
src/Modules/Message/MessageControl.php line 44
$data = $this->messageTransactions->listConversationsWithProfilesForUser($this->session->id(), 999);
Edited by Christian Walgenbach