claroline / Claroline

Learning management system
https://www.claroline.com
Other
315 stars 188 forks source link

PHP 8 compatibility #1602

Closed chalasr closed 3 years ago

chalasr commented 3 years ago
Q A
Bug report? yes
Version? 13.x

Platform Install/Update commands fail on PHP 8:

[console] Error thrown while running command "claroline:update". Message: "There is no active transaction" ["exception" => PDOException { …},"command" => "claroline:update","message" => "There is no active transaction"]

Related: https://github.com/symfony/symfony/pull/40336 Additionally, we have some deprecation notices triggered by the code that should be fixed as well.

maieutiquer commented 3 years ago

I tried to reproduce, but could not get past composer install --no-dev --optimize-autoloader in the Dockerfile (Prod mode):

image

Same error with just composer install inside the container itself (Dev mode):

image