SMF 2.0 Final TP 1.104
This happens when i try to do a search in the forum. By clicking search --> type in what i search for --> Hit search and we have those errors.
Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?action=search2
Apply Filter: Only show the errors with the same message
8: Undefined index: title
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/default/languages/TPShout.english.php (body_above sub template - eval?)
Line: 440
Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?action=search2
Apply Filter: Only show the errors with the same message
8: Undefined index: href
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/default/languages/TPShout.english.php (body_above sub template - eval?)
Line: 439
Hi Kimmen,
Can you go into the SMF Admin > Configuration > General Settings. Check the box for to "disable evaluation of templates" and then save?
After you've done that, reproduce the error again. Then post the new errors you get as they should have a different file name and line number so I can see where the actual error has occurred.
Did as told ;)
Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?action=search2
Apply Filter: Only show the errors with the same message
8: Undefined index: href
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/Prince_of_Darkness_201/index.template.php
Line: 409
Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?action=search2
Apply Filter: Only show the errors with the same message
8: Undefined index: title
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/Prince_of_Darkness_201/index.template.php
Line: 410
Can you attach your index.template.php file from your Prince of Darkness theme? Looks to me like you have some errors in that file. Could be related to a mod or something, so I'll just give it a check for you.
That is very nice of you IchBin :)
Bah... looks like the problem is not in the template file. The template file is calling the array for the menu buttons which exists in the Subs.php file. Can you attach that one too? The Subs.php file is in the Sources directory. Thanks.
Sure i can IchBin :)
Looks like it's a problem with the custom menu mod you have installed. Do you have any items in your main menu that are blank or empty? I'm guessing that the mod is not properly setting the menu items or something. Then when the array is read in the template file, it's reading an empty array which doesn't have the link or title set.
To be honest, i had Tyrsson from SMF, to help me shrink down buttons on main menu. he re-organized it all, so that i got more into dropdowns.