Hi can anyone help with this error?
Hi Gary Brooks
Take a look at sugarcrm.log and php_error.log. Hopefully you will see some error message.
Hi Thanks for this after discussion with hosting co we got this message. But now stumped.
[Fri Jul 07 16:21:00.161289 2017] [:error] [pid 4561] [client 10.100.111.72:62013] PHP Notice: Undefined index: samp1_sample_tracker_accounts in /var/www/html/modules/Relationships/RelationshipHandler.php on line 121, referer: http://172.30.3.9/
[Fri Jul 07 16:21:00.161336 2017] [:error] [pid 4561] [client 10.100.111.72:62013] PHP Fatal error: Call to a member function getLHSModule() on a non-object in /var/www/html/modules/Relationships/Relationship.php on line 74, referer: http://172.30.3.9/
The PHP Fatal error says there are some broken relationship, so SugarCRM can not reach its properties. Also the relationship "samp1_sample_tracker_accounts" seems to be missing, but this issue is not related to the Fatal error.
Also we would like to see your sugarcrm.log in order to better help you.
You can follow the steps here in order to fetch the SugarCRM Log File.
You can do things here
First check by repairing relationships
Secondly If that dint work out just try the following
you just put this if condition in the place of line 74 and check
modules/Relationships/Relationship.php (that is where you got the fatal error)
if(is_object($rel))return $base_module == $rel->getLHSModule() ? $rel->getRHSModule() : $rel->getLHSModule();
Retrieving data ...