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

500 Error on creating new hostgroup #30

Open
descapital opened this issue Aug 15, 2021 · 1 comment
Open

500 Error on creating new hostgroup #30

descapital opened this issue Aug 15, 2021 · 1 comment

Comments

@descapital
Copy link

descapital commented Aug 15, 2021

As you need to create all hostgroups using the Webui, I removed all hostgroups and IP's and started adding them to the Webui. They are all there now but on some pages, like the home page I get a 500 error.

In the logs I see this:

[2021-08-15 16:31:51] production.ERROR: Call to a member function dc() on null (View: /home/xxxx/domains/fnm.xxxx.com/resources/views/home.blade.php) {"userId":1,"email":"[email protected]","exception":"[object] (ErrorException(code: 0): Call to a member function dc() on null (View: /home/xxxxx/domains/fnm.xxxxx.com/resources/views/home.blade.php) at /home/xxxxx/domains/fnm.xxxxx.com/app/Actions.php:22, Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function dc() on null at /home/xxxxx/domains/fnm.xxxxx.com/app/Actions.php:22) [stacktrace]

I think when I remove the group, it works again... any suggestions?

When I go to a direct URL like https://fnm.xxxxx.com/hostgroup it does work... only home and Dc's won't work.

@descapital
Copy link
Author

I renewed license already and did a fresh git pull, all code is clean but as soon as the function dcs is getting called, it breaks…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant