e107_plugins/download/handlers/download_class.php
Avoid too many return
statements within this method. Open
Open
return $this->renderError();
Argument 2 (content)
is string
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:description', $metaDescription);
- Exclude checks
Invalid offset "download_sef"
of array type array{}
Open
Open
$download_sef = $dlrow['download_sef'];
- Exclude checks
Argument 1 (name)
is 'description'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('description', $metaDescription);
- Exclude checks
Argument 2 (content)
is string
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:image', $metaImage);
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('download',true);
- Exclude checks
Invalid offset "download_comment"
of array type array{}
Open
Open
if ($dlrow['download_comment'])
- Exclude checks
Invalid offset "download_name"
of array type array{}
Open
Open
$comments = e107::getComment()->compose_comment("download", "comment", $dlrow['download_id'], null, $dlrow['download_name'], FALSE, true);
- Exclude checks
Argument 1 (name)
is 'og:image'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:image', $metaImage);
- Exclude checks
Invalid offset "download_name"
of array type array{}
Open
Open
$breadcrumb[] = array('text' => $dlrow['download_name'], 'url' => e107::url('download','item', $dlrow));
- Exclude checks
Argument 3 (raw)
is null
but \e_parse::thumbUrl()
takes bool|false
defined at /code/e107_handlers/e_parse_class.php:2531
Open
Open
$metaImage = $tp->thumbUrl($row['download_image'], array('w'=>500), null, true);
- Exclude checks
Invalid offset "download_id"
of array type array{}
Open
Open
$comments = e107::getComment()->compose_comment("download", "comment", $dlrow['download_id'], null, $dlrow['download_name'], FALSE, true);
- Exclude checks
Argument 2 (prefix)
is false
but \http_build_query()
takes ?string
Open
Open
$nextprev_parms = http_build_query($nextprev,false); // 'tmpl_prefix='.deftrue('NEWS_NEXTPREV_TMPL', 'default').'&total='. $total_downloads.'&amount='.$amount.'¤t='.$newsfrom.$nitems.'&url='.$url;
- Exclude checks
Invalid offset "download_name"
of array type array{}
Open
Open
$download_name = $tp->toDB($dlrow['download_name']);
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('download',true);
- Exclude checks
Invalid offset "download_name"
of array type array{}
Open
Open
$download_name = e107::getParser()->toDB($this->rows['download_name']);
- Exclude checks
Argument 3 (id)
is null
but \comment::compose_comment()
takes int
defined at /code/e107_handlers/comment_class.php:1056
Open
Open
$comments = e107::getComment()->compose_comment("download", "comment", $dlrow['download_id'], null, $dlrow['download_name'], FALSE, true);
- Exclude checks
Assigning ''
to property but \download->templateHeader
is array
Open
Open
$this->templateHeader = '';
- Exclude checks
Argument 2 (content)
is string
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('twitter:image:src', $metaImage);
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('download',true);
- Exclude checks
Argument 1 (name)
is 'keywords'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('keywords', $row['download_keywords']);
- Exclude checks
Argument 3 (main_cat_load)
is null
but \downloadCategory::__construct()
takes string
defined at /code/e107_plugins/download/handlers/category_class.php:34
Open
Open
$dlcat = new downloadCategory(varset($pref['download_subsub'],1),USERCLASS_LIST, null ,varset($pref['download_incinfo'],FALSE));
- Exclude checks
Argument 1 (name)
is 'twitter:image:src'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('twitter:image:src', $metaImage);
- Exclude checks
Argument 2 (content)
is string
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('description', $metaDescription);
- Exclude checks
Argument 5 (subject)
is null
but \comment::compose_comment()
takes string
defined at /code/e107_handlers/comment_class.php:1056
Open
Open
$comments = e107::getComment()->compose_comment("download", "comment", $dlrow['download_id'], null, $dlrow['download_name'], FALSE, true);
- Exclude checks
Assigning ''
to property but \download->templateFooter
is array
Open
Open
$this->templateFooter = '';
- Exclude checks
Argument 1 (name)
is 'og:description'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:description', $metaDescription);
- Exclude checks
Argument 4 (width)
is null
but \comment::compose_comment()
takes int
defined at /code/e107_handlers/comment_class.php:1056
Open
Open
$comments = e107::getComment()->compose_comment("download", "comment", $dlrow['download_id'], null, $dlrow['download_name'], FALSE, true);
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('download',true);
- Exclude checks
Variable $sc_style
was undeclared, but array fields are being added to it. Open
Open
$sc_style['DOWNLOAD_LIST_NEXTPREV']['pre'] = "
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('download',true);
- Exclude checks
Invalid offset "download_id"
of array type array{}
Open
Open
$download_id = (int) $dlrow['download_id'];
- Exclude checks
Invalid offset "download_category_name"
of array type array{}
Open
Open
$breadcrumb[] = array('text' => $dlrow['download_category_name'], 'url' => e107::url('download','category', $dlrow));
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$mirrorList = $sql->db_getList("ALL", 0, 200, "mirror_id");
- Exclude checks
Invalid offset "download_class"
of array type array{}
Open
Open
if(!check_class($dlrow['download_class']) || !check_class($pref['download_reportbroken']))
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$scArray = $sql->db_getList();
- Exclude checks