- Code: Select all
Catchable fatal error: Object of class template could not be converted to string in /home/meditcom/public_html/boss/inc/functions.inc.php on line 769
On line 769 i find this function:
- Code: Select all
////////////////////////////////////////////////////////
// Function: cute_cache
// Description: ??????????
function cute_cache($file, $uniqid = '', $ext = ''){
global $cache_file, $template;
$cache_file = rootpath.'/cache/'.$file.($template ? '-'.$template : '').($uniqid ? '('.$uniqid.')' : '').($ext ? '.'.$ext : '').'.tmp';
if (file_exists($cache_file) and cache){
return file_read($cache_file);
}
return false;
}
I include head.php at the beginning of the file, and I have activated the plugin for the functions. Any ideas on whats wrong?
