Skip to content

Error when Redis sessions with the session_Start #36

@Rahe

Description

@Rahe

J'ai eu l'erreur :

[Tue Jul 29 09:02:49.945264 2025] [php:error] [pid 791835] [client 127.0.0.1:41964] PHP Fatal error:  Uncaught RedisException: NOAUTH Authentication required. in /var/www/html/web/phpwpinfo.php:58\nStack trace:\n#0 /var/www/html/web/phpwpinfo.php(58): session_start()\n#1 /var/www/html/web/phpwpinfo.php(39): PHP_WP_Info->__construct()\n#2 /var/www/html/web/phpwpinfo.php(1572): phpwpinfo()\n#3 {main}\n  thrown in /var/www/html/web/phpwpinfo.php on line 58

Je suppose qu'entourer le session_start par un try/catch permettrait d'éviter cette erreur ?

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions