PDOStatement exception when trying to configure new instance

Permalink 0 0 Browser Info Environment
After pressing "Install concrete5" on fresh instance of concrete5 (installed from composer installer) I'm receiving following exception:
Whoops\Exception\ErrorException: Declaration of Concrete\Core\Database\Driver\PDOStatement::free() must be compatible with Doctrine\DBAL\Driver\PDOStatement::free(): void in file /home/www/concreteWorkplace/public/concrete/src/Database/Driver/PDOStatement.php on line 34
Stack trace:
  1. Whoops\Exception\ErrorException->() /home/www/concreteWorkplace/public/concrete/src/Database/Driver/PDOStatement.php:34
  2. Composer\Autoload\includeFile() /home/www/concreteWorkplace/vendor/composer/ClassLoader.php:322
  3. Composer\Autoload\ClassLoader->loadClass() /home/www/concreteWorkplace/public/concrete/src/Database/Connection/PDOConnection.php:23
  4. spl_autoload_call() /home/www/concreteWorkplace/public/concrete/src/Database/Connection/PDOConnection.php:23
  5. Concrete\Core\Database\Connection\PDOConnection->setAttribute() /home/www/concreteWorkplace/public/concrete/src/Database/Connection/PDOConnection.php:23
  6. Concrete\Core\Database\Connection\PDOConnection->__construct() /home/www/concreteWorkplace/public/concrete/src/Database/Driver/PDOMySqlConcrete5/Driver.php:18
  7. Concrete\Core\Database\Driver\PDOMySqlConcrete5\Driver->connect() /home/www/concreteWorkplace/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:360
  8. Concrete\Core\Database\Connection\Connection->connect() /home/www/concreteWorkplace/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:425
  9. Concrete\Core\Database\Connection\Connection->getDatabasePlatformVersion() /home/www/concreteWorkplace/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:385
 10. Concrete\Core\Database\Connection\Connection->detectDatabasePlatform() /home/www/concreteWorkplace/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:328
 11. Concrete\Core\Database\Connection\Connection->getDatabasePlatform() /home/www/concreteWorkplace/public/concrete/src/Database/Connection/ConnectionFactory.php:57
 12. Concrete\Core\Database\Connection\ConnectionFactory->createConnection() /home/www/concreteWorkplace/public/concrete/src/Install/Installer.php:101
 13. Concrete\Core\Install\Installer->createConnection() /home/www/concreteWorkplace/public/concrete/controllers/install.php:343

This also happens on other instances of concrete5 after running "composer update" command


Status: New

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

# Database Information
Version: 10.5.5-MariaDB
SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
nginx/1.19.2

# Server API
fpm-fcgi

# PHP Version
7.4.10

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, gd, hash, iconv, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, SimpleXML, SPL, standard, tokenizer, xdebug, xml, xmlreader, xmlrpc, xmlwriter, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
upload_max_filesize - 2M
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
unserialize_max_depth - 4096
xdebug.max_nesting_level - 256
xdebug.max_stack_frames - -1
xdebug.var_display_max_children - 128
xdebug.var_display_max_data - 512
xdebug.var_display_max_depth - 3

Browser User-Agent String

Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0