MyBB Community Forums

Full Version: Error HTTP 500 when I try to enter in a forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good morning, 

I have a fresh installation of MYBB and I am using the theme MyBulletin-V3.3 and the plugin Google SEO. When I try to access to an empty forum (no threads nothing) I can access to it and post new thread etc but when I try to access to a forum with some discussions I get HTTP 500 errror. I tried to switch to default theme and it's all okay so I assume the problems comes from the  MyBulletin-V3.3. 

The URL scheme is the same in both cases so I wonder what's the problem...

Thanks in advance.

Edit: the error.log says:

[30-Dec-2022 13:37:14 UTC] PHP Parse error:  syntax error, unexpected string content "", expecting "-" or identifier or variable or number in /home/konahbyw/forum/forumdisplay.php(1382) : eval()'d code on line 7
this error belong to problem to your forumdisplay_thread  template so , you can check template code or send here for checking
Hello, thank you for the answer. This is the forumdisplay_thread template:

<tr class="inline_row">
	<td align="center" class="trow1{$thread_type_class}" width="2%"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></td>
	<td align="center" class="trow2{$thread_type_class}" width="2%">{$icon}</td>
	<td class="trow1{$thread_type_class}">
<if $thread['sticky'] then>
<img style="float:right;" src="{$theme['imgdir']}/sticky.png" alt="Sticky" title="sticky" />
<if $thread['closed'] then>
<img style="float:right;" src="{$theme['imgdir']}/locked.png" alt="Locked" title="Locked" />
<if $thread['subscribed'] then>
<img style="float:right;" src="{$theme['imgdir']}/locked.png" alt="Locked" title="Locked" />

          <span>{$prefix} {$gotounread}{$thread['threadprefix']}<span class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']}</div>
	<td class="trow2{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="lastpost smalltext">{$lastpostdate}<br />
		Author: {$lastposterlink} <a href="{$thread['lastpostlink']}"><img src="{$theme['imgdir']}/lastpost.gif" alt="View Last Post" title="View Last Post" style="vertical-align:middle"/></a></span>
	<td align="center" class="trow1{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="trow2{$thread_type_class}">{$thread['views']}</td>
The theme seems to require a template conditionals plugin, as some of that syntax isn’t from core. Check if the theme has a requirement to install any plugins.
Got it, I deleted the part of sticky threads and now is working correctly! Thank you