エラーログ
[16-Aug-2013 20:41:33 America/Sao_Paulo] PHP 警告: 9 行目の /home/public_html/acp/includes/templates/character.php の foreach() に無効な引数が指定されました
私のキャラクター.php
<?php
if (!isset($included) || !$included) exit();
$buttons = "";
$empty = true;
$characters = $_handlerGameServer->fetch($_queryGame['characters'],array($session->get("account")));
foreach ($characters as $character) {
$buttons .= "<button class='buttonProcess' name='select_character' title='character_id' value='".$character[0]."'>".$character[1]."</button>\n";
$empty = false;
}
if (!$empty)
$_templatePage->replace("buttons",$buttons);
else
$_templatePage->replace("buttons",$_lang['error']['noCharacters']."<br /><a href='?page=select_server' class='linkProcess' name='unset_server'>".$_lang['character']['changeServer']."</a> | <a href='?page=account' class='linkProcess' name='logout'>".$_lang['character']['logout']."</a> ");
?>