IT FAILS - Upgrading from FreePBX-Distro-6.12.65-100 to FreePBX-Distro-10.13.66-5

Can anyone help?

After upgrading my good working PBX to the latest version, it broke: I did not skip versions in between.

then later, I get this error when trying to go to the web interface:

FATAL ERROR

unknown type: []

Trace Back

/var/www/html/admin/libraries/BMO/Freepbx_conf.class.php:1163 die_freepbx()
[0]: unknown type: []

/var/www/html/admin/libraries/BMO/Freepbx_conf.class.php:243 FreePBX\Freepbx_conf->_prepare_conf_value()
[0]: FALSE
[1]:
[2]:
[3]:

/var/www/html/admin/libraries/BMO/Self_Helper.class.php:125 FreePBX\Freepbx_conf->__construct()

/var/www/html/admin/libraries/BMO/Self_Helper.class.php:51 FreePBX\Self_Helper->autoLoad()
[0]: Freepbx_conf

/var/www/html/admin/bootstrap.php:161 FreePBX\Self_Helper->__call()
[0]: Freepbx_conf

/var/www/html/admin/bootstrap.php:161 FreePBX->Freepbx_conf()

/etc/freepbx.conf:9 require_once()
[0]: /var/www/html/admin/bootstrap.php

/var/www/html/admin/config.php:103 include_once()
[0]: /etc/freepbx.conf