Updated from GitHub and now the error:
2: sprintf(): Too few arguments
227: <li>
228: <a href="', $scripturl, '?action=profile;area=showalerts;u=', $context['user']['id'], '"', !empty($context['self_alerts']) ? ' class="active"' : '', ' id="alerts_menu_top">', $txt['alerts'], !empty($context['user']['alerts']) ? ' <span class="amt">' . $context['user']['alerts'] . '</span>' : '', '</a>
229: <div id="alerts_menu" class="top_menu scrollable"></div>
230: </li>';
231:
232: // A logout button for people without JavaScript.
233: echo '
234: <li id="nojs_logout">
235: <a href="', $scripturl, '?action=logout;', $context['session_var'], '=', $context['session_id'], '">', $txt['logout'], '</a>
236: <script>document.getElementById("nojs_logout").style.display = "none";</script>
237: </li>';
238:
239: // And now we're done.
240: echo '
241: </ul>';
242: }
243: // Otherwise they're a guest. Ask them to either register or login.
244: elseif (empty($maintenance))
245: echo '
246: <ul class="floatleft welcome">
==>247: <li>', sprintf($txt[$context['can_register'] ? 'welcome_guest_register' : 'welcome_guest'], $context['forum_name_html_safe'], $scripturl . '?action=login', 'return reqOverlayDiv(this.href, ' . JavaScriptEscape($txt['login']) . ');', $scripturl . '?action=signup'), '</li>
248: </ul>';
249: else
250: // In maintenance mode, only login is allowed and don't show OverlayDiv
251: echo '
252: <ul class="floatleft welcome">
253: <li>', sprintf($txt['welcome_guest'], $context['forum_name_html_safe'], $scripturl . '?action=login', 'return true;'), '</li>
254: </ul>';
255:
256: if (!empty($modSettings['userLanguage']) && !empty($context['languages']) && count($context['languages']) > 1)
257: {
258: echo '
259: <form id="languages_form" method="get" class="floatright">
260: <select id="language_select" name="language" onchange="this.form.submit()">';
261:
262: foreach ($context['languages'] as $language)
263: echo '
264: <option value="', $language['filename'], '"', isset($context['user']['language']) && $context['user']['language'] == $language['filename'] ? ' selected="selected"' : '', '>', str_replace('-utf8', '', $language['name']), '</option>';
265:
266: echo '
267: </select>
(Line 247)
Which file and what did you do to get the error?
I just updated the forum. Problem in index.template.php file
searching through posts in the forum, this error seems to happen when using another language other than english...are you using a different language and if so, what happens if you use english?
and seems to be an issue with profile.LANGUAGE.php, typically occurs when someone tries to issue a warning.....is that what is happening here?
Using English is no problem, but I also need another language. :-\
don't mind me, I'm just trying to help troubleshoot...I could be way off
was just trying to search the forums last night for this error and that is what it manly seemed to be was an issue in the language files
which language do you use?
if you switch to english does this still happen?
Everything is fine in English. I am using Russian.
If I had to guess, the index.template.php line referred to in the error was updated to include something new that was added in the language files, but the language files weren't updated to include that something.
Namely whatever changes were made to index.english.php should also be made in index.otherlanguage.php :)
It's a pity that it is. It turns out you need to wait for a normal translation file, although version 2.1 RC3
Things like this can happen when working with RCs.
I'm not 100% sure, but I think the changes can pretty much be found here
https://github.com/SimpleMachines/SMF2.1/commit/4b1057bfdd3223a9245a5042c6c2bfbc56b5b394#diff-642fdda18f3123ee23a03780d965f84c9843976682b766b086430dd1ea38408d
You can just look up the changes and try to update your own language files accordingly.
Everything will solve the problem! I have uploaded the language files in the forum admin area. After downloading the language file here in the Downloads section everything worked without errors! Thanks everyone for the help!
Well that's great! :) At least we got you in the right direction then.
Thank you!
The error was repeated. It turns out that the arguments for the Login and Registration links were incorrect. As a result, there were no login and registration links in the forum header. I corrected everything and translated the Profile file to the end. Please add the Russian language archive to the download so that these ridiculous errors no longer occur! No more errors occur! Thank you all for the tip!
Languages are separate from the core download....