so, i have one theme that will give server errors, i did remove parts of the theme that is different than my other themes until i found the code that is causing the errors
it is this code inside message template
<span class="authorEnd"><xen:username user="$post" class="author" /></span>
<!-- <xen:hook name="message_user_info_text" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
<h3 class="userText"><span class="authorEnd"><xen:username user="$user" itemprop="name" rich="true" /></span></h3>
</xen:hook> -->
<!-- Slyk 2.0 <a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}" title="{xenhrase permalink}" class="desktopPermalink datePermalink"><xen:datetime time="$post.post_date" /></a>-->
<span class="desktopPermalink datePermalink"><xen:datetime time="$post.post_date" /></span>
any idea why this code will have problems with php 7? this code didnt cause issues when we ran php 5
it is this code inside message template
<span class="authorEnd"><xen:username user="$post" class="author" /></span>
<!-- <xen:hook name="message_user_info_text" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
<h3 class="userText"><span class="authorEnd"><xen:username user="$user" itemprop="name" rich="true" /></span></h3>
</xen:hook> -->
<!-- Slyk 2.0 <a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}" title="{xenhrase permalink}" class="desktopPermalink datePermalink"><xen:datetime time="$post.post_date" /></a>-->
<span class="desktopPermalink datePermalink"><xen:datetime time="$post.post_date" /></span>
any idea why this code will have problems with php 7? this code didnt cause issues when we ran php 5