Getting error while trying to install via console

I am getting the following error trying to install multivendor via console -

PHP Fatal error: Uncaught Error: Call to undefined function Tygh\Backend\Database\mysqli_report() in /var/www/cscart/app/Tygh/Backend/Database/Mysqli.php:47
Stack trace:
#0 /var/www/cscart/app/Tygh/Database/Connection.php(252): Tygh\Backend\Database\Mysqli->connect()
#1 /var/www/cscart/install/app/Installer/App.php(829): Tygh\Database\Connection->connect()
#2 /var/www/cscart/install/app/Installer/Validator.php(224): Installer\App->connectToDB()
#3 [internal function]: Installer\Validator->isMysqlSettingsValid()
#4 /var/www/cscart/install/app/Installer/Validator.php(462): ReflectionMethod->invokeArgs()
#5 /var/www/cscart/install/app/Installer/Validator.php(483): Installer\Validator->validate()
#6 /var/www/cscart/install/app/Installer/SetupController.php(428): Installer\Validator->validateAll()
#7 [internal function]: Installer\SetupController->actionConsole()
#8 /var/www/cscart/install/app/Installer/App.php(291): ReflectionMethod->invokeArgs()
#9 /var/www/cscart/install/run.php(26): Installer\App->dispatch()
#10 /var/www/cscart/install/index.php(21): include(‘…’)
#11 {main}
thrown in /var/www/cscart/app/Tygh/Backend/Database/Mysqli.php on line 47

Hi!

Make sure that at your server the mysqli OR pdo_mysql PHP extension is installed:
https://www.php.net/manual/en/book.mysqli.php
https://www.php.net/manual/en/ref.pdo-mysql.php
And check that your server overall meets the requirements:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.