Kuske:
I'm getting a similar error in OpportunityFormBase.php (on line 394). .
Fatal error: Call to a member function on a non-object.
I've used the coomand:
Code:
$GLOBALS['log']->FATAL("H2-line 394:".print_r($parentbean->$related_field_name,true)); but it looks my error is on json, I'm thinking:
Code:
$quicksearch_js .= '<script type="text/javascript" language="javascript">sqs_objects = ' . $json->encode($sqs_objects) . '</script>';
Since my log file returns nothing for Code:
print_r($parentbean->$related_field_name,true)
, I'm thinking that parentbean isn't what I'm looking for, but I have never delved into json, so I don't know what I'm doing. Is there another object I need to be looking at?
Excuse my ignorance, and thank you for any guidance.
Bookmarks