e107_plugins/forum/forum_update.php
Avoid too many return
statements within this method. Open
Open
return true;
Call to undeclared method \e_db::isTable
Open
Open
if($sql->isTable($curTable) && $sql->isEmpty($curTable))
- Exclude checks
Argument 4 (noWhere)
is 'default'
but \e_db::select()
takes bool|false
defined at /code/e107_handlers/e_db_interface.php:265
Open
Open
if($sql->select('forum_thread', 'thread_options', 'thread_id = ' . $threadId, 'default'))
- Exclude checks
Variable $var
was undeclared, but array fields are being added to it. Open
Open
$var[1]['text'] = '1 - Permissions';
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$forumList = $sql->db_getList();
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$threadList = $sql->db_getList();
- Exclude checks
Call to deprecated function \show_admin_menu()
defined at /code/e107_admin/boot.php:354
Open
Open
show_admin_menu('Forum Upgrade', $action, $var);
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender('Forum Upgrade', $mes->render());
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(!getperms('P'))
- Exclude checks
Argument 4 (noWhere)
is 'default'
but \e_db::select()
takes bool|false
defined at /code/e107_handlers/e_db_interface.php:265
Open
Open
if($sql->select('forum_t', '*', "thread_parent = {$threadId} OR thread_id = {$threadId}", 'default'))
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$threadData = $sql->db_getList();
- Exclude checks
Argument 1 (dir)
is 'forum'
but \e107plugin::refresh()
takes int
defined at /code/e107_handlers/plugin_class.php:4587
Open
Open
e107::getPlugin()->refresh('forum');
- Exclude checks