1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Strange error in conversation_view

Discussion in 'XenForo Questions and Support' started by Mike Creuzer, Jul 6, 2014.

  1. Mike Creuzer

    Mike Creuzer 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

    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') . '" />
  2. RoldanLT

    RoldanLT Well-Known Member

    File Heath Check?
  3. Mike

    Mike XenForo Developer Staff Member

    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.
  4. Russ

    Russ Well-Known Member

    @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.
    Mike Creuzer likes this.
  5. Mike Creuzer

    Mike Creuzer Well-Known Member

    Ah that is interesting. Yeh thread view is edited but not conversation view. Let me try reverting that thanks Russ.

Share This Page