Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to modify existing trap handler #62

Open
manfredw opened this issue Nov 3, 2021 · 1 comment
Open

Unable to modify existing trap handler #62

manfredw opened this issue Nov 3, 2021 · 1 comment

Comments

@manfredw
Copy link

manfredw commented Nov 3, 2021

Get debug logs

no specific debug logs (level trace or ALL) found.

Describe the bug

Instead of updating the handler the following red error message appears:
"Error : count(): Parameter must be an array or an object that implements Countable"
I was not able to identify all JS/PHP scripts involved in this procedure.

To Reproduce

Open any existing handler and press "Update" button.
Opening of handler takes some time (3-5sec), if I use hostgroups, it also takes additional time until
service names (for hostgroups) are shown. The previous used director version 1.04 which worked.

Expected behavior

Update rule without error message.

Your Environment:

  • trapdirector version (in icinga web 2 : System - About): 1.06
  • Icinga Web 2 version and modules (in icinga web 2 : System - About): 2.9.3
  • Icinga 2 version (icinga2 --version): 2.13.1
  • Operating System and version: Linux openSUSE 15.2
  • Webserver, PHP versions: apache2, php 7.4
@Tqnsls
Copy link

Tqnsls commented Jun 29, 2022

Duplicate: #64

godrockz added a commit to godrockz/trapdirector that referenced this issue Feb 28, 2023
count(): Parameter must be an array or an object that implements Countable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants