eveoniris / larpManager-php

LarpManager - Live Action Role Playing Manager
GNU General Public License v3.0
14 stars 15 forks source link

fresh install not working on Ubuntu 22.04 + mariadb + php8.1 #466

Open strikegun opened 1 year ago

strikegun commented 1 year ago

init of the database is not working. `PHP Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false in /var/www/html/larpManager-php/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 86

Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs): PDOStatement|false in /var/www/html/larpManager-php/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 86`

before I updated the tecnickcom/tcpdf to 6.4., because didn't work with PHP8

Gectou4 commented 1 year ago

It's because the project is based on a 7.1 PHP, you can manage a soft update to 7.4

Another issue is opened to migrate under php 8.2^ on Symfony as the current Framework supported is over. Waiting the next LARP event in august before working on the update.