Simple news - Undefined Variable Error? I am getting this error after transferring my site to another host. Not sure why it broke so need some help troubleshooting.



It seems the block_html_id and the content itself is not coming through. I am using the standard block.tpl file
What could be wrong?

here is the code from simplenews-block.tpl.php

47:     &lt;div id="&lt;?php print $block_html_id; ?&gt;" class="&lt;?php print $classes; ?&gt;"&lt;?php print $attributes; ?&gt;&gt;

50:    &lt;php if ($block-&gt;subject): ?&gt;

56:       &lt;?php print $content ?&gt;


Here is all the code from the simplenews-block.tpl.php

&lt;div id="&lt;?php print $block_html_id; ?&gt;" class="&lt;?php print $classes; ?&gt;"&lt;?php print $attributes; ?&gt;&gt;

  &lt;?php print render($title_prefix); ?&gt;
&lt;?php if ($block-&gt;subject): ?&gt;
  &lt;h2&lt;?php print $title_attributes; ?&gt;&gt;&lt;?php print $block-&gt;subject ?&gt;&lt;/h2&gt;
&lt;?php endif;?&gt;
  &lt;?php print render($title_suffix); ?&gt;

  &lt;div class="content"&lt;?php print $content_attributes; ?&gt;&gt;
    &lt;?php print $content ?&gt;
  &lt;/div&gt;
&lt;/div&gt;


I am thinking I need to delete the module and all tables related to it in the DB and start fresh...? What else is there to do?

This is the content of the template.php file.
Clear your cache completely. Disable your current them and enable a core theme like Garland. If the error goes away, you'll know it's with your theme. 

If not:


Was the database fully migrated? 
Were your files (and theme!) fully
migrated?
When you say "standard" block.tpl.php file, where did it
come from? It should have come from /modules/block/block.tpl.php.