Only variables should be passed by reference at ../apps/memories/lib/Db/TimelineWritePlaces.php#53

After having memories app again up and running i see the following errors in my nextcloud log:

Fehler PHP Only variables should be passed by reference at /var/www/nextcloud/apps/memories/lib/Db/TimelineWritePlaces.php#53

detailed:
[PHP] Fehler: Only variables should be passed by reference at /var/www/nextcloud/apps/memories/lib/Db/TimelineWritePlaces.php#53

MOVE /remote.php/dav/uploads/USERNAME/50fb67ebdf4cb10174671e8ed0832f1a/.file
from CLIENT-IP by USERNAME at 2023-07-03T05:02:36+02:00

I reproduced that the errors occur when uploading image files to nextcloud via feature “automatic upload” offered by the e.g. nextcloud android app (my version 3.25.0 from GPlay)

The error does not occur when uploading pics e.g. via WebUI in browser.

Can anyone give a hint what goes wrong.
It’s the first time i see those errors.
The pictures are stored in nextcloud under “SofortUpload/subfolder/subfolder…” so in the destinated space. I set automatic upload to create own folders → sorted by year and month

A Bug report is generated

The solution published on github solved my problem, many thanks :grinning:

1 Like