# Icinga2 vSphere Modul Error

**URL:** <https://community.icinga.com/t/icinga2-vsphere-modul-error/15401>\
**Category:** Icinga Director\
**Tags:** icingaweb2, icinga2\
**Created:** [April 3, 2026, 8:23am UTC](https://community.icinga.com/t/icinga2-vsphere-modul-error/15401 "2026-04-03T08:23:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuperMcChicken](https://community.icinga.com/letter_avatar_proxy/v4/letter/s/e19adc/32.png) [@SuperMcChicken](https://community.icinga.com/u/SuperMcChicken)\
**Post date:** [April 3, 2026, 8:23am UTC](https://community.icinga.com/t/icinga2-vsphere-modul-error/15401/1 "2026-04-03T08:23:43Z")

</div>

```auto
Hello everyone,

I'm currently trying to install Icinga2 with vSphere integration. Unfortunately, I keep encountering the same error. After creating the database and installing the necessary programs, an error message always appears when I try to configure vCenter:
Fatal error: Declaration of Evenement\EventEmitterTrait::on($event, callable $listener) must be compatible with ipl\Html\HtmlDocument::on($event, callable $listener): Icinga\Application\ClassLoader in/usr/share/icinga-php/vendor/vendor/evenement/evenement/src/EventEmitterTrait.phpon line28
I have do the Installation over the originel intruduction from icinga 2

https://icinga.com/docs/get-started/latest/
https://icinga.com/docs/icinga-vsphere-integration/latest/doc/01-Installation/

I hope you can help me

```

---

<div class="post-metadata">

**Author:** ![moreamazingnick](https://community.icinga.com/user_avatar/community.icinga.com/moreamazingnick/32/7725_2.png) [@moreamazingnick](https://community.icinga.com/u/moreamazingnick)\
**Post date:** [April 3, 2026, 9:09am UTC](https://community.icinga.com/t/icinga2-vsphere-modul-error/15401/2 "2026-04-03T09:09:50Z")

</div>

> [@Module vspheredb 1.8.0 doesnt work after upgrade icinga from 2.12.6 to 2.13.0](https://community.icinga.com/t/module-vspheredb-1-8-0-doesnt-work-after-upgrade-icinga-from-2-12-6-to-2-13-0/15399/2):
>
> please reformat your post and/or remove chars that format your post. and till then: Good catch, vspheredb or incubator or icinga-php-legacy is not compatible with the current icinga-php-library I couldn’t reproduce your issue but this endpoint produces this output: /icingaweb2/vspheredb/configuration/servers Fatal error : Declaration of Evenement\EventEmitterTrait::on($event, callable $listener) must be compatible with ipl\Html\HtmlDocument::on($event, callable $listener): Icinga\Applicatio…

and in the mean time:

the vspheredb module still works with  
icingaweb2 2.12.6  
Icinga PHP Library 0.18.1  
if you use icingadb-web you need v1.3.1 instead of 1.4.0

---

<div class="post-metadata">

**Author:** ![SuperMcChicken](https://community.icinga.com/letter_avatar_proxy/v4/letter/s/e19adc/32.png) [@SuperMcChicken](https://community.icinga.com/u/SuperMcChicken)\
**Post date:** [April 3, 2026, 12:31pm UTC](https://community.icinga.com/t/icinga2-vsphere-modul-error/15401/3 "2026-04-03T12:31:41Z")

</div>

Thank you for your fast feedback. How do install with this version that you wrote? I got only error massages that cant find in the repo.

---

<div class="post-metadata">

**Author:** ![moreamazingnick](https://community.icinga.com/user_avatar/community.icinga.com/moreamazingnick/32/7725_2.png) [@moreamazingnick](https://community.icinga.com/u/moreamazingnick)\
**Post date:** [April 3, 2026, 7:35pm UTC](https://community.icinga.com/t/icinga2-vsphere-modul-error/15401/4 "2026-04-03T19:35:25Z")

</div>

that depends on your distribution.
