Hi,
Can anyone help me out in overcoming the following error
Fatal error: Call to a member function on a non-object in E:\www\wwwroot\...\data\SugarBean.php on line 877
The line contains the following code:
877 -function get_linked_fields()
888 {
$linked_fields=array();
require_once('data/Link.php');
$fieldDefs = $this->getFieldDefinitions();
//find all definitions of type link.
if (!empty($fieldDefs))
{
foreach ($fieldDefs as $name=>$properties)
{
if (array_search('link',$properties) === 'type')
{
$linked_fields[$name]=$properties;
}
}
}
return $linked_fields;
}
I got this error when i clicked the link in a module called Companies which is created by me and i have recently upgraded from version 3.0c( Hope this is a older version) to 4.5.1l and everything worked till version 4.5.1l, but in 4.5.1l i am getting the error.
System Specifications
Operating System: Windows 2003 Server
Web Server: IIS 6.0
PHP : 4.4.0
MYSQL : 4.1.13
Sugar Version and edition: 4.5.1l (Community Edition)


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks