e107_admin/image.php
File image.php
has 2619 lines of code (exceeds 2000 allowed). Consider refactoring. Open
Open
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
Avoid deeply nested control flow statements. Open
Open
if ($imageHeight > $allowedHeight)
{
if (strlen($sBadImage))
{
$sBadImage .= ', ';
Avoid deeply nested control flow statements. Open
Open
if ($imageWidth > $allowedWidth)
{
$sBadImage = IMALAN_40." ($imageWidth)";
}
Avoid too many return
statements within this method. Open
Open
return $img_data;
Avoid too many return
statements within this method. Open
Open
return FALSE;
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_category']['nolist'] = true;
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(!getperms('A') && !getperms('A1'))
- Exclude checks
Returning type false
but getYouTubeCode()
is declared to return string
Open
Open
return isset($matches[1]) ? 'video:'.trim($matches[1]) : false;
- Exclude checks
Argument #1 of this call to \str_replace
is typically a literal or constant but isn't, but argument #3 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order. Open
Open
$text = str_replace($srch,$repl,IMALAN_108);
- Exclude checks
Variable $sql
is undeclared Open
Open
if (!$sql->count('user', '(*)', "WHERE user_image='-upload-{$image_todb}' OR user_sess='{$image_todb}'")) {
- Exclude checks
Returning type null
but createPage()
is declared to return string
Open
Open
return null;
- Exclude checks
Call to undeclared method \e_admin_form_ui::rotateImages
Open
Open
$frm->rotateImages($ids,$type);
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_category']['readonly'] = TRUE;
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_userclass']['noedit'] = TRUE;
- Exclude checks
Call to undeclared method \e_object::loadBatch
Open
Open
$this->getTreeModel()->setParam('db_query', $this->_modifyListQry(false, false, false, false, $this->listQry))->loadBatch();
- Exclude checks
Return type of beforeUpdate()
is undeclared type \TBD
Open
Open
public function beforeUpdate($new_data, $old_data, $id)
- Exclude checks
Argument 2 (mode)
is 'rel'
but \e_parse::createConstants()
takes int
defined at /code/e107_handlers/e_parse_class.php:3255
Open
Open
if(file_exists($newpath) || e107::getDb()->select('core_media', '*',"media_url = '".$tp->createConstants($newpath,'rel')."' LIMIT 1") )
- Exclude checks
Variable $frm
is undeclared Open
Open
".$frm->admin_button('check_all', LAN_CHECKALL, 'action'). '
- Exclude checks
Assigning array<string right left></string>
to property but \media_admin_ui->prefs
is array{image_post:array{title:'Enable image display',tab:0,type:'boolean',data:'int',writeParms:'help=IMALAN_2'},image_post_class:array{title:'Image display class',type:'userclass',data:'int',writeParms:'help=IMALAN_11&classlist=public,guest,nobody,member,admin,main,classes'},image_post_disabled_method:array{title:'Disabled image method',type:'boolean',writeParms:'enabled=IMALAN_15&disabled=IMALAN_14'},resize_method:array{title:'Resize method',type:'method',data:'str'},thumbnail_quality:array{title:'Thumbnail Quality',type:'number',data:'int',writeParms:'',help:'Set this as low as possible before quality loss is apparent. Max. 100'},convert_to_jpeg:array{title:'Convert to jpeg during import',type:'boolean',data:'int',writeParms:'',help:'PNG and GIF files will be automatically converted to jpeg format. \x28icons excluded\x29'},convert_to_webp:array{title:'Convert to webp during import',type:'boolean',data:'int',writeParms:'',help:'JPEG, PNG and GIF files will be automatically converted to webp format. \x28icons excluded\x29'},thumb_to_webp:array{title:'Convert to webp during render',type:'boolean',data:'int',writeParms:'',help:'JPEG, PNG and GIF files will be automatically converted to webp format. \x28icons excluded\x29'},im_width:array{title:'Avatar Width',type:'number',data:'int',writeParms:'',help:'Avatar images will be constrained to these dimensions \x28in pixels\x29'},im_height:array{title:'Avatar Height',type:'number',data:'int',writeParms:'',help:'Avatar images will be constrained to these dimensions \x28in pixels\x29'},resize_dimensions:array{title:'Default Image Sizes',type:'method',data:'str'},watermark_activate:array{title:'Watermark Activation',tab:1,type:'number',data:'str',help:'All images with a width or height greater than this value will be given a watermark during resizing.'},watermark_text:array{title:'Watermark Text',tab:1,type:'text',data:'str',help:'Optional Watermark Text'},watermark_font:array{title:'Watermark Font',tab:1,type:'dropdown',data:'str',help:'Optional Watermark Font. Upload more .ttf fonts to the /fonts folder in your theme directory.'},watermark_size:array{title:'Watermark Size',tab:1,type:'number',data:'int',help:'Size of the font in pts'},watermark_pos:array{title:'Watermark Position',tab:1,type:'dropdown',data:'str',help:'Watermark Position'},watermark_margin:array{title:'Watermark Margin',tab:1,type:'number',data:'int',help:'The distance that watermark will appear from the edge of the image.'},watermark_color:array{title:'Watermark Color',tab:1,type:'text',data:'str',help:'Color of the watermark eg. 000000'},watermark_shadowcolor:array{title:'Watermark Shadow-Color',tab:1,type:'text',data:'str',help:'Shadow Color of the watermark eg. ffffff'},watermark_opacity:array{title:'Watermark Opacity',tab:1,type:'number',data:'int',help:'Enter a number between 1 and 100'},youtube_apikey:array{title:'YouTube Public API key',tab:2,type:'text',data:'str',help:'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc',writeParms:array{size:'xxlarge',post:''}},youtube_default_account:array{title:'Default YouTube account',tab:2,type:'text',data:'str',help:'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc',writeParms:array{size:'xxlarge',post:''}},youtube_rel:array{title:'Show Related Videos',tab:2,type:'boolean',data:'int',help:''},youtube_showinfo:array{title:'Show Video Info',tab:2,type:'boolean',data:'int',help:''},youtube_cc_load_policy:array{title:'Show Closed-Captions by default',tab:2,type:'boolean',data:'int',help:''},youtube_modestbranding:array{title:'Use Modest Branding',tab:2,type:'boolean',data:'int',help:''},youtube_bbcode_responsive:array{title:'Make the YouTube bbcode responsive',tab:2,type:'boolean',data:'int',help:''}}
Open
Open
$this->prefs['watermark_pos']['writeParms'] = $wm_pos;
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_description']['nolist'] = true;
- Exclude checks
Variable $glyphActive
is undeclared Open
Open
$text .= "<li class='{$glyphActive}'><a data-toggle='tab' data-bs-toggle='tab' href='#core-media-glyphs'>"."Glyphs</a></li>\n";
- Exclude checks
Call to deprecated function \e_media::mediaSelect()
defined at /code/e107_handlers/media_class.php:712
Open
Open
$text = e107::getMedia()->mediaSelect($this->getQuery('for'),$this->getQuery('tagid'), $options); // eg. news, news-thumbnail
- Exclude checks
Invalid offset "high"
of array type array{medium:array{url:string}}
Open
Open
$thumbnail = $value['snippet']['thumbnails']['high']['url'];
- Exclude checks
Call to deprecated function \e_media::mediaSelect()
defined at /code/e107_handlers/media_class.php:712
Open
Open
echo e107::getMedia()->mediaSelect($for,$tag,$bbcodeMode);
- Exclude checks
Assigning array<string right left></string>
to property but \media_admin_ui->prefs
is array{image_post:array{title:'Enable image display',tab:0,type:'boolean',data:'int',writeParms:'help=IMALAN_2'},image_post_class:array{title:'Image display class',type:'userclass',data:'int',writeParms:'help=IMALAN_11&classlist=public,guest,nobody,member,admin,main,classes'},image_post_disabled_method:array{title:'Disabled image method',type:'boolean',writeParms:'enabled=IMALAN_15&disabled=IMALAN_14'},resize_method:array{title:'Resize method',type:'method',data:'str'},thumbnail_quality:array{title:'Thumbnail Quality',type:'number',data:'int',writeParms:'',help:'Set this as low as possible before quality loss is apparent. Max. 100'},convert_to_jpeg:array{title:'Convert to jpeg during import',type:'boolean',data:'int',writeParms:'',help:'PNG and GIF files will be automatically converted to jpeg format. \x28icons excluded\x29'},convert_to_webp:array{title:'Convert to webp during import',type:'boolean',data:'int',writeParms:'',help:'JPEG, PNG and GIF files will be automatically converted to webp format. \x28icons excluded\x29'},thumb_to_webp:array{title:'Convert to webp during render',type:'boolean',data:'int',writeParms:'',help:'JPEG, PNG and GIF files will be automatically converted to webp format. \x28icons excluded\x29'},im_width:array{title:'Avatar Width',type:'number',data:'int',writeParms:'',help:'Avatar images will be constrained to these dimensions \x28in pixels\x29'},im_height:array{title:'Avatar Height',type:'number',data:'int',writeParms:'',help:'Avatar images will be constrained to these dimensions \x28in pixels\x29'},resize_dimensions:array{title:'Default Image Sizes',type:'method',data:'str'},watermark_activate:array{title:'Watermark Activation',tab:1,type:'number',data:'str',help:'All images with a width or height greater than this value will be given a watermark during resizing.'},watermark_text:array{title:'Watermark Text',tab:1,type:'text',data:'str',help:'Optional Watermark Text'},watermark_font:array{title:'Watermark Font',tab:1,type:'dropdown',data:'str',help:'Optional Watermark Font. Upload more .ttf fonts to the /fonts folder in your theme directory.'},watermark_size:array{title:'Watermark Size',tab:1,type:'number',data:'int',help:'Size of the font in pts'},watermark_pos:array{title:'Watermark Position',tab:1,type:'dropdown',data:'str',help:'Watermark Position'},watermark_margin:array{title:'Watermark Margin',tab:1,type:'number',data:'int',help:'The distance that watermark will appear from the edge of the image.'},watermark_color:array{title:'Watermark Color',tab:1,type:'text',data:'str',help:'Color of the watermark eg. 000000'},watermark_shadowcolor:array{title:'Watermark Shadow-Color',tab:1,type:'text',data:'str',help:'Shadow Color of the watermark eg. ffffff'},watermark_opacity:array{title:'Watermark Opacity',tab:1,type:'number',data:'int',help:'Enter a number between 1 and 100'},youtube_apikey:array{title:'YouTube Public API key',tab:2,type:'text',data:'str',help:'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc',writeParms:array{size:'xxlarge',post:''}},youtube_default_account:array{title:'Default YouTube account',tab:2,type:'text',data:'str',help:'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc',writeParms:array{size:'xxlarge',post:''}},youtube_rel:array{title:'Show Related Videos',tab:2,type:'boolean',data:'int',help:''},youtube_showinfo:array{title:'Show Video Info',tab:2,type:'boolean',data:'int',help:''},youtube_cc_load_policy:array{title:'Show Closed-Captions by default',tab:2,type:'boolean',data:'int',help:''},youtube_modestbranding:array{title:'Use Modest Branding',tab:2,type:'boolean',data:'int',help:''},youtube_bbcode_responsive:array{title:'Make the YouTube bbcode responsive',tab:2,type:'boolean',data:'int',help:''}}
Open
Open
$this->prefs['watermark_pos']['readParms'] = $wm_pos;
- Exclude checks
Call to undeclared method \e_admin_form_ui::resizeImages
Open
Open
$frm->resizeImages($ids,$type);
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['media_type']['nolist'] = true;
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(getperms('A|A1') && ($this->getQuery('bbcode') !== 'video' && $this->getQuery('bbcode') !== 'glyph'))
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$search_users = $sql->db_getList('ALL', FALSE, FALSE, 'user_id');
- Exclude checks
Argument 3 (att)
is string
but \e_media::mediaSelect()
takes null
defined at /code/e107_handlers/media_class.php:712
Open
Open
echo e107::getMedia()->mediaSelect($for,$tag,$bbcodeMode);
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['media_category']['writeParms'] = $this->cats;
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['options']['type'] = 'method';
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_userclass']['nolist'] = true;
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['media_dimensions']['nolist'] = true;
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['media_description']['nolist'] = true;
- Exclude checks
Invalid offset "from"
of array type array{bbcode:'glyph'}|array{bbcode:'img'}|array{bbcode:'video'}|array{bbcode:false}
Open
Open
$options['from'] .= (int) $_GET['from'];
- Exclude checks
Argument 3 (omit)
is null
but \e_file::get_files()
takes string
defined at /code/e107_handlers/file_class.php:245
Open
Open
$avFiles = e107::getFile()->get_files(e_MEDIA. 'avatars/', '.jpg|.png|.gif|.jpeg|.JPG|.GIF|.PNG',null,2);
- Exclude checks
Argument 2 (mode)
is 'rel'
but \e_parse::createConstants()
takes int
defined at /code/e107_handlers/e_parse_class.php:3255
Open
Open
'media_url' => $tp->createConstants($newpath,'rel'),
- Exclude checks
Argument 2 (options)
is 'w=800'
but \e_parse::thumbUrl()
takes array
defined at /code/e107_handlers/e_parse_class.php:2531
Open
Open
$large = e107::getParser()->thumbUrl($f['path'].$f['fname'], 'w=800', true);
- Exclude checks
Variable $pref
is undeclared Open
Open
$allowedWidth = (int) $pref['im_width'];
- Exclude checks
Argument 2 (newvalue)
is 1
but \ini_set()
takes string
Open
Open
ini_set('gd.jpeg_ignore_warning', 1);
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['media_url']['inline'] = true;
- Exclude checks
Argument 2 (mode)
is 'rel'
but \e_parse::createConstants()
takes int
defined at /code/e107_handlers/e_parse_class.php:3255
Open
Open
$img_data['media_url'] = $tp->createConstants($newpath, 'rel');
- Exclude checks
Argument 2 (options)
is 'w=100'
but \e_parse::thumbUrl()
takes array
defined at /code/e107_handlers/e_parse_class.php:2531
Open
Open
$url = e107::getParser()->thumbUrl($f['path'].$f['fname'], 'w=100', true);
- Exclude checks
Call to deprecated function \avatar()
defined at /code/e107_handlers/avatar_handler.php:23
Open
Open
$avname = avatar($search_users[$uid]['user_image']);
- Exclude checks
Invalid offset "writeParms"
of array type array{title:'Owner',type:'dropdown',width:'auto',thclass:'left',readonly:false}
Open
Open
if(!count($this->fields['media_cat_owner']['writeParms']))
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['media_type']['writeParms'] = $mimeTypes;
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_url']['nolist'] = true;
- Exclude checks
Call to deprecated function \media_admin_ui::imageTab()
defined at /code/e107_admin/image.php:1878
Open
Open
$text .= $this->imageTab($type,$options);
- Exclude checks
Returning type array{caption:'System Information',text:string}
but renderHelp()
is declared to return string
Open
Open
return array('caption'=>EMESSLAN_TITLE_INFO, 'text'=>$text);
- Exclude checks
Argument 2 (mode)
is 'rel'
but \e_parse::createConstants()
takes int
defined at /code/e107_handlers/e_parse_class.php:3255
Open
Open
'media_url' => e107::getParser()->createConstants($path, 'rel'),
- Exclude checks
Assigning array<string>|array{}}></string>
to property but \media_cat_ui->fields
is array{media_cat_id:array{title:'ID',type:'number',width:'5%',nolist:true,forced:true,readonly:true},media_cat_image:array{title:'Image',type:'image',data:'str',width:'100px',thclass:'center',class:'center',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60',readonly:false,batch:false,filter:false},media_cat_owner:array{title:'Owner',type:'dropdown',width:'auto',thclass:'left',readonly:false},media_cat_type:array{title:'Type',type:'radio',data:false,width:'auto',thclass:'left',validate:true,nolist:true},media_cat_category:array{title:'Category',type:'text',data:'str',width:'auto',thclass:'left',readonly:true},media_cat_title:array{title:'Title',type:'text',width:'auto',thclass:'left',readonly:false,validate:true,writeParms:array{size:'xxlarge'}},media_cat_sef:array{title:'SEF URL',type:'text',width:'auto',thclass:'left',readonly:false,writeParms:array{size:'xxlarge',sef:'media_cat_title'}},media_cat_diz:array{title:'Description',type:'bbarea',width:'30%',readParms:'expand=...&truncate=150&bb=1',readonly:false},media_cat_class:array{title:'Visibility',type:'userclass',width:'auto',data:'int'},media_cat_order:array{title:'Order',type:'text',width:'5%',thclass:'right',class:'right'},options:array{title:'Options',type:'method',noedit:true,width:'10%',forced:true,thclass:'center last',class:'center'}}
Open
Open
$this->fields['media_cat_owner']['writeParms'] = $this->restricted;
- Exclude checks
Argument 1 (parm)
is array{search:array|bool|string}
but \media_admin_ui::youtubeTab()
takes string
defined at /code/e107_admin/image.php:2413
Open
Open
echo $this->youtubeTab($parm);
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_sef']['nolist'] = true;
- Exclude checks
Argument 1 (data)
is ?array<int>|?array{}|?string</int>
but \e_media::browserCarousel()
takes array|string
defined at /code/e107_handlers/media_class.php:1773
Open
Open
$text = e107::getMedia()->browserCarousel($items, $parms);
- Exclude checks
Returning type void
but settingsPage()
is declared to return bool|false
Open
Open
return;
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_category']['data'] = 'str'; //XXX Quick fix for 'comma' incompatibility in Db-Update routines.
- Exclude checks
Assigning array<string></string>
to property but \media_cat_ui->fields
is array{media_cat_id:array{title:'ID',type:'number',width:'5%',nolist:true,forced:true,readonly:true},media_cat_image:array{title:'Image',type:'image',data:'str',width:'100px',thclass:'center',class:'center',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60',readonly:false,batch:false,filter:false},media_cat_owner:array{title:'Owner',type:'dropdown',width:'auto',thclass:'left',readonly:false},media_cat_type:array{title:'Type',type:'radio',data:false,width:'auto',thclass:'left',validate:true,nolist:true},media_cat_category:array{title:'Category',type:'text',data:'str',width:'auto',thclass:'left',readonly:true},media_cat_title:array{title:'Title',type:'text',width:'auto',thclass:'left',readonly:false,validate:true,writeParms:array{size:'xxlarge'}},media_cat_sef:array{title:'SEF URL',type:'text',width:'auto',thclass:'left',readonly:false,writeParms:array{size:'xxlarge',sef:'media_cat_title'}},media_cat_diz:array{title:'Description',type:'bbarea',width:'30%',readParms:'expand=...&truncate=150&bb=1',readonly:false},media_cat_class:array{title:'Visibility',type:'userclass',width:'auto',data:'int'},media_cat_order:array{title:'Order',type:'text',width:'5%',thclass:'right',class:'right'},options:array{title:'Options',type:'method',noedit:true,width:'10%',forced:true,thclass:'center last',class:'center'}}
Open
Open
$this->fields['media_cat_owner']['writeParms'][$own] = $own;
- Exclude checks
Call to undeclared method \e_admin_form_ui::convertImagesToJpeg
Open
Open
$frm->convertImagesToJpeg($ids,'all');
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['media_url']['nolist'] = true;
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(getperms('A|A1'))
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_url']['noedit'] = TRUE;
- Exclude checks
Call to undeclared method \e_object::loadBatch
Open
Open
$this->getTreeModel()->setParam('db_query', $this->_modifyListQry(false, false, false, false, $this->listQry))->loadBatch();
- Exclude checks
Argument 1 (var)
is null
but \count()
takes \Countable|array
Open
Open
if(!count($this->fields['media_cat_owner']['writeParms']))
- Exclude checks
Argument 5 (indexField)
is true
but \e_db::retrieve()
takes string
defined at /code/e107_handlers/e_db_interface.php:153
Open
Open
$data = $sql->retrieve('core_media', 'media_id,media_url', $insert."(media_type = 'image/png' OR media_type = 'image/gif') ", true, true);
- Exclude checks
Call to deprecated function \e_media::mediaSelect()
defined at /code/e107_handlers/media_class.php:712
Open
Open
echo e107::getMedia()->mediaSelect($this->getQuery('for'),$this->getQuery('tagid'),$bbcodeMode); // eg. news, news-thumbnail
- Exclude checks
Call to undeclared method \e_object::loadBatch
Open
Open
$this->getTreeModel()->setParam('db_query', $this->_modifyListQry(false, false, 0, false, $this->listQry))->loadBatch();
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['options']['type'] = 'method';
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_dimensions']['nolist'] = true;
- Exclude checks
Argument #1 of this call to \str_replace
is typically a literal or constant but isn't, but argument #3 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order. Open
Open
$text = str_replace($srch,$repl,IMALAN_108);
- Exclude checks
Assigning array<string>|array{0:'None'}}></string>
to property but \media_admin_ui->prefs
is array{image_post:array{title:'Enable image display',tab:0,type:'boolean',data:'int',writeParms:'help=IMALAN_2'},image_post_class:array{title:'Image display class',type:'userclass',data:'int',writeParms:'help=IMALAN_11&classlist=public,guest,nobody,member,admin,main,classes'},image_post_disabled_method:array{title:'Disabled image method',type:'boolean',writeParms:'enabled=IMALAN_15&disabled=IMALAN_14'},resize_method:array{title:'Resize method',type:'method',data:'str'},thumbnail_quality:array{title:'Thumbnail Quality',type:'number',data:'int',writeParms:'',help:'Set this as low as possible before quality loss is apparent. Max. 100'},convert_to_jpeg:array{title:'Convert to jpeg during import',type:'boolean',data:'int',writeParms:'',help:'PNG and GIF files will be automatically converted to jpeg format. \x28icons excluded\x29'},convert_to_webp:array{title:'Convert to webp during import',type:'boolean',data:'int',writeParms:'',help:'JPEG, PNG and GIF files will be automatically converted to webp format. \x28icons excluded\x29'},thumb_to_webp:array{title:'Convert to webp during render',type:'boolean',data:'int',writeParms:'',help:'JPEG, PNG and GIF files will be automatically converted to webp format. \x28icons excluded\x29'},im_width:array{title:'Avatar Width',type:'number',data:'int',writeParms:'',help:'Avatar images will be constrained to these dimensions \x28in pixels\x29'},im_height:array{title:'Avatar Height',type:'number',data:'int',writeParms:'',help:'Avatar images will be constrained to these dimensions \x28in pixels\x29'},resize_dimensions:array{title:'Default Image Sizes',type:'method',data:'str'},watermark_activate:array{title:'Watermark Activation',tab:1,type:'number',data:'str',help:'All images with a width or height greater than this value will be given a watermark during resizing.'},watermark_text:array{title:'Watermark Text',tab:1,type:'text',data:'str',help:'Optional Watermark Text'},watermark_font:array{title:'Watermark Font',tab:1,type:'dropdown',data:'str',help:'Optional Watermark Font. Upload more .ttf fonts to the /fonts folder in your theme directory.'},watermark_size:array{title:'Watermark Size',tab:1,type:'number',data:'int',help:'Size of the font in pts'},watermark_pos:array{title:'Watermark Position',tab:1,type:'dropdown',data:'str',help:'Watermark Position'},watermark_margin:array{title:'Watermark Margin',tab:1,type:'number',data:'int',help:'The distance that watermark will appear from the edge of the image.'},watermark_color:array{title:'Watermark Color',tab:1,type:'text',data:'str',help:'Color of the watermark eg. 000000'},watermark_shadowcolor:array{title:'Watermark Shadow-Color',tab:1,type:'text',data:'str',help:'Shadow Color of the watermark eg. ffffff'},watermark_opacity:array{title:'Watermark Opacity',tab:1,type:'number',data:'int',help:'Enter a number between 1 and 100'},youtube_apikey:array{title:'YouTube Public API key',tab:2,type:'text',data:'str',help:'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc',writeParms:array{size:'xxlarge',post:''}},youtube_default_account:array{title:'Default YouTube account',tab:2,type:'text',data:'str',help:'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc',writeParms:array{size:'xxlarge',post:''}},youtube_rel:array{title:'Show Related Videos',tab:2,type:'boolean',data:'int',help:''},youtube_showinfo:array{title:'Show Video Info',tab:2,type:'boolean',data:'int',help:''},youtube_cc_load_policy:array{title:'Show Closed-Captions by default',tab:2,type:'boolean',data:'int',help:''},youtube_modestbranding:array{title:'Use Modest Branding',tab:2,type:'boolean',data:'int',help:''},youtube_bbcode_responsive:array{title:'Make the YouTube bbcode responsive',tab:2,type:'boolean',data:'int',help:''}}
Open
Open
$this->prefs['watermark_font']['readParms'] = $fonts;
- Exclude checks
Call to deprecated function \media_admin_ui::mediaSelectUpload()
defined at /code/e107_admin/image.php:1572
Open
Open
echo $this->mediaSelectUpload('video');
- Exclude checks
Call to deprecated function \e_form::selectbox()
defined at /code/e107_handlers/form_handler.php:3304
Open
Open
<td>' .$frm->selectbox('float', array('default' =>LAN_DEFAULT, 'left' =>IMALAN_139, 'right' =>IMALAN_138)). '</td>
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(IMALAN_37, $mes->render().$text);
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(!getperms('A') && !getperms('A1'))
- Exclude checks
Assigning array<string></string>
to property but \media_cat_ui->fields
is array{media_cat_id:array{title:'ID',type:'number',width:'5%',nolist:true,forced:true,readonly:true},media_cat_image:array{title:'Image',type:'image',data:'str',width:'100px',thclass:'center',class:'center',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60',readonly:false,batch:false,filter:false},media_cat_owner:array{title:'Owner',type:'dropdown',width:'auto',thclass:'left',readonly:false},media_cat_type:array{title:'Type',type:'radio',data:false,width:'auto',thclass:'left',validate:true,nolist:true},media_cat_category:array{title:'Category',type:'text',data:'str',width:'auto',thclass:'left',readonly:true},media_cat_title:array{title:'Title',type:'text',width:'auto',thclass:'left',readonly:false,validate:true,writeParms:array{size:'xxlarge'}},media_cat_sef:array{title:'SEF URL',type:'text',width:'auto',thclass:'left',readonly:false,writeParms:array{size:'xxlarge',sef:'media_cat_title'}},media_cat_diz:array{title:'Description',type:'bbarea',width:'30%',readParms:'expand=...&truncate=150&bb=1',readonly:false},media_cat_class:array{title:'Visibility',type:'userclass',width:'auto',data:'int'},media_cat_order:array{title:'Order',type:'text',width:'5%',thclass:'right',class:'right'},options:array{title:'Options',type:'method',noedit:true,width:'10%',forced:true,thclass:'center last',class:'center'}}
Open
Open
$this->fields['media_cat_type']['noedit'] = true;
- Exclude checks
Argument 2 (mode)
is 'rel'
but \e_parse::createConstants()
takes int
defined at /code/e107_handlers/e_parse_class.php:3255
Open
Open
$id = $tp->createConstants($f['path'].$f['fname'],'rel');
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['media_sef']['nolist'] = true;
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if(getperms('A|A1'))
- Exclude checks
Argument 2 (options)
is 'w=800'
but \e_parse::thumbUrl()
takes array
defined at /code/e107_handlers/e_parse_class.php:2531
Open
Open
$large = e107::getParser()->thumbUrl($f['path'].$f['fname'], 'w=800', true);
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array<string>>|array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}</string>
Open
Open
$this->fields['media_type']['nolist'] = true;
- Exclude checks
Argument 2 (options)
is 'aw=200&ah=200'
but \e_parse::thumbUrl()
takes array
defined at /code/e107_handlers/e_parse_class.php:2531
Open
Open
$img_path = $tp->thumbUrl(e_MEDIA_ABS. 'avatars/' .$image_name,$attr);
- Exclude checks
Variable $pref
is undeclared Open
Open
$allowedHeight = (int) $pref['im_width'];
- Exclude checks
Call to deprecated function \getperms()
defined at /code/class2.php:1322
Open
Open
if (!getperms('A') && ($_GET['action'] !== 'dialog') && ($_GET['action'] !== 'youtube'))
- Exclude checks
Argument 2 (tagid)
is array|bool|false|string
but \e_media::mediaSelect()
takes null
defined at /code/e107_handlers/media_class.php:712
Open
Open
echo e107::getMedia()->mediaSelect($for,$tag,$bbcodeMode);
- Exclude checks
Argument 3 (dep)
is 'jquery'
but \e107::css()
takes null
defined at /code/e107_handlers/e107_class.php:2692
Open
Open
e107::css('core', 'plupload/jquery.plupload.queue/css/jquery.plupload.queue.css', 'jquery');
- Exclude checks
Call to undeclared method \e_admin_form_ui::convertImagesToJpeg
Open
Open
$frm->convertImagesToJpeg($ids);
- Exclude checks
Assigning array<string></string>
to property but \media_cat_ui->fields
is array{media_cat_id:array{title:'ID',type:'number',width:'5%',nolist:true,forced:true,readonly:true},media_cat_image:array{title:'Image',type:'image',data:'str',width:'100px',thclass:'center',class:'center',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60',readonly:false,batch:false,filter:false},media_cat_owner:array{title:'Owner',type:'dropdown',width:'auto',thclass:'left',readonly:false},media_cat_type:array{title:'Type',type:'radio',data:false,width:'auto',thclass:'left',validate:true,nolist:true},media_cat_category:array{title:'Category',type:'text',data:'str',width:'auto',thclass:'left',readonly:true},media_cat_title:array{title:'Title',type:'text',width:'auto',thclass:'left',readonly:false,validate:true,writeParms:array{size:'xxlarge'}},media_cat_sef:array{title:'SEF URL',type:'text',width:'auto',thclass:'left',readonly:false,writeParms:array{size:'xxlarge',sef:'media_cat_title'}},media_cat_diz:array{title:'Description',type:'bbarea',width:'30%',readParms:'expand=...&truncate=150&bb=1',readonly:false},media_cat_class:array{title:'Visibility',type:'userclass',width:'auto',data:'int'},media_cat_order:array{title:'Order',type:'text',width:'5%',thclass:'right',class:'right'},options:array{title:'Options',type:'method',noedit:true,width:'10%',forced:true,thclass:'center last',class:'center'}}
Open
Open
$this->fields['media_cat_category']['noedit'] = true;
- Exclude checks
Argument 3 (att)
is string
but \e_media::mediaSelect()
takes null
defined at /code/e107_handlers/media_class.php:712
Open
Open
echo e107::getMedia()->mediaSelect($this->getQuery('for'),$this->getQuery('tagid'),$bbcodeMode); // eg. news, news-thumbnail
- Exclude checks
Variable $glyphActive
is undeclared Open
Open
$text .= "<div class='tab-pane clearfix {$glyphActive}' id='core-media-glyphs'>";
- Exclude checks
Argument 3 (attributes)
is null
but \media_cat_form_ui::renderValue()
takes array
defined at /code/e107_handlers/form_handler.php:5354
Open
Open
return $this->renderValue('options',$value,null,$id);
- Exclude checks
Argument 3 (att)
is array<string>|array<string>|array{w:int}</string></string>
but \e_media::mediaSelect()
takes null
defined at /code/e107_handlers/media_class.php:712
Open
Open
$text = e107::getMedia()->mediaSelect($this->getQuery('for'),$this->getQuery('tagid'), $options); // eg. news, news-thumbnail
- Exclude checks
Call to deprecated function \media_admin_ui::mediaSelectUpload()
defined at /code/e107_admin/image.php:1572
Open
Open
echo $this->mediaSelectUpload('file');
- Exclude checks
Argument 3 (att)
is array|array{w:int}
but \e_media::mediaSelect()
takes null
defined at /code/e107_handlers/media_class.php:712
Open
Open
$text = e107::getMedia()->mediaSelect($this->getQuery('for'),$this->getQuery('tagid'), $options); // eg. news, news-thumbnail
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['media_userclass']['nolist'] = true;
- Exclude checks
Call to deprecated function \e_form::selectbox()
defined at /code/e107_handlers/form_handler.php:3304
Open
Open
".IMALAN_123. ' ' .$frm->selectbox('batch_category',$this->cats, $tp->filter($_POST['batch_category']));
- Exclude checks
Argument 2 (value)
is 1
but \e_form::admin_button()
takes string
defined at /code/e107_handlers/form_handler.php:4016
Open
Open
<td style='text-align:left'>".$frm->admin_button('upload_remote_url',1,'create',IMALAN_149). '</td>
- Exclude checks
Call to deprecated function \e107::getDateConvert()
defined at /code/e107_handlers/e107_class.php:1948
Open
Open
<td>' .e107::getDateConvert()->convert_date($f['modified'])."</td>
- Exclude checks
Variable $tp
is undeclared Open
Open
$image_todb = $tp->toDB($image_name);
- Exclude checks
Variable $frm
is undeclared Open
Open
' .$frm->admin_button('uncheck_all', LAN_UNCHECKALL, 'action'). '
- Exclude checks
Assigning array<string></string>
to property but \media_cat_ui->fields
is array{media_cat_id:array{title:'ID',type:'number',width:'5%',nolist:true,forced:true,readonly:true},media_cat_image:array{title:'Image',type:'image',data:'str',width:'100px',thclass:'center',class:'center',readParms:'thumb=60&thumb_urlraw=0&thumb_aw=60',readonly:false,batch:false,filter:false},media_cat_owner:array{title:'Owner',type:'dropdown',width:'auto',thclass:'left',readonly:false},media_cat_type:array{title:'Type',type:'radio',data:false,width:'auto',thclass:'left',validate:true,nolist:true},media_cat_category:array{title:'Category',type:'text',data:'str',width:'auto',thclass:'left',readonly:true},media_cat_title:array{title:'Title',type:'text',width:'auto',thclass:'left',readonly:false,validate:true,writeParms:array{size:'xxlarge'}},media_cat_sef:array{title:'SEF URL',type:'text',width:'auto',thclass:'left',readonly:false,writeParms:array{size:'xxlarge',sef:'media_cat_title'}},media_cat_diz:array{title:'Description',type:'bbarea',width:'30%',readParms:'expand=...&truncate=150&bb=1',readonly:false},media_cat_class:array{title:'Visibility',type:'userclass',width:'auto',data:'int'},media_cat_order:array{title:'Order',type:'text',width:'5%',thclass:'right',class:'right'},options:array{title:'Options',type:'method',noedit:true,width:'10%',forced:true,thclass:'center last',class:'center'}}
Open
Open
$this->fields['media_cat_type']['writeParms'] = array('image' => IMALAN_143, 'file' => IMALAN_144, 'video' => IMALAN_163);
- Exclude checks
Call to deprecated function \e_form::selectbox()
defined at /code/e107_handlers/form_handler.php:3304
Open
Open
return $frm->selectbox('resize_method',$options,$curval)."<div class='field-help'>".IMALAN_4. '</div>';
- Exclude checks
Assigning array<string target="\'_blank\'" href="%5C'https://console.cloud.google.com/marketplace/product/google/youtube.googleapis.com%5C'%5Cx3eMore..%5Cx3c/a%5Cx3e'%7D%7D"></string>
to property but \media_admin_ui->prefs
is array{image_post:array{title:'Enable image display',tab:0,type:'boolean',data:'int',writeParms:'help=IMALAN_2'},image_post_class:array{title:'Image display class',type:'userclass',data:'int',writeParms:'help=IMALAN_11&classlist=public,guest,nobody,member,admin,main,classes'},image_post_disabled_method:array{title:'Disabled image method',type:'boolean',writeParms:'enabled=IMALAN_15&disabled=IMALAN_14'},resize_method:array{title:'Resize method',type:'method',data:'str'},thumbnail_quality:array{title:'Thumbnail Quality',type:'number',data:'int',writeParms:'',help:'Set this as low as possible before quality loss is apparent. Max. 100'},convert_to_jpeg:array{title:'Convert to jpeg during import',type:'boolean',data:'int',writeParms:'',help:'PNG and GIF files will be automatically converted to jpeg format. \x28icons excluded\x29'},convert_to_webp:array{title:'Convert to webp during import',type:'boolean',data:'int',writeParms:'',help:'JPEG, PNG and GIF files will be automatically converted to webp format. \x28icons excluded\x29'},thumb_to_webp:array{title:'Convert to webp during render',type:'boolean',data:'int',writeParms:'',help:'JPEG, PNG and GIF files will be automatically converted to webp format. \x28icons excluded\x29'},im_width:array{title:'Avatar Width',type:'number',data:'int',writeParms:'',help:'Avatar images will be constrained to these dimensions \x28in pixels\x29'},im_height:array{title:'Avatar Height',type:'number',data:'int',writeParms:'',help:'Avatar images will be constrained to these dimensions \x28in pixels\x29'},resize_dimensions:array{title:'Default Image Sizes',type:'method',data:'str'},watermark_activate:array{title:'Watermark Activation',tab:1,type:'number',data:'str',help:'All images with a width or height greater than this value will be given a watermark during resizing.'},watermark_text:array{title:'Watermark Text',tab:1,type:'text',data:'str',help:'Optional Watermark Text'},watermark_font:array{title:'Watermark Font',tab:1,type:'dropdown',data:'str',help:'Optional Watermark Font. Upload more .ttf fonts to the /fonts folder in your theme directory.'},watermark_size:array{title:'Watermark Size',tab:1,type:'number',data:'int',help:'Size of the font in pts'},watermark_pos:array{title:'Watermark Position',tab:1,type:'dropdown',data:'str',help:'Watermark Position'},watermark_margin:array{title:'Watermark Margin',tab:1,type:'number',data:'int',help:'The distance that watermark will appear from the edge of the image.'},watermark_color:array{title:'Watermark Color',tab:1,type:'text',data:'str',help:'Color of the watermark eg. 000000'},watermark_shadowcolor:array{title:'Watermark Shadow-Color',tab:1,type:'text',data:'str',help:'Shadow Color of the watermark eg. ffffff'},watermark_opacity:array{title:'Watermark Opacity',tab:1,type:'number',data:'int',help:'Enter a number between 1 and 100'},youtube_apikey:array{title:'YouTube Public API key',tab:2,type:'text',data:'str',help:'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc',writeParms:array{size:'xxlarge',post:''}},youtube_default_account:array{title:'Default YouTube account',tab:2,type:'text',data:'str',help:'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc',writeParms:array{size:'xxlarge',post:''}},youtube_rel:array{title:'Show Related Videos',tab:2,type:'boolean',data:'int',help:''},youtube_showinfo:array{title:'Show Video Info',tab:2,type:'boolean',data:'int',help:''},youtube_cc_load_policy:array{title:'Show Closed-Captions by default',tab:2,type:'boolean',data:'int',help:''},youtube_modestbranding:array{title:'Use Modest Branding',tab:2,type:'boolean',data:'int',help:''},youtube_bbcode_responsive:array{title:'Make the YouTube bbcode responsive',tab:2,type:'boolean',data:'int',help:''}}
Open
Open
$this->prefs['youtube_apikey']['writeParms']['post'] = " <a target='_blank' href='https://console.cloud.google.com/marketplace/product/google/youtube.googleapis.com'>".LAN_MORE. '</a>';
- Exclude checks
Assigning array<string>|array{0:'None'}}></string>
to property but \media_admin_ui->prefs
is array{image_post:array{title:'Enable image display',tab:0,type:'boolean',data:'int',writeParms:'help=IMALAN_2'},image_post_class:array{title:'Image display class',type:'userclass',data:'int',writeParms:'help=IMALAN_11&classlist=public,guest,nobody,member,admin,main,classes'},image_post_disabled_method:array{title:'Disabled image method',type:'boolean',writeParms:'enabled=IMALAN_15&disabled=IMALAN_14'},resize_method:array{title:'Resize method',type:'method',data:'str'},thumbnail_quality:array{title:'Thumbnail Quality',type:'number',data:'int',writeParms:'',help:'Set this as low as possible before quality loss is apparent. Max. 100'},convert_to_jpeg:array{title:'Convert to jpeg during import',type:'boolean',data:'int',writeParms:'',help:'PNG and GIF files will be automatically converted to jpeg format. \x28icons excluded\x29'},convert_to_webp:array{title:'Convert to webp during import',type:'boolean',data:'int',writeParms:'',help:'JPEG, PNG and GIF files will be automatically converted to webp format. \x28icons excluded\x29'},thumb_to_webp:array{title:'Convert to webp during render',type:'boolean',data:'int',writeParms:'',help:'JPEG, PNG and GIF files will be automatically converted to webp format. \x28icons excluded\x29'},im_width:array{title:'Avatar Width',type:'number',data:'int',writeParms:'',help:'Avatar images will be constrained to these dimensions \x28in pixels\x29'},im_height:array{title:'Avatar Height',type:'number',data:'int',writeParms:'',help:'Avatar images will be constrained to these dimensions \x28in pixels\x29'},resize_dimensions:array{title:'Default Image Sizes',type:'method',data:'str'},watermark_activate:array{title:'Watermark Activation',tab:1,type:'number',data:'str',help:'All images with a width or height greater than this value will be given a watermark during resizing.'},watermark_text:array{title:'Watermark Text',tab:1,type:'text',data:'str',help:'Optional Watermark Text'},watermark_font:array{title:'Watermark Font',tab:1,type:'dropdown',data:'str',help:'Optional Watermark Font. Upload more .ttf fonts to the /fonts folder in your theme directory.'},watermark_size:array{title:'Watermark Size',tab:1,type:'number',data:'int',help:'Size of the font in pts'},watermark_pos:array{title:'Watermark Position',tab:1,type:'dropdown',data:'str',help:'Watermark Position'},watermark_margin:array{title:'Watermark Margin',tab:1,type:'number',data:'int',help:'The distance that watermark will appear from the edge of the image.'},watermark_color:array{title:'Watermark Color',tab:1,type:'text',data:'str',help:'Color of the watermark eg. 000000'},watermark_shadowcolor:array{title:'Watermark Shadow-Color',tab:1,type:'text',data:'str',help:'Shadow Color of the watermark eg. ffffff'},watermark_opacity:array{title:'Watermark Opacity',tab:1,type:'number',data:'int',help:'Enter a number between 1 and 100'},youtube_apikey:array{title:'YouTube Public API key',tab:2,type:'text',data:'str',help:'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc',writeParms:array{size:'xxlarge',post:''}},youtube_default_account:array{title:'Default YouTube account',tab:2,type:'text',data:'str',help:'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc',writeParms:array{size:'xxlarge',post:''}},youtube_rel:array{title:'Show Related Videos',tab:2,type:'boolean',data:'int',help:''},youtube_showinfo:array{title:'Show Video Info',tab:2,type:'boolean',data:'int',help:''},youtube_cc_load_policy:array{title:'Show Closed-Captions by default',tab:2,type:'boolean',data:'int',help:''},youtube_modestbranding:array{title:'Use Modest Branding',tab:2,type:'boolean',data:'int',help:''},youtube_bbcode_responsive:array{title:'Make the YouTube bbcode responsive',tab:2,type:'boolean',data:'int',help:''}}
Open
Open
$this->prefs['watermark_font']['writeParms'] = $fonts;
- Exclude checks
Assigning array<string></string>
to property but \media_admin_ui->fields
is array{checkboxes:array{title:'',type:null,data:null,width:'5%',forced:true,thclass:'center',class:'center'},media_id:array{title:'ID',type:'number',data:'int',width:'5%',forced:true,nolist:true},media_preview:array{title:'Preview',type:'method',data:false,forced:true,width:'110px',thclass:'center',class:'center'},media_url:array{title:'Path',type:'text',data:'str',inline:false,thclass:'left',class:'left',width:'auto',writeParms:'size=xxlarge'},media_category:array{title:'Category',type:'comma',inline:false,data:'str',width:'10%',filter:true,batch:true,class:'left'},media_name:array{title:'Title',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_caption:array{title:'Caption',type:'text',data:'str',inline:true,width:'auto',writeParms:array{size:'xxlarge'}},media_sef:array{title:'URL',readonly:1,type:'method',data:false},media_description:array{title:'Description',type:'textarea',data:'str',width:'auto',thclass:'left first',readParms:'truncate=100',writeParms:'size=xxlarge&counter=0'},media_type:array{title:'Mime Type',type:'dropdown',data:'str',filter:true,width:'auto',noedit:true},media_author:array{title:'User',type:'user',data:'int',width:'auto',thclass:'center',class:'center',readParms:'link=1',filter:true,batch:true,noedit:true},media_datestamp:array{title:'Date stamp',type:'datestamp',data:'int',width:'10%',noedit:true},media_size:array{title:'Size',type:'number',data:'int',width:'auto',readonly:2},media_dimensions:array{title:'Dimensions',type:'text',data:'str',width:'5%',readonly:true,class:'nowrap',noedit:true},media_userclass:array{title:'Userclass',type:'userclass',data:'str',inline:true,width:'10%',thclass:'center',filter:true,batch:true},media_tags:array{title:'Tags/Keywords',type:'tags',inline:true,data:'str',width:'10%',filter:true,batch:true},media_usedby:array{title:'Used by',type:'hidden',data:'text',width:'auto',thclass:'center',class:'center',nolist:true,readonly:true},options:array{title:'Options',type:'method',data:null,forced:true,width:'10%',thclass:'center last',class:'center',batch:true,noedit:true}}
Open
Open
$this->fields['media_category']['nolist'] = true;
- Exclude checks
Invalid offset "from"
of array type array{bbcode:false|mixed}
Open
Open
$options['from'] .= (int) $_GET['from'];
- Exclude checks
Variable $pref
was undeclared, but array fields are being added to it. Open
Open
$pref['upload_storagetype'] = '1';
- Exclude checks
Call to deprecated function \avatar()
defined at /code/e107_handlers/avatar_handler.php:23
Open
Open
$avname=avatar($row['user_image']);
- Exclude checks
Variable $frm
is undeclared Open
Open
' .$frm->admin_button('submit_avdelete_multi', LAN_DELCHECKED, 'delete')."
- Exclude checks