e107_plugins/hero/admin_config.php
Suspicious array access to nullable ?array
Open
Open
<td class='text-center'>".$this->glyphPicker($name.'[icon]', varset($val['icon']))."</td>
- Exclude checks
Argument 3 (previewURL)
is null
but \hero_form_ui::imagepicker()
takes string
defined at /code/e107_handlers/form_handler.php:1349
Open
Open
<td class='text-center' style='padding-left:15px'>".$this->imagepicker('hero_media', $media, null, array('media'=>'hero^', 'video' => 1))."</td>
- Exclude checks
Argument 4 (sc_parameters)
is array{media:'hero^'}
but \hero_form_ui::imagepicker()
takes string
defined at /code/e107_handlers/form_handler.php:1349
Open
Open
<td class='text-center' style='padding-left:15px'>".$this->imagepicker('hero_bg', $bg, null, array('media'=>'hero^'))."</td>
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
<td>".$this->text($name.'[label]', varset($val['label']), 255, array('size'=>'block-level', 'placeholder'=>LAN_HERO_ADMIN_006))."</td>
- Exclude checks
Argument 4 (sc_parameters)
is array{media:'hero^',video:1}
but \hero_form_ui::imagepicker()
takes string
defined at /code/e107_handlers/form_handler.php:1349
Open
Open
<td class='text-center' style='padding-left:15px'>".$this->imagepicker('hero_media', $media, null, array('media'=>'hero^', 'video' => 1))."</td>
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (!getperms('P'))
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
<td> ".$this->btnClass($name.'[class]', varset($val['class']))."</td>
- Exclude checks
Argument 3 (previewURL)
is null
but \hero_form_ui::imagepicker()
takes string
defined at /code/e107_handlers/form_handler.php:1349
Open
Open
<td class='text-center' style='padding-left:15px'>".$this->imagepicker('hero_bg', $bg, null, array('media'=>'hero^'))."</td>
- Exclude checks
Assigning array<string></string>
to property but \hero_ui->prefs
is array{visibility:array{title:'Visibility',tab:0,type:'userclass',data:'str',help:'',writeParms:array{classlist:'public,member,guest,admin,main,classes,nobody, no-excludes'}},icon_pack:array{title:'Icon pack',tab:0,type:'method',data:'str',writeParms:array{},help:''},slide_interval:array{title:'Automated slide interval',type:'dropdown',data:'int',writeParms:array{optArray:array{}}}}
Open
Open
$this->prefs['slide_interval']['writeParms']['optArray'] = $opts;
- Exclude checks
Argument 2 (fname)
is true
but \e107::lan()
takes string
defined at /code/e107_handlers/e107_class.php:3987
Open
Open
e107::lan('hero',true, true);
- Exclude checks
Returning type array{caption:'Help',text:'Be sure to enable the hero menu on your home page using the \x5bMenu Manager\x5d.'}
but renderHelp()
is declared to return string
Open
Open
return array('caption'=>$caption,'text'=> $text);
- Exclude checks
Argument 3 (default)
is 'fontawesome'
but \e107::pref()
takes null
defined at /code/e107_handlers/e107_class.php:4016
Open
Open
$pack = e107::pref('hero','icon_pack', 'fontawesome');
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
<td> ".$this->text($name.'[url]', varset($val['url']), 255, array('size'=>'block-level', 'placeholder'=>'URL'))."</td>
- Exclude checks