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

Error when installing #3

Closed
buzzzo opened this issue Aug 8, 2024 · 5 comments
Closed

Error when installing #3

buzzzo opened this issue Aug 8, 2024 · 5 comments

Comments

@buzzzo
Copy link

buzzzo commented Aug 8, 2024

When trying to install the module i've receive the following error:

Type of DotMike\NmsCustomFields\Hooks\MenuHook::$view must be string (as in class App\Plugins\Hooks\MenuEntryHook) {"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Type of DotMike\NmsCustomFields\Hooks\MenuHook::$view must be string (as in class App\Plugins\Hooks\MenuEntryHook) at /opt/librenms/vendor/dot-mike/nmscustomfields/src/Hooks/MenuHook.php:7)"}

An more in general in logs.

The error prevents the correct render of the librenms web ui (in other words it crashes librenms)

@dot-mike
Copy link
Owner

dot-mike commented Aug 8, 2024

What is your LibreNMS Version?

@buzzzo
Copy link
Author

buzzzo commented Aug 8, 2024

24.7.0-41-gb62a4bacd - Wed Aug 07 2024 04:19:50 GMT+0200

@buzzzo
Copy link
Author

buzzzo commented Aug 15, 2024

So nothing?

@notyettested
Copy link

i ran into the same issue. i then just corrected what the error messages stated (/opt/librenms/vendor/dot-mike/nmscustomfileds/src/Hooks/... change the "public view ..." parts to "public string view ...") and now it installs correctly but no Plugin shows up in the librenms WebUI.

dot-mike added a commit that referenced this issue Oct 25, 2024
@dot-mike
Copy link
Owner

dot-mike commented Oct 25, 2024

Sorry for the prolonged delay. I've taken care of this issue, thanks for reporting it!

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

3 participants