Are you using stock Docker compose setup?

I use docker compose with dynamic-php7 branch.


Describe the problem you’re having:

it was running fine since a week but suddenly my clients can’t connect anymore. so I went to the gui and got this:
E_PARSE (4) classes/diskcache.php:12 syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)

i also can’t use the unread topics because when I click on it its just spinning on the left side and not rendering the news content. checked on firefox and chrome.

tt-rss version (including git commit id):

up2date, branch: dynamic-php7

Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:

rpi 4 arm

I don’t use docker, but I saw that error this morning while running php 7.3. Updating to php 7.4 fixed it.

Looks like alpine 3.14 has php 7.4.

Should be fixed for PHP versions older than 7.4 after https://git.tt-rss.org/fox/tt-rss/pulls/55 gets merged. classes/diskcache.php was accidentally using class property typing, which is only supported on PHP 7.4+.

btw, why? no php8 on arm?

merged, thanks!

e:

oh it got released? we should probably move to 3.14 across all branches. alpine releases is one of the few things i don’t keep track of, i guess. :slight_smile:

because I’m a noob and don’t know what I’m doing? how can I update to php 8 and will I be able to use master for arm afterwards?

you switch the branch to master and that’s it.