PHP Parse error: syntax error, unexpected token "match" #93
Labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: friendica/friendica-directory#93
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I hadn't checked the webpage of my instance of the directory for some time. Today I noticed that the page is throwing a http error 500. All I get is an empty, white page.
https://dir.libranet.de/
The PHP log is empty. But I see this in the
http.log
of the directory:There are also a lot of errors in the
cron.log
andapp.log
.Could it be that the directory doesn't work with PHP 8.1?
Directory version:
On branch stable. Your branch is up to date with 'origin/stable'.
Composer:
Nothing to install or update.
But I see a lot of deprecation notices.
PHP:
8.1.17
Apache:
2.4.56
Database:
MariaDB 10.6.12
Looks like
willdurand/negotiation
2.0 , which is required bygofabian/negotiation-middleware
0.1.3 from 'composer.json' doesn't support php 8, whilewilldurand/negotiation
3 does.Hmm, a few things:
gofabian/negotiation-middleware
library doesn't seem to be maintained anymore.willdurand/negotiation
version 3 is not recommended for production use.The smallest footprint action we can take to fix this would be to fork the
negotiation-middleware
library over here and bump thewilldurand/negotiation
requirement to^3.0
and cross our fingers?Closed by #96