I am having the same problem. I updated from 4.2 to 4.5 and having problems. I clicked "Upgrade Custom Labels" in the Repair section of Admin and it set all my custom data to NULL. Additionally, I am receiving the same error when I try to display the custom field in the Leads page. Instead of the column title i get:
Warning: Smarty error: sugar_translate: missing 'label' parameter in /home/sites/myserver/mywebsite.com/web/crm/include/Smarty/Smarty.class.php on line 1095
I am trying to track the problem but it is just leading me to cache files. I am wondering if I need to add the label in my custom field to a language pack? The reason I ask this is because of the file /sugarcrm/include/Smarty/plugins/function.sugar_translate.php:
PHP Code:
/**
* Smarty {sugar_translate} function plugin
*
* Type: function<br>
* Name: sugar_translate<br>
* Purpose: translates a label into the users current language
*
* @author Majed Itani {majed at sugarcrm.com
* @param array
* @param Smarty
*/
function smarty_function_sugar_translate($params, &$smarty)
{
if (!isset($params['label'])){
$smarty->trigger_error("sugar_translate: missing 'label' parameter");
return '';
}
Anyone have suggestions?
Bookmarks