License.php file cannot be found by PHP
Describe the bug: Found the error always display at the Log many times said that no such License.php found at
Error: include(): Failed opening '/var/www/nextcloud/apps/unsplash/templates/partials/license.php'
Have check the directory only found below:
- licenseUnsplash.php
- licenseWallhavenCC.php
- licenseWikimediaCommons.php
Additional logs:
I am also getting these errors in my logs. When I check the folder path specified I get the following files.
-rw-r--r-- 1 www-data www-data 451 Dec 21 06:46 licenseUnsplash.php -rw-r--r-- 1 www-data www-data 450 Dec 21 06:46 licenseWallhavenCC.php -rw-r--r-- 1 www-data www-data 341 Dec 21 06:46 licenseWikimediaCommons.phpThinking about renaming one of the to license and see what happens.
Also my splash screens are working as they should. Just getting the error logs.
EDIT: Confirmed that Im using the WallhavenCC splash screens. I made a copy of the licenseWallhavenCC.php and named it license.php. Now the errors do not exist.
https://github.com/nextcloud/unsplash/issues/113#issuecomment-1371885373 by @tonytonyistony
Thank you very much
The problem still not fixed in v26 ?
renamed licenseUnsplash.php to license.php but still have error :

Renaming alone wont help, did you also fix the permissions?
Generally, i cant really reproduce this issue because my instance (nc25) does not show this issue. I will have to investigate why that is the case. Also i will create an empty file that fixes this.
No what should i set permitions ?
getting the same errors after updating Nextcloud
Still receiving this error as of 2023-04-24

Also still have same error, not sure some one was working on fix...
I am also getting these errors in my logs. When I check the folder path specified I get the following files.