Ask, reply and learn. Join the community of Akaunting.
I got the following error when update to 2.1.2
The command php artisan update:finish core 1 2.1.2 2.1.1 failed.
Exit Code: 255(Unknown error)
Working directory: /home/zi/public_html/akaunting
Output:
================
Finishing update...
Application cache cleared!
In PDOConnection.php line 91:
Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatib
le with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchMo
deArgs)
Error Output:
================
PHP Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /home/zi/public_html/akaunting/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 91
Am I the only one with this issue? What is the reason? The update hasn't done successfully.
Same problem...
The command php artisan update:finish core 1 2.1.2 2.1.1 failed.
Exit Code: 255(Unknown error)
Working directory: /home/akaunt/public_html
Output:
================
Finishing update...
Application cache cleared!
In PDOConnection.php line 91:
Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatib
le with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchMo
deArgs)
Error Output:
================
PHP Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /home/akaunt/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 91
please , share with us what you do to solve this issue.
I don't have a solution so I kept the old version.
The support quality of this product is terrible - 2 weeks and no answers from developers...
It looks like they live in their own magic unreal world where Akaunting has no bugs at all :-))
Same issue here. NGINX/PHP7.4. Can't update from version 2.0.27 to 2.1.7.
The command php artisan update core 1 failed.
Exit Code: 255(Unknown error)
Working directory: /var/www/html
Output:
================
In PDOConnection.php line 70:
Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatib
le with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchMo
deArgs)
Error Output:
================
PHP Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /var/www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 70
Not able to update core!"
Turned out to be a PHP 8 issue for me. Changed my command line version to 7.4 like this "sudo update-alternatives --set php /usr/bin/php7.4" then it worked from the command line.
I had the same problem.
I downgraded the PHP version to 7.4 (in cPanel) and everything works great now.
Showing 1 to 8 of 8 discussions