e107_plugins/forum/forum_viewtopic.php
Reference to undeclared property \e107ForumThread->threadInfo
Open
Open
$moderatorUserIds = $forum->getModeratorUserIdsByThreadId($thread->threadInfo['thread_id']);
- Exclude checks
Variable $currentUser
is undeclared Open
Open
$threadsViewed = explode(',', $currentUser['user_plugin_forum_viewed']);
- Exclude checks
Argument 3 (default)
is 'Forum'
but \e107::pref()
takes null
defined at /code/e107_handlers/e107_class.php:4016
Open
Open
$forumTitle = empty($FORUMCAPTION) ? e107::pref('forum','title', LAN_PLUGIN_FORUM_NAME) : $tp->parseTemplate($FORUMCAPTION, true, $sc);
- Exclude checks
Reference to undeclared property \e107ForumThread->threadInfo
Open
Open
$forum->modArray = $forum->forumGetMods($thread->threadInfo['forum_moderators']);
- Exclude checks
Suspicious array access to nullable ?array|?array{post_options:mixed,thread_sef:array|string|string[],thread_active:mixed}|?array{post_options:mixed}|?array{thread_active:mixed}|?array{thread_sef:array|string|string[]}|?string|?string[]|?true|array{thread_start:false}
Open
Open
if($postInfo['post_status'])
- Exclude checks
Argument 3 (row)
is null
but \e107::url()
takes array
defined at /code/e107_handlers/e107_class.php:4225
Open
Open
$url = e107::url('forum','index', null, ['mode'=>'full']);
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
define('MODERATOR', (USER && in_array(USERID, $moderatorUserIds) || getperms('0') ));
- Exclude checks
Reference to undeclared property \e107ForumThread->threadInfo
Open
Open
$forum->threadIncview($thread->threadInfo['thread_id']);
- Exclude checks
Variable $sql
is undeclared Open
Open
if($sql->gen($_qry))
- Exclude checks
Variable $forrep
is undeclared Open
Open
unset($forrep);
- Exclude checks
Argument 3 (row)
is ''
but \e107::url()
takes array
defined at /code/e107_handlers/e107_class.php:4225
Open
Open
$editURL = e107::url('forum','post','', array('query'=> $editQRY));
- Exclude checks
Reference to undeclared property \e107ForumThread->threadInfo
Open
Open
$thread->threadInfo = $forum->threadGet($thread->threadId);
- Exclude checks
Call to deprecated function \e_parse::text_truncate()
defined at /code/e107_handlers/e_parse_class.php:1286
Open
Open
define("META_DESCRIPTION", $tp->text_truncate(
- Exclude checks
Reference to undeclared property \e107ForumThread->threadInfo
Open
Open
if (USER && (USERID != $thread->threadInfo['thread_user'] || $thread->threadInfo['thread_total_replies'] > 0) || !$thread->noInc)
- Exclude checks
Suspicious array access to nullable ?array|?array{post_options:mixed,thread_sef:array|string|string[],thread_active:mixed}|?array{post_options:mixed}|?array{thread_active:mixed}|?array{thread_sef:array|string|string[]}|?string|?string[]|?true
Open
Open
$loop_uid = (int)$postInfo['post_user'];
- Exclude checks
Argument 3 (row)
is 'full'
but \e107::url()
takes array
defined at /code/e107_handlers/e107_class.php:4225
Open
Open
$url = e107::url('forum','index','full');
- Exclude checks
Reference to undeclared property \e107ForumThread->threadInfo
Open
Open
$forum->set_crumb(true, '', $thread->threadInfo); // Set $BREADCRUMB (and BACKLINK)
- Exclude checks
Argument 3 (row)
is 'full'
but \e107::url()
takes array
defined at /code/e107_handlers/e107_class.php:4225
Open
Open
$url = e107::url('forum','index','full');
- Exclude checks
Reference to undeclared property \e107ForumThread->threadInfo
Open
Open
define('e_PAGETITLE', strip_tags($tp->toHTML($thread->threadInfo['thread_name'], true, 'no_hook, emotes_off')).' / '.$tp->toHTML($thread->threadInfo['forum_name'], true, 'no_hook, emotes_off').' / '.LAN_FORUM_1001);
- Exclude checks
Variable $forrep
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$forrep .= $tp->parseTemplate($_style, true, $sc) . "\n";
- Exclude checks