e107inc/e107

View on GitHub
e107_plugins/page/chapter_menu.php

Summary

Maintainability
A
0 mins
Test Coverage
D
63%

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

$data = $sql->retrieve("SELECT * FROM #page_chapters WHERE chapter_visibility IN (".USERCLASS_LIST.") AND chapter_template = 'panel'  ".$insert. " LIMIT 24", true);
Severity: Minor
Found in e107_plugins/page/chapter_menu.php by phan

Variable $parm is undeclared
Open

$parm = eHelper::scParams($parm);
Severity: Minor
Found in e107_plugins/page/chapter_menu.php by phan

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

Call to undeclared method \e_shortcode::setChapter
Open

        $sc->setChapter($row['chapter_id']);
Severity: Critical
Found in e107_plugins/page/chapter_menu.php by phan

There are no issues that match your filters.

Category
Status