[eluser]Sire[/eluser]
A common issue I've seen is the reverse of CroNIX's comment, "Creating default object from empty value"
An example where I've seen this is in the WordPress includes, user.php. An example:
Code:
$blog_id = get_current_blog_id();
$blogs = array();
$blogs[ $blog_id ]->userblog_id = $blog_id;
The solution is to create the default object first
Code:
$blog_id = get_current_blog_id();
$blogs = array();
$blogs[ $blog_id ] = new stdClass(); // this was added
$blogs[ $blog_id ]->userblog_id = $blog_id;