<em>Starting a new module and cant find the solution for this problem.  I am trying to check the admin settings page for the module, and I am getting this error:<br><br>Invalid argument supplied for foreach()</em> in <em>/home/dangerou/public_html/includes/menu.inc</em> on line <em>258</em>.<br>
<br>Here is the code in the .module:<br><br>function time_card_menu() {<br>  $items[&#39;admin/settings/time_card&#39;] = array(<br>    &#39;title&#39; =&gt; &#39;Time card settings&#39;,<br>    &#39;description&#39; =&gt; &#39;Change how time card behave.&#39;,<br>
    &#39;page callback&#39; =&gt; &#39;drupal_get_form&#39;,<br>    &#39;page arguments&#39; =&gt; array(&#39;time_card_admin_settings&#39;),<br>    &#39;access arguments&#39; =&gt; array(&#39;administer site configuration&#39;),<br>
    &#39;type&#39; =&gt; MENU_NORMAL_ITEM,<br>    &#39;file&#39; =&gt; &#39;time_card.admin.inc&#39;,<br>  );<br>    <br> return $items;<br>}<br><br>Here is the code in the .inc:<br><br>function time_card_admin_settings() {<br>
    $options = array(&#39;weekly&#39; =&gt; &#39;Weekly&#39;);<br><br>    $form[&#39;time_card_pay_periods&#39;] = array(<br>      &#39;#type&#39; =&gt; &#39;checkboxes&#39;,<br>        &#39;#title&#39; =&gt; t(&#39;Your Pay Period is:&#39;),<br>
        &#39;#options&#39; =&gt; $options,<br>        &#39;#default_value&#39; =&gt; variable_get(&#39;time_card_pay_periods&#39;, array(&#39;weekly&#39;)),<br>        &#39;#description&#39; =&gt; t(&#39;This will tell the system how many weeks of information to collect for hour totals.&#39;),<br>
  );<br><br>  return system_settings_form($form);<br><br>}<br><br>What is it that I am not seeing.<br>