- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,417
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
One single (self-coded) if-clause in template thread_view:
Code:
...causes big mess if the thread starter isn't registered anymore.
Passing a user_id=0 to canStartConversationWith() affects this error:
Code:
Code:
<xf:if is="$xf.visitor.canStartConversationWith($thread.User)">
...causes big mess if the thread starter isn't registered anymore.
Passing a user_id=0 to canStartConversationWith() affects this error:
Code:
An exception occurred: [TypeError] Argument 1 passed to XF\Entity\User::canStartConversationWith() must be an instance of XF\Entity\User, null given in src/XF/Entity/User.php on line 828...