Here's the code for the error:
PHP Code:
// get default language
$phraseinfo = $DB_site->query_first("
SELECT languageid" . fetch_language_fields_sql(0) . "
FROM " . TABLE_PREFIX . "language
WHERE languageid = " . intval($vboptions['languageid']) . "
");
foreach($phraseinfo AS $_arrykey => $_arryval)
{
$bbuserinfo["$_arrykey"] = $_arryval;
}
unset($phraseinfo);
The foreach line is where the error occurs.