My site goes down due to this problem:
Aggiornato a Fatal error: Call to undefined function lastUpdated() in /home/sites/gardanotizie/includes/common.inc(1731) : eval()'d code on line 1
Cron gives this:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/sites/gardanotizie/sites/all/modules/cron_control/cron_control.install on line 75
I've seen other topic with this subject but the solutions don't work for me
Here is the code on common.inc
function drupal_eval($code) {
global $theme_path, $theme_info, $conf;
// Store current theme path.
$old_theme_path = $theme_path;
// Restore theme_path to the theme, as long as drupal_eval() executes,
// so code evaluted will not see the caller module as the current theme.
// If theme info is not initialized get the path from theme_default.
if (!isset($theme_info)) {
$theme_path = drupal_get_path('theme', $conf['theme_default']);
}
else {
$theme_path = dirname($theme_info->filename);
}
ob_start();
print eval('?>'. $code); <---- line 1731
$output = ob_get_contents();
ob_end_clean();
// Recover original theme path.
$theme_path = $old_theme_path;
return $output;
}
Thanks for any help