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

PHP Fatal error: Call to a member function tossIfNoRows() #29

Closed
sqanto opened this issue Oct 9, 2012 · 5 comments
Closed

PHP Fatal error: Call to a member function tossIfNoRows() #29

sqanto opened this issue Oct 9, 2012 · 5 comments

Comments

@sqanto
Copy link

sqanto commented Oct 9, 2012

Hi;

I can not see active alarm

and get the error log

PHP Fatal error: Call to a member function tossIfNoRows() on a non-object in /home/graphite-tattle/inc/views/index.php on line 6, referer: http://graphite-tattle.example.net/user.php

there is a solution for it?

@sqanto
Copy link
Author

sqanto commented Oct 9, 2012

Cron runs
(1 * * * * php /home/graphite-taggle/processor.php)

thanks for help

@sqanto
Copy link
Author

sqanto commented Oct 10, 2012

in my db is
check_results = empty but:

http://i.imgur.com/XJ2cF.png
the check is active

hmm

@chrisdotm
Copy link
Contributor

Are you still having this issue? If so is the issue happening on the user page or the active alwets page. The error above looks like user, but what you're describing is active alerts.

@twinforces
Copy link
Contributor

I patched around it. I think the problem was related to the code for fetching alerts in pages not having an else clause if there aren't any alerts. If you look at the index.php in my fork you can see my solution.

Sent from my iPad

On Dec 12, 2012, at 5:02 AM, Chris McCoy notifications@github.com wrote:

Are you still having this issue? If so is the issue happening on the user page or the active alwets page. The error above looks like user, but what you're describing is active alerts.


Reply to this email directly or view it on GitHub.

@chrisdotm
Copy link
Contributor

Yup, I just found the exact issue and I have code I'm getting ready to commit to fix the issue.

Thanks

chrisdotm added a commit that referenced this issue Dec 12, 2012
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