Question

How to solve PHP Fatal error: Uncaught TypeError: Symfony\Component\Dotenv\Dotenv::populate ?

  • 26 April 2023
  • 0 replies
  • 219 views

Badge +2

Hello, i just wanted to be sure that centreon is installed but when i do centreon -v,
i see this logs:

PHP Warning:  Undefined global variable $conf_centreon in /usr/share/centreon/config/bootstrap.php on line 57
PHP Fatal error: Uncaught TypeError: Symfony\Component\Dotenv\Dotenv::populate(): Argument #1 ($values) must be of type array, null given, called in /usr/share/centreon/config/bootstrap.php on line 57 and defined in /usr/share/centreon/vendor/symfony/dotenv/Dotenv.php:187
Stack trace:
#0 /usr/share/centreon/config/bootstrap.php(57): Symfony\Component\Dotenv\Dotenv->populate(NULL)
#1 /usr/share/centreon/bin/centreon(42): require_once('/usr/share/cent...')
#2 {main}
thrown in /usr/share/centreon/vendor/symfony/dotenv/Dotenv.php on line 187

Does anyone already see this error ?


0 replies

Be the first to reply!

Reply