e107inc/e107

View on GitHub
e107_plugins/online/lastseen_menu.php

Summary

Maintainability
A
0 mins
Test Coverage
D
66%

Variable $ONLINE_MENU_TEMPLATE is undeclared
Open

        $LASTSEEN_TEMPLATE = $ONLINE_MENU_TEMPLATE['lastseen'];
Severity: Minor
Found in e107_plugins/online/lastseen_menu.php by phan

Suspicious array access to nullable ?array
Open

    $text .= $tp->parseTemplate($LASTSEEN_TEMPLATE['item'], true, $online_shortcodes);
Severity: Minor
Found in e107_plugins/online/lastseen_menu.php by phan

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

Suspicious array access to nullable ?array
Open

$text = $tp->parseTemplate($LASTSEEN_TEMPLATE['start'], true);
Severity: Minor
Found in e107_plugins/online/lastseen_menu.php by phan

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

$online_shortcodes = e107::getScBatch('online', true);
Severity: Minor
Found in e107_plugins/online/lastseen_menu.php by phan

Suspicious array access to nullable ?array
Open

$text .= $tp->parseTemplate($LASTSEEN_TEMPLATE['end'], true, $online_shortcodes);
Severity: Minor
Found in e107_plugins/online/lastseen_menu.php by phan

There are no issues that match your filters.

Category
Status