I've installed past. The following modules are enabled: past, past log grabber, past database backend.
whenever I check "Log watchdog to past event log" on the module options, I can see the messages logged on the past event log, but
I get the following error on function _past_error_array_to_event():
Notice: Undefined index: %type in sites/all/modules/past/past.module on line 322
Notice: Undefined index: %function in sites/all/modules/past/past.module on line 323
Notice: Undefined index: %file in sites/all/modules/past/past.module on line 324
Notice: Undefined index: %line in sites/all/modules/past/past.module on line 324
Notice: Undefined index: severity_level in sites/all/modules/past/past.module on line 325
Putting dsm($error) inside the function shows that $error is an empty array.
The errors are printed on the top of EVERY page on the site. They are printed even when no PHP error logging is off.
Otherwise it works great!
Comments
Comment #0.0
druvision commentedOtherwise it works great
Comment #1
druvision commentedComment #2
s_leu commentedWas able to reproduce it, here's a patch for it
Comment #3
berdirA test would be pretty easy to implement here, let's add one.
Comment #5
berdir#2: php_errors_notices-2060169-2.patch queued for re-testing.
Comment #6
berdirMissing a test :)
Comment #7
s_leu commentedOk once again with a test
Comment #8
berdirNo need for a drupalGet() here.
When writing regression tests, include a test-only.patch that proves that the test fails against the current code base.
Comment #9
s_leu commentedComment #10
berdirPerfect, committed and pushed.
Comment #11.0
(not verified) commentedThe errors are printed on the top of EVERY page on the site.