Closed (fixed)
Project:
New Relic
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2011 at 23:19 UTC
Updated:
17 Feb 2011 at 22:34 UTC
Hello - I enabled the module and setup with basic information. I have a lite version that has been running for about a month now.
I added around 8 URLs to the exclude and put in my API key.
When I goto reports, I get this error.
Warning: Missing argument 2 for variable_get(), called in /var/www/production/sites/all/modules/utility/new_relic_rpm/new_relic_rpm.reports.inc on line 9 and defined in variable_get() (line 615 of /var/www/production/includes/bootstrap.inc).
Warning: Invalid argument supplied for foreach() in new_relic_rpm_render_health() (line 84 of /var/www/production/sites/all/modules/utility/new_relic_rpm/new_relic_rpm.reports.inc).
Warning: Invalid argument supplied for foreach() in new_relic_rpm_render_health() (line 118 of /var/www/production/sites/all/modules/utility/new_relic_rpm/new_relic_rpm.reports.inc).
Comments
Comment #1
soyarma commentedI'll take a look at this, I had warnings off on my dev box when I put this together, so it's likely something that isn't broken, just not optimally coded.
Comment #2
soyarma commentedI think this may be due to the fact that a lite account can't get some of the reporting items I am trying to pull. I'll work that into the module to check the new relic account and retrieve reports accordingly.
Comment #3
jmarkantes commentedEDIT:
You can ignore my last issue, it was a problem on our end with memcache interfering with form values. Thank you!
Jason
Ignore this old post:
I'm getting the same error. For some strange reason, when I entered the API key the first time, it didn't save it. It did save finally around the 3rd try. Adding to the strangeness, when I try to save any other settings (such as changing cron to a background task) is never saves it. I'm also seeing the same errors in my log that Jason Ruyle mentioned above.
We're using the Gold version of New Relic, so I don't think it has to do with the reports available.
I also notice that the version available here is from Jan 2nd, and this issue was filed afterwards. Is there an updated version available at all?
Looking forward to trying this out, thanks again for your work!
Cheers,
Jason
Comment #4
soyarma commentedCool, glad to know its A OK.