Module installed through the GUI without reporting any issues.
When accessing it the first time, it runs a wizard in which I enter the MySQL root’s password and the database host. Then asked for the company name and timezone, but when clicking on “next” button, it hangs and never returns any errors or progress.
When inspecting the browser’s console/network I get the following:
Apache logs show the following error:
PHP Fatal error: Uncaught Error: Call to a member function prepare() on boolean in /usr/share/sonata/billing/www/core/components/database/db.php:0\nStack trace:\n#0 /usr/share/sonata/billing/www/core/components/database/db.php(0): components\database\db->__construct(‘select\n\t\t\t\tcolu…’, Array, Object(Closure))\n#1 /usr/share/sonata/billing/www/core/components/database/schema.php(0): components\database\db::query(‘select\n\t\t\t\tcolu…’, ‘sonata_billing’, ‘countries’)\n#2 /usr/share/sonata/billing/www/core/components/database/schema.php(0): components\database\schema->__construct(‘sonata_billing’, ‘countries’, ‘countries’)\n#3 /usr/share/sonata/billing/www/modules/settings/models/country.php(0): components\database\schema::get(‘countries’)\n#4 /usr/share/sonata/billing/www/core/components/database/persistent.php(0): modules\settings\models\country->tables()\n#5 /usr/share/sonata/billing/www/modules/core/core.php(0): modules\settings\models\country::find(‘iso’, ‘usa’)\n#6 /usr/share/sonata/billing/www/modules/core/core.php(0): in /usr/share/sonata/billing/www/core/components/database/db.php on line 0, referer: https://10.4.6.190/billing/