"Cannot redeclare" class errors followed by sigfault :-(


(ojay2001) #1

Hi all,

my error_log spits out the following line (different referrers) from time to time:


PHP Fatal error:  Cannot redeclare class Event_Notification in /var/www/html/libs/Event/Notification.php on line 67, referer: http://www. ...

which is always immediately followed by the death of a child:


[notice] child pid XYZ exit signal Segmentation fault (11)

I do not see any strange behaviour inside Piwik’s GUI, so it might be no big deal. But as i am no PHP programmer i’d like to have a second opinion. Any adwises/ideas?

Thanks a lot,

OJay


(Matthieu Aubry) #2

Can you try upgrade PHP ? it sounds like a php bug


(ojay2001) #3

Hi Matt,

thanks for getting into that issue.

Unfortunately, i can’t. I’m stuck with the one from RedHat: 5.1.6 (patch level 34). Oh, and, by the way, it’s a RHEL5, in case you were wondering :slight_smile: