Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Shades. on November 08, 2021, 01:02:17 PM

Title: Sub category errors
Post by: Shades. on November 08, 2021, 01:02:17 PM
2.1RC4

I created a sub category like this: Baseball>Baseball Cards and when I click on "Baseball" my footer is to the right instead of at the bottom. The errors in admin are:

QuoteError
Type of error
Undefined_vars
Error message
8: Undefined variable: settings
File
/home2/*****/public_html/*****/Themes/default/MessageIndex.template.php
Line
428
URL of page causing the error
https://*****.com/index.php?board=3.0

Backtrace information
#0: smf_error_handler()
Called from /home2/*****/public_html/*****/Themes/default/MessageIndex.template.php on line 428
#1: template_bi_board_info()
Called from /home2/*****/public_html/*****/Themes/default/MessageIndex.template.php on line 43
#2: template_main()
Called from /home2/*****/public_html/*****/Sources/Load.php on line 2736
#3: loadSubTemplate()
Called from /home2/*****/public_html/*****/Sources/Subs.php on line 3913
#4: obExit()
Called from /home2/*****/public_html/*****/index.php on line 190

QuoteError
Type of error
General
Error message
8: Trying to access array offset on value of type null
File
/home2/*****/public_html/*****/Themes/default/MessageIndex.template.php
Line
428
URL of page causing the error
https://*****.com/index.php?board=3.0

Backtrace information
#0: smf_error_handler()
Called from /home2/*****/public_html/*****/Themes/default/MessageIndex.template.php on line 428
#1: template_bi_board_info()
Called from /home2/*****/public_html/*****/Themes/default/MessageIndex.template.php on line 43
#2: template_main()
Called from /home2/*****/public_html/*****/Sources/Load.php on line 2736
#3: loadSubTemplate()
Called from /home2/*****/public_html/*****/Sources/Subs.php on line 3913
#4: obExit()
Called from /home2/*****/public_html/*****/index.php on line 190
Title: Re: Sub category errors
Post by: Doug Heffernan on November 08, 2021, 01:43:50 PM
Most likely this comes from a third party mod. What mods do you have installed recentely before this error started to happen?
Title: Re: Sub category errors
Post by: Shades. on November 08, 2021, 01:46:27 PM
Lol Doug I was posting same time as you...

Line 428 shows:
', $board['name'], '&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" />
So am assuming it has something to do with this mod here (https://custom.simplemachines.org/index.php?mod=376) so I will post this in that support forum.
Title: Re: Sub category errors
Post by: Shades. on November 08, 2021, 02:04:32 PM
I uninstalled the feed icon mod and errors went away so I'm gonna mark this topic solved and wait for the mod author to reply in the support thread (https://www.simplemachines.org/community/index.php?topic=100074.msg4102261#msg4102261).

Thanks 8)