Problem after updating Modules

We aplyed the license few minutes ago and then went to update some modules.
After updating some modules we are getting this error when trying to acess the web interface:

Fatal error : Uncaught Error: Call to undefined method modules\core\APPLicense::hasOnePlan() in /usr/share/vitalpbx/www/includes/addons/vitalpbx_multi_tenant.php:0 Stack trace: #0 /usr/share/vitalpbx/www/themes/vital_pbx/menu.php(0): vitalpbx\addons\vitalpbx_multi_tenant->getAllowedItems() #1 /usr/share/vitalpbx/www/themes/vital_pbx/vital_pbx.php(0): themes\vital_pbx\menu->render() #2 /usr/share/vitalpbx/www/themes/page.php(0): themes\vital_pbx\vital_pbx->render() #3 /usr/share/vitalpbx/www/themes/page.php(0): themes\page->_buildBody() #4 /usr/share/vitalpbx/www/includes/app/Core.php(0): themes\page->render() #5 /usr/share/vitalpbx/www/includes/app/Core.php(0): app\Core->_loadMainView() #6 /usr/share/vitalpbx/www/index.php(0): app\Core->run() #7 {main} thrown in /usr/share/vitalpbx/www/includes/addons/vitalpbx_multi_tenant.php on line 0

Updating the whole server should fix the issue.

apt clean all
apt update
apt upgrade -y
1 Like

Problem solved, thanks!