[BUG] undefined property stdClass::$twitter [message #162333] |
Tue, 27 April 2010 01:20 |
arthurthornton
Messages: 1 Registered: April 2010 Location: VA
Karma: 0
|
Junior Member |
|
|
There is a bug in FUD 3.0.1 with regards to twitter. The bug could apply to all of the different IM implementations, though I am not sure.
The error, as reported by an LxCenter developer to myself and the other developers/leaders was as follows:
bug in fud 3.0.1 (PHP notices)
Notice: Undefined property: stdClass::$twitter in /home/forumlxlabs/forum.lxcenter.org/theme/LxCenter/selmsg.php on line
343
Notice: Undefined property: stdClass::$twitter in /home/forumlxlabs/forum.lxcenter.org/theme/LxCenter/selmsg.php on line
343
Notice: Undefined property: stdClass::$twitter in /home/forumlxlabs/forum.lxcenter.org/theme/LxCenter/selmsg.php on line
343
So far as I know, the only modifications in the LxCenter theme would be our logo and maybe some color changes.
I, being a native PHP software developer, looked at selmsg.php on line 343 and found:
and replaced it with
if (isset($obj->twitter) && !empty($obj->twitter)) {
The same should be applied to all of the different IM object variables, but this is the only one that caused us problems at the time, so it is the only one I changed.
|
|
|
|