Skip to main content
Question

PHP Warning: Undefined variable $db on service-monitoring widget during export

  • February 9, 2026
  • 0 replies
  • 9 views

Stéphane LE CAËR
Forum|alt.badge.img+6

Hi,

I migrated Centreon from 23.10 to 24.10.17 on January 22. I've been notified of a problem with the export, which no longer works in Customviews.

For example, export from a service-monitoring :


/var/log/php-fpm/centreon-error.log

[09-Feb-2026 10:35:16 UTC] PHP Warning:  Undefined variable $db in /usr/share/centreon/www/widgets/service-monitoring/src/export.php on line 443

The rest of the interface works fine.

I have a development platform with the same version number on which I cannot reproduce the problem. It works fine.

Anay idea ?