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…
Add table
Add a link
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.logof the directory:There are also a lot of errors in the
cron.logandapp.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/negotiation2.0 , which is required bygofabian/negotiation-middleware0.1.3 from 'composer.json' doesn't support php 8, whilewilldurand/negotiation3 does.Hmm, a few things:
gofabian/negotiation-middlewarelibrary doesn't seem to be maintained anymore.willdurand/negotiationversion 3 is not recommended for production use.The smallest footprint action we can take to fix this would be to fork the
negotiation-middlewarelibrary over here and bump thewilldurand/negotiationrequirement to^3.0and cross our fingers?Closed by #96