e107inc/e107

View on GitHub
e107_core/templates/footer_default.php

Summary

Maintainability
A
0 mins
Test Coverage
F
59%

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

            $LAYOUT['_modal_'] = '';

Argument 2 (zone) is false but \e_jsmanager::renderJs() takes int defined at /code/e107_handlers/js_manager.php:1235
Open

    e107::getJs()->renderJs($cssId, false, 'css', false);
Severity: Minor
Found in e107_core/templates/footer_default.php by phan

Argument 2 (zone) is true but \e_jsmanager::renderJs() takes int defined at /code/e107_handlers/js_manager.php:1235
Open

e107::getJs()->renderJs('footer', true);
Severity: Minor
Found in e107_core/templates/footer_default.php by phan

Reference to undeclared property \e_db->mySQLinfo
Open

    $mySQLInfo = $sql->mySQLinfo;
Severity: Minor
Found in e107_core/templates/footer_default.php by phan

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

        $js_included[] = $fname;

Call to undeclared method \e_db::db_Close
Open

$sql->db_Close(); // Only one is needed; the db is only connected once even with several $sql objects
Severity: Critical
Found in e107_core/templates/footer_default.php by phan

Call to undeclared function \theme_renderinfo()
Open

        theme_renderinfo($rinfo);
Severity: Critical
Found in e107_core/templates/footer_default.php by phan

Argument 3 (external) is 'css' but \e_jsmanager::renderJs() takes bool|true defined at /code/e107_handlers/js_manager.php:1235
Open

    e107::getJs()->renderJs($cssId, false, 'css', false);
Severity: Minor
Found in e107_core/templates/footer_default.php by phan

Reference to undeclared constant \CSSORDER
Open

$CSSORDER = defined('CSSORDER') && deftrue('CSSORDER') ? explode(",",CSSORDER) : array('library','other','core','plugin','theme');  // INLINE CSS in Body not supported by HTML5. .
Severity: Minor
Found in e107_core/templates/footer_default.php by phan

Call to undeclared method \e_db::db_QueryCount
Open

    $queryCount = $sql->db_QueryCount();
Severity: Critical
Found in e107_core/templates/footer_default.php by phan

Argument 1 (array_arg) is string but \sort() takes array
Open

sort($uclist, SORT_NUMERIC);
Severity: Minor
Found in e107_core/templates/footer_default.php by phan

Argument 2 (zone) is true but \e_jsmanager::renderJs() takes int defined at /code/e107_handlers/js_manager.php:1235
Open

e107::getJs()->renderJs('footer_inline', true);
Severity: Minor
Found in e107_core/templates/footer_default.php by phan

There are no issues that match your filters.

Category
Status