e107_plugins/featurebox/e_shortcode.php
Avoid too many return
statements within this method. Open
Open
return e107::getRender()->tablerender(LAN_PLUGIN_FEATUREBOX_NAME, $ret, vartrue($parm['tablestyle'], 'featurebox'), true);
Suspicious array access to nullable ?array
Open
Open
$category = $this->getCategoryModel($ctemplate, (vartrue($parm['force']) ? true : false));
- Exclude checks
Call to undeclared method \e_model::setCategory
Open
Open
$node->setCategory($model)
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
return e107::getRender()->tablerender(LAN_PLUGIN_FEATUREBOX_NAME, $ret, vartrue($parm['tablestyle'], 'featurebox'), true);
- Exclude checks
Call to undeclared method \e_object::toHTML
Open
Open
$tmp[] = $model->setParam('counter', $index)
- Exclude checks
Argument 3 (parm)
is ?array
but \featurebox_shortcodes::render()
takes array
defined at /code/e107_plugins/featurebox/e_shortcode.php:327
Open
Open
$ret = $this->render($category, $ctemplate, $parm);
- Exclude checks
Call to undeclared method \e_object::toHTML
Open
Open
$tmpl_item .= $tmp->setParam('counter', $counter + $index)
- Exclude checks
Argument 1 (params)
is ?array
but \e_model::updateParams()
takes array
defined at /code/e107_handlers/model_class.php:242
Open
Open
->updateParams($parm);
- Exclude checks
array to string
conversion Open
Open
$tmpl_item = $tmpl['item_start'].$tmpl_item.$tmpl['item_end'];
- Exclude checks
Argument 4 (override)
is 'front'
but \e107::getTemplate()
takes bool|true
defined at /code/e107_handlers/e107_class.php:3403
Open
Open
$tmpl = e107::getTemplate('featurebox', 'featurebox_category', $ctemplate, 'front');
- Exclude checks