Hello Sugar experts!

We set up Sugar 4.2.1b successfully for a non-profit organization that works in South Africa for orphants. We are dependent on inbound e-mail to keep all data together.

The only problem with Sugar we have at the moment is with sending emails via SMTP. After an email has been sent we get the following error:

Fatal error: Call to a member function on a non-object in /home/h/his-ark.org/public_html/sugar4.2.1b/data/SugarBean.php on line 1487

If I am not mistaken, it is this line:

$related_field_name = $this_subpanel->get_data_source_name();
$parentbean->load_relationship($related_field_name);
$query_array = $parentbean->$related_field_name->getQuery(true,array(),0,'',true);

//$ids = $parentbean->$related_field_name->get();
$table_where = $this_subpanel->get_where();
$where_definition = $query_array['where'];

It would be extremely helpful for us, if you could help us!

Thank you very much in advance!