Error in PHP Script
/_app/control/_http.php/menu/print/
PHP Version: 5.6.30;  Zend Engine Version: 2.6.0;  Qcodo Version: 0.3.21 (Qcodo Beta 3)
Application: Apache/2.2.32;  Server Name: thekirin.com
HTTP User Agent: CCBot/2.0 (http://commoncrawl.org/faq/)
Invalid argument supplied for foreach()
Error Type:   E_WARNING

Rendered Page:   Click here to view contents able to be rendered

Source File:   /usr/www/users/kirin/thekirin.com/www/menu/print.tpl.php     Line:   25

Line 20:    <?php
Line 21:    if ($pg['menu']->Code == 'lunch') {
Line 22:    	echo '<p id="msgLunchEntree">Lunch entrées are single sized portions served with steamed rice, appetizer and soup of the day. (Soup not included in take out orders.) Brown rice for an additional 50¢.</p>';
Line 23:    }
Line 24:    $type = null;
Line 25:    foreach ($pg['menu']->DishGroups as $dg) {
Line 26:    	$type = $dg[0]->Dish->Dishtype;
Line 27:    ?>
Line 28:    	<h3><?=safe($type->Name);?></h3>
Line 29:    	<ol>
Line 30:    <?php

Call Stack:

#0 /usr/www/users/kirin/thekirin.com/www/menu/print.tpl.php(25): QcodoHandleError()
#1 /usr/www/users/kirin/thekirin.com/www/_app/control/_.php(53): include()
#2 /usr/www/users/kirin/thekirin.com/www/_app/control/menu.php(25): render()
#3 /usr/www/users/kirin/thekirin.com/www/_app/control/_.php(44): include()
#4 /usr/www/users/kirin/thekirin.com/www/_app/control/_http.php(56): pass_control()

Variable Dump:   Show/Hide



Error Report Generated:  Wednesday, June 28 2017, 5:09:57 PM