e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Variable $poll_id is undeclared
Open

    unset($poll_id, $_POST['poll_title'], $_POST['poll_option'], $_POST['activate']);
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Variable $poll_result_type is undeclared
Open

        $_POST['showResults'] = $poll_result_type;
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Variable $poll_vote_userclass is undeclared
Open

                $text .= (in_array("poll_vote_userclass",$fieldpref)) ? "<td>".(r_userclass_name($poll_vote_userclass))."</td>" : "";
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Argument 3 (event_type) is '' but \e_admin_log::add() takes int defined at /code/e107_handlers/admin_log_class.php:178
Open

            e107::getLog()->add('POLL_02','ID: '.$pollID.' - '.$poll_title,'');
Severity: Minor
Found in e107_plugins/poll/poll_class.php by phan

Variable $siteTotal was undeclared, but it is being used as the left-hand side of an assignment operation
Open

                    $siteTotal += $row['log_data'];

Variable $pageInfo is undeclared
Open

        $unique = ($pageInfo[$pageName]['unq'] ? $pageInfo[$pageName]['unq'] : 0);
Severity: Minor
Found in e107_plugins/siteinfo/counter_menu.php by phan

Invalid operator: left operand of << is bool (expected int)
Open

                        !!$_POST['social_login_test_page'] << social_login_config::ENABLE_BIT_TEST_PAGE;
Severity: Minor
Found in e107_plugins/social/admin_config.php by phan

Argument 2 (content) is string but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('twitter:title', SITENAME);
Severity: Minor
Found in e107_plugins/social/e_event.php by phan

Argument 2 (fname) is true but \e107::lan() takes string defined at /code/e107_handlers/e107_class.php:3987
Open

e107::lan('pm',true);
Severity: Minor
Found in e107_plugins/pm/admin_config.php by phan

Variable $tp is undeclared
Open

        define('PM_DELETE_ICON', $tp->toGlyph('fa-trash', 'fw=1'));
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $PM_BLOCKED_HEADER is undeclared
Open

                $PM_BLOCKED['start'] = $this->updateTemplate($PM_BLOCKED_HEADER);
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $PM_BLOCKED_EMPTY is undeclared
Open

                $PM_BLOCKED['empty'] = $this->updateTemplate($PM_BLOCKED_EMPTY);
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Variable $u was undeclared, but array fields are being added to it.
Open

                $u[] = "{\"caption\":\"" . $row['user_name'] . "\",\"value\":" . $row['user_id'] . "}";
Severity: Info
Found in e107_plugins/pm/pm.php by phan

Variable $ns is undeclared
Open

                $ns->tablerender(LAN_PM, $pm->breadcrumb(LAN_PM_55) . $mes->render() . LAN_PM_57);
Severity: Minor
Found in e107_plugins/pm/pm.php by phan

Argument 2 (checked_enabled) is '' but \e_form::radio_switch() takes bool|false defined at /code/e107_handlers/form_handler.php:3024
Open

        <td>".$frm->radio_switch('pm_maint_sent', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Invalid offset "user_name" of array type array{}
Open

                $ret = varset($this->pmBlocked['user_name']);
Severity: Minor
Found in e107_plugins/pm/pm_shortcodes.php by phan

Call to deprecated class \form defined at /code/e107_handlers/form_handler.php:8340
Open

$rs = new form;
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Variable $poll_start_datestamp is undeclared
Open

        if ($poll_start_datestamp)
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Variable $poll_end_datestamp is undeclared
Open

        if ($poll_end_datestamp)
Severity: Minor
Found in e107_plugins/poll/admin_config.php by phan

Variable $POLL_DISALLOWED_START is undeclared
Open

            $template['denied']['start'] = $POLL_DISALLOWED_START;
Severity: Minor
Found in e107_plugins/poll/poll_class.php by phan
Severity
Category
Status
Source
Language