marius311 / cosmohome

The Cosmology@Home server.
https://www.cosmologyathome.org
17 stars 10 forks source link

Errors when hiding posts #19

Open marius311 opened 6 years ago

marius311 commented 6 years ago

From @Ageless93:

I just hid someone's post. While the forums did do the hiding, I got the following error after the hiding action:

Warning: Creating default object from empty value in /root/project/html/inc/forum_email.inc on line 40

Notice: Undefined property: stdClass::$name in /root/project/html/inc/email.inc on line 31

Notice: Undefined property: stdClass::$name in /root/project/html/inc/email.inc on line 31

Notice: Undefined property: stdClass::$name in /root/project/html/inc/email.inc on line 31

Notice: Undefined property: stdClass::$name in /root/project/html/inc/email.inc on line 31

Notice: Undefined property: stdClass::$name in /root/project/html/inc/email.inc on line 31

Notice: Undefined property: stdClass::$name in /root/project/html/inc/email.inc on line 31

Warning: Cannot modify header information - headers already sent by (output started at /root/project/html/inc/forum_email.inc:40) in /root/project/html/user/forum_moderate_post_action.php on line 165

I did not automatically return to the forum thread to see the post hidden, had to do that all manually.