Hi! I'm hoping someone can (and is willing) to help me for a sec.
I got tired of all the errors using custom templates and switched back to the basic template that comes with the forum (default theme - curve). But I'm still getting errors. They look like this:
8: Undefined index: href
File: /home/public/smf/Themes/default/index.template.php
Line: 423
8: Undefined index: title
File: /home/public/smf/Themes/default/index.template.php
Line: 426
Is this something I can solve? Or someone can help me solve? Or am I just going to always have these errors?
Thanks :)
It is almost certainly an error due to a mod which added something to the main menu but is not fully defined
Thanks! :) I was thinking that maybe it was something that didn't work properly after upgrade that didn't install properly...
Lines 410 to 427. There doesn't seem to be anything there...?
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
echo '
<div id="main_menu">
<ul class="dropmenu" id="menu_nav">';
foreach ($context['menu_buttons'] as $act => $button)
{
echo '
<li id="button_', $act, '">
<a class="', $button['active_button'] ? 'active ' : '', 'firstlevel" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
<span class="responsive_menu ', $act, '"></span>
<span class="', isset($button['is_last']) ? 'last ' : '', 'firstlevel">', $button['title'], '</span>
</a>';
Nevermind. Figured it out. Thanks again :)
Yes, the issue is not in the template portion that displays the menu but in the data that feeds the menu.
I have the same issue. What was the fix?
Quote from: Kindred on December 03, 2017, 11:47:59 PM
It is almost certainly an error due to a mod which added something to the main menu but is not fully defined