Your php version on the server is lower than php 7.1.
Line 24 of PDOConnection:
public function __construct($dsn, $user = null, $password = null, ?array $options = null)
Related code ?array $options = null
. Nullable method argument type hinting is available since php 7.1.