XF 1.3 Strange error in conversation_view

Dad.

Well-known member
Hey all,

First, I disabled all plugins and also checked to see if there were any template edits (including master) and nothing seems to be interfering. I imagine it might be some kind of DB bug or something, but its hard to say. This is on my development demo, so nothing weird should be going on aside from theme designing :p

Code:
Template Errors: conversation_view
Argument 1 passed to XenForo_Template_Helper_Core::helperUserNameHtml() must be an array, null given in /home/audentio/public_html/demo/development/xf/library/XenForo/Template/Helper/Core.php, line 1658:
1657:                 <div class="sectionFooter"><a href="' . XenForo_Template_Helper_Core::link('conversations/invite', $conversation, array()) . '" class="_callToAction _inviteCtrl OverlayTrigger"
1658:                     title="' . 'Invite more members to participate in this conversation' . '">' . 'Invite More' . '</a></div>
1659:             ';
Argument 1 passed to XenForo_Template_Helper_Core::getUserHref() must be an array, null given, called in /home/audentio/public_html/demo/development/xf/library/XenForo/Template/Helper/Core.php on line 1674 and defined in /home/audentio/public_html/demo/development/xf/library/XenForo/Template/Helper/Core.php, line 1559:
1558:         <input type="hidden" name="last_date" value="' . htmlspecialchars($__compilerVar29, ENT_QUOTES, 'UTF-8') . '" data-load-value="' . htmlspecialchars($__compilerVar29, ENT_QUOTES, 'UTF-8') . '" />
1559:         <input type="hidden" name="last_known_date" value="' . htmlspecialchars($lastKnownDate, ENT_QUOTES, 'UTF-8') . '" />
1560:         <input type="hidden" name="_xfToken" value="' . htmlspecialchars($visitor['csrf_token_page'], ENT_QUOTES, 'UTF-8') . '" />
 
Are you're positive there are no template edits? That includes template modifications (which can only be disabled by disabling the add-on in the ACP). This is certainly from a bad variable being passed in, but in most cases in this context (by default), the code wouldn't be hit with an empty variable like this.
 
@Audentio we got this same error when we were creating an alternative postbit. We tried modifying ****I think****... post or message template which is called in thread_view and conversation_view(the modification we did worked in thread_view but not conversation_view). We ended up having to go with a conditional I think which would only show in the thread_view.
 
Back
Top Bottom