Call to undefined method

Hi there,
this morning I was unable to access webUI, due to some permissions errors. I fixed as the UI suggested.

Now if I run validate.php, I get:

./validate.php l

In Facade.php line 221:

Call to undefined method Wpb\String_Blade_Compiler\Compilers\BladeCompiler::if()

====================================

Component Version
LibreNMS 1.48.1-218-ga6f88f6e2
DB Schema 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
PHP 7.2.15-1+0~20190209065123.16+stretch~1.gbp3ad8c0
MySQL 10.1.26-MariaDB-0+deb9u1
RRDTool 1.6.0
SNMP NET-SNMP 5.7.3

====================================

[OK] Composer Version: 1.8.4
[OK] Dependencies up-to-date.

Additional Information:
daily.sh has been executed correctly.

php -v
PHP 7.2.15-1+0~20190209065123.16+stretch~1.gbp3ad8c0 (cli) (built: Feb 9 2019 06:51:24) ( NTS )
Copyright © 1997-2018 The PHP Group

Thank you in advance.

Best regards.

Hi we have the same problem.

Hi,
i solved the problem on my server:

  • issued the command ./scripts/composer_wrapper.php install --no-dev
  • run validate.php and fixed the permissions issues;
  • the system reported no ext-gd were present
    • apt-get install php7.2-gd
  • the system reported various issues on timezone -> fixed it;
  • then I got: PHP Parse error: syntax error, unexpected ‘=’ in /opt/librenms/vendor/laravel/framework/src/Illuminate/Support/Arr.php on line 388
    • wrong php version in use:
      • a2dismod php7.0
      • a2enmod php7.2
      • service apache2 restart
        Now everything is fine.

Thanks this solved also my problem