This question already has an answer here:
I am having trouble fixing the search feature on my site.
I get an error that says "Parse error: syntax error, unexpected '=', expecting ')' in /wp-content/themes/freetheme/content-excerpt.php on line 124"
I have looked for line 24 and found this function
if (!empty($dt = theme_get_date())) {
?>
<div class="date_posted_block">
<span class="date_posted">
<?php echo wp_kses_data($dt); ?>
</span>
</div>
</div>