e107_plugins/forum/forum_class.php
Variable $ret
was undeclared, but array fields are being added to it. Open
Open
$ret['html'] = false;
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$threadList = $sql->db_getList();
- Exclude checks
Argument 2 (fields)
is true
but \e_db::retrieve()
takes string
defined at /code/e107_handlers/e_db_interface.php:153
Open
Open
return e107::getDb()->retrieve($qry, true);
- Exclude checks
array to false
comparison Open
Open
if($postInfo !== false)
- Exclude checks
Argument 3 (default)
is 'Forum'
but \e107::pref()
takes null
defined at /code/e107_handlers/e107_class.php:4016
Open
Open
$forumTitle = e107::pref('forum','title', LAN_PLUGIN_FORUM_NAME);
- 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
Argument 1 (title)
is null
but \eHelper::title2sef()
takes string
defined at /code/e107_handlers/application.php:4989
Open
Open
return eHelper::title2sef($threadInfo['thread_name'],'dashl');
- Exclude checks
Reference to undeclared property \e107forum->e107
Open
Open
$this->e107 = e107::getInstance();
- Exclude checks
Variable $ret
was undeclared, but array fields are being added to it. Open
Open
$ret['html'] = $tp->parseTemplate($tmpl, true, $sc) . "\n";
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$tlist = $sql->db_getList();
- Exclude checks
Argument 2 (fields)
is true
but \e_db::retrieve()
takes string
defined at /code/e107_handlers/e_db_interface.php:153
Open
Open
$data = e107::getDb()->retrieve("SELECT forum_id, forum_sef, forum_class FROM `#forum`", true); // no ordering for better performance.
- 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
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(!in_array(USERID, $moderatorUserIds) && !getperms('0'))
- Exclude checks
Suspicious array access to nullable ?array|?bool
Open
Open
$sql->update('forum', "forum_lastpost_user = 0, forum_lastpost_user_anon = '{$row['thread_lastuser_anon']}', forum_lastpost_info = '{$lp_info}' WHERE forum_id=".$id);
- Exclude checks
Argument 1 (str)
is int
but \trim()
takes string
Open
Open
if($uclass == e_UC_ADMIN || trim($uclass) == '')
- Exclude checks
Suspicious array access to nullable ?array|?bool
Open
Open
if($row['thread_lastuser_anon'])
- Exclude checks
Argument 1 (classes)
is int
but \user_class::getUsersInClass()
takes string
defined at /code/e107_handlers/userclass_class.php:1192
Open
Open
$this->modArray = e107::getUserClass()->getUsersInClass($uclass, 'user_name', true);
- Exclude checks
Variable $parentList
was undeclared, but array fields are being added to it. Open
Open
$parentList[] = $row['forum_id'];
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
switch ($_POST['action'])
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$ret = $sql->db_getList();
- Exclude checks
Saw an @param annotation for updateForumLastPost,
but it was not found in the param list of function threadDelete($threadId, bool|mixed $updateForumLastpost = null) : true
Open
Open
* @param $updateForumLastPost boolean
- Exclude checks
Saw unextractable annotation for comment '* @return "null" if this post does not exist, "true" if post could deleted, otherwise "false"'
Open
Open
* @return "null" if this post does not exist, "true" if post could deleted, otherwise "false"
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$flist = $sql->db_getList();
- Exclude checks
Argument 2 (fields)
is true
but \e_db::retrieve()
takes string
defined at /code/e107_handlers/e_db_interface.php:153
Open
Open
$data = $sql->retrieve('SELECT t.*, u.user_id, u.user_name, u.user_email, u.user_lastvisit FROM `#forum_track` AS t LEFT JOIN `#user` AS u ON t.track_userid = u.user_id WHERE t.track_thread='.intval($post['post_thread']), true);
- Exclude checks