The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I just don't know how to fix it so that this error doesn't show up on some of my threads:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /showthread.php(1967) : eval()'d code on line 364 Your help would be greatly appreciated. Line 364: // set $perpage $perpage = sanitize_maxposts($vbulletin->GPC['perpage']); // ************************************************** ****************************** * // set post order if ($vbulletin->userinfo['postorder'] == 0) { $postorder = ''; } else { $postorder = 'DESC'; } // ************************************************** ****************************** * // get thread info $thread = verify_id('thread', $threadid, 1, 1); $threadinfo =& $thread; ($hook = vBulletinHook::fetch_hook('showthread_getinfo')) ? eval($hook) : false; // ************************************************** ****************************** * // check for visible / deleted thread if (((!$thread['visible'] AND !can_moderate($thread['forumid'], 'canmoderateposts'))) OR ($thread['isdeleted'] AND !can_moderate($thread['forumid']))) { eval(standard_error(fetch_error('invalidid', $vbphrase['thread'], $vbulletin->options['contactuslink']))); } // ************************************************** ****************************** * // jump page if thread is actually a redirect if ($thread['open'] == 10) { exec_header_redirect('showthread.php?' . $vbulletin->session->vars['sessionurl_js'] . "t=$thread[pollid]"); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|