PHP Fatal error with PHP 8.3 #2154
Unanswered
petitramen-png
asked this question in
Q&A
Replies: 1 comment
-
@petitramen-png please detail your configuration/Shaarli installation method and version/OS/... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have been using Shaarli for quite some years, but I had recently to update my PHP version to 8.3 for my other websites. Since, I got a 500 error when I try to access Shaarli. On my log, here is what I have:
[02-Aug-2025 16:26:30 UTC] PHP Deprecated: Return type of LinkDB::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/whdk4898/ramenos.net/liens/application/LinkDB.php on line 171
[02-Aug-2025 16:26:30 UTC] PHP Fatal error: Uncaught Error: Shaarli\Security\LoginManager::__construct(): Argument #1 ($globals) could not be passed by reference in /home/whdk4898/ramenos.net/liens/index.php:126
Stack trace:
#0 {main}
thrown in /home/whdk4898/ramenos.net/liens/index.php on line 126
Could you please let me know what I should do? Do I need to enable a specific PHP extension on cPanel? Something else?
Thanks a lot for your help.
Beta Was this translation helpful? Give feedback.
All reactions