Undefined index: subclasses

catofcheshir - March 16, 2009 - 12:13
Project:Radioactivity
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

My log is full of notices like this:

[Mon Mar 16 12:29:11 2009] [error] [client 91.192.148.231] PHP Notice: Undefined index: subclasses in /home/cat/modules6/radioactivity/radioactivity.inc on line 99
[Mon Mar 16 12:29:11 2009] [error] [client 91.192.148.231] PHP Notice: Undefined index: subclasses in /home/cat/modules6/radioactivity/radioactivity.inc on line 124

Module works but this messages confusing me.

#1

skiminki - March 17, 2009 - 07:26

In this case, those are harmless, really, but can bloat your logs. This happens because some is_set() calls are missing to suppress those warnings. Anyways, if you run production server, you should probably bump up your PHP log level into warning-level. I'm going to fix this before next release.

#2

skiminki - March 17, 2009 - 07:27

Actually, AFAICT, those aren't really even warnings but just notices.

 
 

Drupal is a registered trademark of Dries Buytaert.