Closed paulvt closed 4 days ago
Also reported on the forum: https://help.nextcloud.com/t/error-log-image-not-found-image-png-webroot/187094/3
The code that causes the error:
private function setIcon(IEvent $event): void {
$path = $this->urlGenerator->imagePath(
Application::APP_ID,
'circles.' . $this->activityManager->getRequirePNG() ? 'png' : 'svg'
);
$event->setIcon($this->urlGenerator->getAbsoluteURL($path));
}
private function setIcon(IEvent $event): void {
$extension = $this->activityManager->getRequirePNG() ? 'png' : 'svg';
$path = $this->urlGenerator->imagePath(
Application::APP_ID,
'circles.' . $extension
);
$event->setIcon($this->urlGenerator->getAbsoluteURL($path));
}
I was looking in to the source code and It appears that they have already fixed the bug using a different version from the provided fix above. You can either use my version or simply wait for an update. I believe both versions should work. 🤗
Fixed in #1544 / #1620
Once you created and deleted a circle (via the Contacts) app, the Activity app cannot be used any more.
Steps to reproduce:
The overview now spams "Could not load activities" messages (very quickly).
This is Circles app version 28.0.0 on Nextcloud 28.0.4.1. Installed via Docker (community) on PHP 8.2/Apache with PostgreSQL as database.
Exception in the logs: