e107_plugins/page/e_shortcode.php
Avoid too many return
statements within this method. Open
Open
return null;
Argument 3 (parm)
is false
but \e_menu::renderMenu()
takes string
defined at /code/e107_handlers/menu_class.php:631
Open
Open
return e107::getMenu()->renderMenu($parm, false, false, true);
- Exclude checks
Returning type null
but sc_chapter_menus()
is declared to return string
Open
Open
return null;
- Exclude checks
Argument 2 (fields)
is true
but \e_db::retrieve()
takes string
defined at /code/e107_handlers/e_db_interface.php:153
Open
Open
$rows = e107::getDb()->retrieve($query,true);
- Exclude checks
Argument 2 (pluginName)
is null
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('page', null, 'cpage');
- Exclude checks
Argument 2 (pluginName)
is null
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('page', null, 'cpage');
- Exclude checks
Returning type null
but sc_book_chapters()
is declared to return string
Open
Open
return null;
- Exclude checks
Returning type null
but sc_book_chapters()
is declared to return string
Open
Open
return null;
- Exclude checks
Returning type null
but sc_book_chapters()
is declared to return string
Open
Open
return null;
- Exclude checks
Argument 2 (mname)
is false
but \e_menu::renderMenu()
takes string
defined at /code/e107_handlers/menu_class.php:631
Open
Open
return e107::getMenu()->renderMenu($parm, false, false, true);
- Exclude checks
Call to undeclared method \e_shortcode::setChapter
Open
Open
$sc->setChapter($row['chapter_id']);
- Exclude checks
Returning type null
but sc_chapter_menus()
is declared to return string
Open
Open
return null;
- Exclude checks
Returning type null
but sc_book_chapters()
is declared to return string
Open
Open
return null;
- Exclude checks
Argument 2 (fields)
is true
but \e_db::retrieve()
takes string
defined at /code/e107_handlers/e_db_interface.php:153
Open
Open
if(!$pageArray = e107::getDb()->retrieve($query, true))
- Exclude checks
Argument 2 (fields)
is true
but \e_db::retrieve()
takes string
defined at /code/e107_handlers/e_db_interface.php:153
Open
Open
if(!$chapArray = e107::getDb()->retrieve($query, true))
- Exclude checks