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

BadFunctionCallException: widgetTemplateName does not exist #86

Closed
Kixunil opened this issue Aug 6, 2019 · 3 comments
Closed

BadFunctionCallException: widgetTemplateName does not exist #86

Kixunil opened this issue Aug 6, 2019 · 3 comments
Assignees
Labels

Comments

@Kixunil
Copy link
Contributor

Kixunil commented Aug 6, 2019

Describe the bug
The app crashes with this message: BadFunctionCallException: widgetTemplateName does not exist

sensorlogger/templates/widget_dashboard.php line 114

To Reproduce
Steps to reproduce the behavior:

  1. Go to dashboard
  2. Add a widget
  3. See the widget disappear
  4. Refresh the page
  5. Page reports error, look at logs

Expected behavior
No crash

Additional context
I looked at the code and the method is indeed called but I don't see it defined anywhere.

@alexstocker
Copy link
Owner

alexstocker commented Aug 7, 2019

Thanx for reporting. This sounds like a seriouse bug. Which NC Version are you using? And can you tell me which Widget did you add?

@Kixunil
Copy link
Contributor Author

Kixunil commented Aug 9, 2019

I use the latest NC (installed few days ago) and sensorlogger from its store I picked the "Chart" widget.

For the time being, I solved it by commenting out the else branch executed by that code in the aforementioned file. It worked for a while but now it doesn't show data anymore (but maybe because I'm logging every 5 in and that's too much?)

@alexstocker alexstocker self-assigned this Oct 15, 2019
alexstocker added a commit that referenced this issue Nov 1, 2019
@alexstocker
Copy link
Owner

Fixed with https://github.com/alexstocker/sensorlogger/releases/tag/0.1.2nc. Available for download https://apps.nextcloud.com/apps/sensorlogger

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

No branches or pull requests

2 participants