rotdrop / nextcloud-app-dokuwiki

NextCloud "app" which embeds an existing DokuWiki instance into NextCloud. Intended for SSO.
GNU Affero General Public License v3.0
7 stars 5 forks source link

Traits cannot have constants at /usr/local/www/nextcloud/apps/dokuwiki/lib/Toolkit/Traits/ResponseTrait.php#45 #11

Open u2597511 opened 7 months ago

u2597511 commented 7 months ago

[PHP] Ошибка: Traits cannot have constants at /usr/local/www/nextcloud/apps/dokuwiki/lib/Toolkit/Traits/ResponseTrait.php#45 GET /apps/dashboard/

{"reqId":"mhQdPTaUXaG6wtqd2T8B","level":3,"time":"2024-03-22T05:31:33+00:00","remoteAddr":"192.168.2.1","user":"proteus","app":"PHP","method":"GET","url":"/apps/dashboard/","message":"Traits cannot have constants at /usr/local/www/nextcloud/apps/dokuwiki/lib/Toolkit/Traits/ResponseTrait.php#45","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 YaBrowser/24.1.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"PHP"},"id":"65fd1cccde0d5"} 
# occ -vvv status
  - installed: true
  - version: 28.0.3.2
  - versionstring: 28.0.3
  - edition:
  - maintenance: false
  - needsDbUpgrade: false
  - productname: Nextcloud
  - extendedSupport: false
rotdrop commented 7 months ago

Hi, seemingly the app now require PHP >= 8.2 which I unfortunately did not mention in appinfo/info.xml. Sorry for that.

rotdrop commented 7 months ago

I suppose commit 113797a should fix this problem. Perhaps you could the new release v1.0.3 a try ...