Closed Harrykuch closed 8 months ago
Duplicate of #103 Fixed by #105
Getting still the same error after update:
ValueError - Path cannot be empty foreach() argument must be of type array|object, string given at /var/www/nextcloud/apps/dicomviewer/templates/viewer.php#12
Confirmed that we have missed to fix it in that file, will apply a fix soon.
I tested the application. The viewer is working. Thank you! 👍
Hi. I open the dicom file on my server. The error appears in a new window:
Internal Server Error The request could not be processed by the server. If this happens again, send the server administrator a detailed message about what happened below. Detailed information can be found in the server log.
Client details: Desktop Win 11 64b Chrome 123.0.6312.58 Server details: Linux raspberrypi 6.6.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 Nextcloud Hub 7 (28.0.3)
Nextcloud log: ValueError Path cannot be empty foreach() argument must be of type array|object, string given at /var/www/html/nextcloud/apps/dicomviewer/templates/viewer.php#12 foreach() argument must be of type array|object, string given at /var/www/html/nextcloud/apps/dicomviewer/lib/Controller/DisplayController.php#51
What to do?