e107inc/e107

View on GitHub

Showing 6,974 of 6,975 total issues

Variable $text is undeclared
Open

        $ns->tablerender($caption, $mes->render() . $text);

Function admin_config_adminmenu defined at /code/e107_plugins/newsletter/admin_config.php:729 was previously defined at /code/e107_plugins/poll/admin_config.php:230
Open

function admin_config_adminmenu()

Call to undeclared method \e_db::db_getList
Open

$lslist = $sql->db_getList();
Severity: Critical
Found in e107_plugins/online/lastseen_menu.php by phan

Argument #1 of this call to \str_replace is typically a literal or constant but isn't, but argument #3 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order.
Open

        $message = str_replace($srch,$repl, LAN_ONLINE_TRACKING_MESSAGE);

Returning type null but sc_book_chapters() is declared to return string
Open

                return null;
Severity: Minor
Found in e107_plugins/page/e_shortcode.php by phan

Returning type null but sc_book_chapters() is declared to return string
Open

            return null;
Severity: Minor
Found in e107_plugins/page/e_shortcode.php by phan

Argument 2 (fields) is true but \e_db::retrieve() takes string defined at /code/e107_handlers/e_db_interface.php:153
Open

        $chaps = $sql->retrieve("SELECT * FROM #page_chapters WHERE chapter_parent !=0 ORDER BY chapter_order ASC" , true);
Severity: Minor
Found in e107_plugins/page/e_sitelink.php by phan

Variable $parm is undeclared
Open

$parm = eHelper::scParams($parm);

Argument 3 (subject) is 255 but \str_replace() takes array|string
Open

    $nobody_regexp = "'(^|,)(" . str_replace(",", "|", e_UC_NOBODY) . ")(,|$)'";

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

    $NEWS_GRID_TEMPLATE['col-md-6']['start'] = '<div class="row news-grid-default news-menu-grid gx-3">';

Reference to instance property channel from undeclared class \MagpieRSS
Open

                    $temp['channel'] = $rss->channel;

Argument 2 (value) is array|null|string|string[] but \e_form::number() takes int defined at /code/e107_handlers/form_handler.php:925
Open

            <td>".$frm->number('newsletter_', $newsletter_issue, '200')."</td>

Default value for string $selectVals can't be false
Open

    public function selectInit($selectVals = FALSE)
Severity: Minor
Found in e107_plugins/newsletter/e_mailout.php by phan

Assigning \e_core_pref|\e_plugin_pref to property but \online_shortcodes->memberInfo is array{}
Open

        $this->memberInfo = e107::getConfig('history');

Call to deprecated function \e107::getDateConvert() defined at /code/e107_handlers/e107_class.php:1948
Open

        $this->gen = e107::getDateConvert();

Argument 2 (pluginName) is null but \e107::getScBatch() takes string defined at /code/e107_handlers/e107_class.php:1608
Open

    $sc = e107::getScBatch('page', null, 'cpage');
Severity: Minor
Found in e107_plugins/page/chapter_menu.php by phan

Returning type null but sc_book_chapters() is declared to return string
Open

                    return null;
Severity: Minor
Found in e107_plugins/page/e_shortcode.php by phan

Argument 2 (parseBB) is '' but \e_parse::toHTML() takes bool|false defined at /code/e107_handlers/e_parse_class.php:1532
Open

                    'link_name'            => $tp->toHTML($row['chapter_name'],'','TITLE'),
Severity: Minor
Found in e107_plugins/page/e_sitelink.php by phan

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

                    $limitList[$row['limit_classnum']] = $row;
Severity: Info
Found in e107_plugins/pm/admin_config.php by phan

Reference to undeclared property \private_msg_ui->sql
Open

                    $results[E_MESSAGE_ERROR][$start] = str_replace(array('[y]', '[z]'), array($this->sql->getLastErrorNum, $this->sql->getLastErrorText), ADLAN_PM_70);
Severity: Minor
Found in e107_plugins/pm/admin_config.php by phan
Severity
Category
Status
Source
Language