Need Help to install Xibo on ubuntu

I am trying to install xibo on to ubuntu 18 with apache2 server version 2.4.29.

my Directory structure is /var/www/noticeboard/web
when i enter the 192.168.10.18/noticeboard in browser it takes me to 192.168.10.18/noticeboard/install/ with a blank page.

So i enable the error logging in index.php it gives me this error
Fatal error: Uncaught Error: Call to undefined function __() in /var/www/noticeboard/cache/46/46f6d206d9494ec46cfd582e731e4c444fe17e495c5163454b9f6e3d1a719b29.php:70 Stack trace: #0 /var/www/noticeboard/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_e386458fd80bfd6552562ce934577db7b11a84e4e7065727d4c9fab53d71b6be->doDisplay(Array, Array) #1 /var/www/noticeboard/vendor/twig/twig/lib/Twig/Template.php(403): Twig_Template->displayWithErrorHandling(Array, Array) #2 /var/www/noticeboard/cache/f9/f9284efc2b13efc667595be1cc165439e17011fd400191b3476594bda3109a25.php(28): Twig_Template->display(Array, Array) #3 /var/www/noticeboard/vendor/twig/twig/lib/Twig/Template.php(432): __TwigTemplate_f7fa301c89afa3d5eb86ea74365500c95a0b238e307a30fc92e2eeb622a3be9b->doDisplay(Array, Array) #4 /var/www/noticeboard/vendor/twig/twig/lib/Twig/Template.php(403): Twig_Template->displayWithErrorHandling(Array, Array) #5 /var/www/noticeboard/vendor/twig/twig/lib/Twig/Template.php(411): Twig_Template->display(Array) #6 /var/www/noticeboa in /var/www/noticeboard/cache/46/46f6d206d9494ec46cfd582e731e4c444fe17e495c5163454b9f6e3d1a719b29.php on line 70

All the xibo files and folders are in /var/www/noticeboard
premission for all the folders

user root (create and delete)

group www-data (create and delete)

others (create and delete)

for files its read and write.

What might be the problem

Thank you.

I’d guess that this is the problem - https://github.com/xibosignage/xibo/issues/1578
You can apply the patch mentioned in that issue and it should work.