Email template cannot be approved "Variable Not Defined: "
I am using a few variables to control certain aspects of the layouts of my email modules.
When I try to approve the template I am receiving the error message 'Variable Not Defined: copySectionMarginBottom'
I find when I change the order of the meta tags, sometimes 'copySectionMarginTop' will not be defined, or one of the other variables I have defined in the head will error out instead.
When I change the id in the body code (to something like ${copySectionMarginBottomTest}) I get the inline error in the code editor. I can fix it back and the inline error goes away, but still throws a validation error when I try to approve the template.
Any help would be appreciated.
I am using this code
HEAD:
<meta class="mktoNumber" id="copySectionMarginTop" mktoName="Margin Top" default="0" min="0" max="30" units="" step="1" mktoModuleScope="true" />
<meta class="mktoNumber" id="copySectionMarginBottom" mktoName="Margin Bottom" default="15" min="0" max="30" units="" step="1" mktoModuleScope="true" />
BODY CONTAINER:
<table id="container" class="mktoContainer" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr class="mktoModule" id="singleColumnModule" mktoName="Single Column Module" mktoAddByDefault="true" >
<td>
<table>
<tr>
<td style="line-height: 0;padding:0;" height="${copySectionMarginTop}"> </td>
</tr>
<tr>
<td style="padding: 0;">
<table style="background-color: white;">
<tr>
<td width="15"> </td>
<td width="10" class="em_hide"> </td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="color: #494848;font-family:Arial,Helvetica,sans-serif;" class="mktoText" id="singleColumnText" mktoName="Single Column Text">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sint adipisci assumenda distinctio quam perferendis quia unde doloribus hic ipsa et? Quod doloremque animi, similique omnis dolor iusto maiores eligendi autem.
</td>
</tr>
</table>
</td>
<td width="10" class="em_hide"> </td>
<td width="15"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="line-height: 0;padding:0;" height="${copySectionMarginBottom}"> </td>
</tr>
</table>
</td>
</tr>
</table>