Unable to finish Sonata Billing module wizard

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/

Hi @WEBudo,

You can try uninstalling the add-on and removing its database. To remove the database, you have to use the Linux CLI.

mysql -uroot -e"drop database sonata_billing"

After accomplished the steps above, try to re-install the add-on.

Additionally, if your networks has some kind of proxy or security policies, make sure that are not affecting the installation wizard.