Hi everyone!
I am trying to run Bareos Webui 20 without much success. It is giving me the following error:
Fatal error: Uncaught Error: Call to
undefined function _() in
/usr/local/www/bareos-webui/module/Application/config/module.config.php:126Stack
trace:
#0
/usr/local/www/bareos-webui/module/Application/Module.php(56):
include()
#1
/usr/local/www/bareos-webui/vendor/zendframework/zend-modulemanager/src/Listener/ConfigListener.php(126):
Application\Module->getConfig()
#2 [internal function]:
Zend\ModuleManager\Listener\ConfigListener->onLoadModule(Object(Zend\ModuleManager\ModuleEvent))#3
/usr/local/www/bareos-webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(444):
call_user_func(Array, Object(Zend\ModuleManager\ModuleEvent))
#4
/usr/local/www/bareos-webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(205):
Zend\EventManager\EventManager->triggerListeners('loadModule',
Object(Zend\ModuleManager\ModuleEvent), NULL)
#5
/usr/local/www/bareos-webui/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(174):
Zend\EventManager\EventManager->trigger('loadModule',
Object(Zend\ModuleManager\Mod in /usr/local/www/bareos-webui/module/Application/config/module.config.php
on line 126
This puzzles me, because it used to work in the past.
Can anyone give me a hint on where to look to fix it? I have searched online and the closest I got was to an old email list that mentions the need to have install php56-gettext. Version 20 requires PHP74 and my system has 'php74-gettext' installed.
Any hints would be appreciated! Thanks!
Marcelo