Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

[22.04.2] Excessive Warnings #11673

Open
kozfelipe opened this issue Sep 1, 2022 · 0 comments
Open

[22.04.2] Excessive Warnings #11673

kozfelipe opened this issue Sep 1, 2022 · 0 comments
Labels
status/new New tickets

Comments

@kozfelipe
Copy link
Contributor

kozfelipe commented Sep 1, 2022

Hi, I am getting lots of warnings about non existing array keys

Centreon 22.04.2
php-fpm 8.0.22

LDAP

WARNING: Warning: Undefined array key "ldap_auto_sync" {"exception":"[object] (ErrorException(code: 0): Warning: Undefined array key \"ldap_auto_sync\" at /usr/share/centreon/www/class/centreonLDAP.class.php:975)"}

USER

$row['contact_admin']
$user["contact_id"]
$user["contact_name"]
$user["contact_alias"]
$user["contact_email"]
$user["contact_lang"]
$user['contact_autologin_key']
$user["contact_admin"]
$user["contact_location"]
$user["show_deprecated_pages"]

I am getting these very often (every 3 seconds)

PHP Warning:  Trying to access array offset on value of type bool in /usr/share/centreon/www/class/centreonACL.class.php on line 87
PHP Warning:  Trying to access array offset on value of type bool in /usr/share/centreon/www/class/centreonUser.class.php on line 87
PHP Warning:  Trying to access array offset on value of type bool in /usr/share/centreon/www/class/centreonUser.class.php on line 88
PHP Warning:  Trying to access array offset on value of type bool in /usr/share/centreon/www/class/centreonUser.class.php on line 89
PHP Warning:  Trying to access array offset on value of type bool in /usr/share/centreon/www/class/centreonUser.class.php on line 90
PHP Warning:  Trying to access array offset on value of type bool in /usr/share/centreon/www/class/centreonUser.class.php on line 91
PHP Warning:  Trying to access array offset on value of type bool in /usr/share/centreon/www/class/centreonUser.class.php on line 94
PHP Warning:  Trying to access array offset on value of type bool in /usr/share/centreon/www/class/centreonUser.class.php on line 95
PHP Warning:  Trying to access array offset on value of type bool in /usr/share/centreon/www/class/centreonUser.class.php on line 98
PHP Warning:  Trying to access array offset on value of type bool in /usr/share/centreon/www/class/centreonUser.class.php on line 99

Downtime
I am getting these very often too
PHP Warning: Undefined array key 1 in /usr/share/centreon/www/class/centreon-clapi/centreonRtDowntime.class.php on line 174

Backup
/usr/share/centreon/cron/centreon-backup-mysql.sh: line 64: output_log: command not found

API
PHP Warning: Undefined array key "u" in /usr/share/centreon/bin/centreon on line 122

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/new New tickets
Projects
None yet
Development

No branches or pull requests

1 participant