- Code: Select all
Warning: Invalid argument supplied for foreach() in /membersinst.php on line 184
This happens when you have multiple locales in one roster and when you are an Alliance guild
(IE: enUS and deDE)
The keys page expects a faction name to match the locale
deDE -> Allianz | Horde
enUS -> Alliance | Horde
As you can see, the problem comes from an alliance roster because the faction names do not match
Ok, now for the fix
Open membersinst.php
Find
- Code: Select all
$items = $inst_keys[$roster_conf['roster_lang']][$faction];
Replace with
- Code: Select all
$items = $inst_keys[$roster_conf['roster_lang']][ substr($faction,0,1) ];
Open localization/enUS.php
Find
- Code: Select all
$inst_keys['enUS']['Alliance'] = array(
Replace with
- Code: Select all
$inst_keys['enUS']['A'] = array(
Find
- Code: Select all
$inst_keys['enUS']['Horde'] = array(
Replace with
- Code: Select all
$inst_keys['enUS']['H'] = array(
Open localization/deDE.php
Find
- Code: Select all
$inst_keys['deDE']['Allianz'] = array(
Replace with
- Code: Select all
$inst_keys['deDE']['A'] = array(
Find
- Code: Select all
$inst_keys['deDE']['Horde'] = array(
Replace with
- Code: Select all
$inst_keys['deDE']['H'] = array(
If editing files isn't your thing, attatched are already edited files