e107_plugins/news/news.php
Variable $tmp
is undeclared (Did you mean $tp) Open
Open
unset($author,$tmp);
- 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',$news['news_meta_description']);
- Exclude checks
Argument 2 (content)
is 1200
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:image:width', 1200);
- Exclude checks
Argument 1 (total)
is bool|null
but \news_front::getPaginationParms()
takes int
defined at /code/e107_plugins/news/news.php:1991
Open
Open
$parms = $this->getPaginationParms($news_total, NEWSLIST_LIMIT);
- Exclude checks
Argument 1 (id)
is null
but \e_render::setUniqueId()
takes string
defined at /code/e107_handlers/e_render_class.php:212
Open
Open
$ns->setUniqueId(null); // prevent other tablerenders from using this content.
- Exclude checks
Argument 2 (content)
is 'noindex, follow'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('robots', 'noindex, follow');
- Exclude checks
Argument 1 (name)
is 'twitter:card'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('twitter:card', 'summary');
- Exclude checks
Argument 2 (content)
is 'summary'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('twitter:card', 'summary');
- 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', $metaImg);
- Exclude checks
Argument 1 (name)
is 'article:modified_time'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('article:modified_time', date('c', $modifiedTime));
- Exclude checks
Invalid offset "news_title"
of array type array{}
Open
Open
$itemName = e107::getParser()->toHTML($this->currentRow['news_title'],true, 'TITLE');
- Exclude checks
Argument 3 (parm)
is array{layout:'main',display:mixed}|array{scroll:mixed,layout:'main',display:mixed}
but \e_menu::renderMenu()
takes string
defined at /code/e107_handlers/menu_class.php:631
Open
Open
return e107::getMenu()->renderMenu('forum','newforumposts_menu', $parms, true);
- Exclude checks
Argument 1 (name)
is 'twitter:description'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('twitter:description', $news['news_summary']);
- Exclude checks
Argument 2 (options)
is 'w=1200'
but \e_parse::thumbUrl()
takes array
defined at /code/e107_handlers/e_parse_class.php:2531
Open
Open
$metaImg = $tp->thumbUrl($mimg,'w=1200',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',$metaImg);
- 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',$metaImg);
- Exclude checks
Argument 3 (subject)
is ?string
but \str_replace()
takes array|string
Open
Open
$this->addDebug("Query",str_replace('#',MPREFIX, $query));
- Exclude checks
Argument 1 (news)
is null
but \news_front::setNewsFrontMeta()
takes array
defined at /code/e107_plugins/news/news.php:581
Open
Open
$this->setNewsFrontMeta(null,$this->action);
- Exclude checks
Argument 3 (subject)
is 255
but \str_replace()
takes array|string
Open
Open
$this->nobody_regexp = "'(^|,)(".str_replace(",", "|", e_UC_NOBODY).")(,|$)'";
- Exclude checks
Returning type null
but render()
is declared to return bool
Open
Open
return null;
- Exclude checks
Argument 2 (content)
is 'noindex, follow'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('robots', 'noindex, follow');
- Exclude checks
Argument 2 (content)
is 'summary_large_image'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('twitter:card', 'summary_large_image');
- Exclude checks
Call to undeclared function \news_style()
Open
Open
$template = news_style($news, 'extend', $param);
- 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', $news['news_summary']);
- Exclude checks
Argument 1 (name)
is 'twitter:card'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('twitter:card', 'summary_large_image');
- Exclude checks
Argument 1 (name)
is 'robots'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('robots', 'noindex, follow');
- Exclude checks
Argument 1 (name)
is 'og:type'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:type','article');
- Exclude checks
Argument 2 (override)
is true
but \e107::title()
takes false|string
defined at /code/e107_handlers/e107_class.php:2885
Open
Open
e107::title($news['news_meta_title'], 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',$im);
- 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',$tp->thumbUrl($tmp[0],'w=500',false,true) );
- Exclude checks
Reference to undeclared constant \NEWSLIST_THUMB
Open
Open
$param['thumbnail'] =(defined("NEWSLIST_THUMB")) ? NEWSLIST_THUMB : "border:0px";
- Exclude checks
Suspicious array access to nullable ?array|?bool
Open
Open
$icon = ($row['category_icon']) ? "<img src='".e_IMAGE."icons/".$row['category_icon']."' alt='' />" : "";
- Exclude checks
Argument 6 (year)
is string
but \mktime()
takes int
Open
Open
$enddate = mktime(23, 59, 59, $month, $lastday, $year);
- Exclude checks
Returning type null
but renderNewForumPosts()
is declared to return string
Open
Open
return null;
- Exclude checks
Argument 2 (content)
is 'noindex, follow'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('robots', 'noindex, follow');
- Exclude checks
Argument 1 (name)
is 'article:published_time'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('article:published_time', date('c', $news['news_datestamp']));
- Exclude checks
Argument 6 (year)
is string
but \mktime()
takes int
Open
Open
$startdate = mktime(0, 0, 0, $month, $day, $year);
- Exclude checks
Invalid offset "category_name"
of array type array{}
Open
Open
$categoryName = e107::getParser()->toHTML($this->currentRow['category_name'],true, 'TITLE');
- Exclude checks
Argument 2 (content)
is 'noindex, follow'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('robots', 'noindex, follow');
- Exclude checks
Argument 1 (name)
is 'article:section'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('article:section', $news['category_name']);
- 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('article:modified_time', date('c', $modifiedTime));
- Exclude checks
Argument 1 (text)
is ?'All'|?'News'|?string
but \e_parse::toHTML()
takes string
defined at /code/e107_handlers/e_parse_class.php:1532
Open
Open
$NEWSLISTTITLE = str_replace("{NEWSCATEGORY}",$tp->toHTML($category_name,FALSE,'TITLE'),$NEWSLISTTITLE);
- Exclude checks
Argument 5 (day)
is false|string
but \mktime()
takes int
Open
Open
$startdate = mktime(0, 0, 0, $month, $day, $year);
- Exclude checks
Argument 4 (mon)
is false|string
but \mktime()
takes int
Open
Open
$startdate = mktime(0, 0, 0, $month, $day, $year);
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$newsAr = $sql -> db_getList();
- Exclude checks
Argument 1 (name)
is 'robots'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('robots', 'noindex, follow');
- Exclude checks
Argument 3 (row)
is null
but \e107::canonical()
takes array
defined at /code/e107_handlers/e107_class.php:4080
Open
Open
e107::canonical('news', 'index', null, $options);
- Exclude checks
Argument 1 (name)
is 'robots'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('robots', $news['news_meta_robots']);
- Exclude checks
Argument 2 (options)
is 'w=500'
but \e_parse::thumbUrl()
takes array
defined at /code/e107_handlers/e_parse_class.php:2531
Open
Open
e107::meta('og:image',$tp->thumbUrl($tmp[0],'w=500',false,true) );
- Exclude checks
Reference to undeclared constant \NEWSLIST_ITEMLINK
Open
Open
$param['itemlink'] = (defined("NEWSLIST_ITEMLINK")) ? NEWSLIST_ITEMLINK : "";
- Exclude checks
Reference to undeclared constant \NEWSLIST_CATICON
Open
Open
$param['caticon'] = (defined("NEWSLIST_CATICON")) ? NEWSLIST_CATICON : defset('ICONSTYLE');
- Exclude checks
Argument 1 (text)
is ?'All'|?'News'|?string
but \e_parse::toHTML()
takes string
defined at /code/e107_handlers/e_parse_class.php:1532
Open
Open
$NEWSLISTTITLE = str_replace("{NEWSCATEGORY}",$tp->toHTML($category_name,FALSE,'TITLE'), $template['caption']);
- Exclude checks
Found a return statement with a value in the implementation of the magic method \news_front::__construct,
expected void return type Open
Open
function __construct()
- Exclude checks
Argument 1 (text)
is null
but \e_parse::toHTML()
takes string
defined at /code/e107_handlers/e_parse_class.php:1532
Open
Open
$categoryName = e107::getParser()->toHTML($this->currentRow['category_name'],true, 'TITLE');
- Exclude checks
Reference to undeclared constant \NEWSLIST_CATLINK
Open
Open
$param['catlink'] = (defined("NEWSLIST_CATLINK")) ? NEWSLIST_CATLINK : "";
- Exclude checks
Invalid offset 1
of array type array{}
Open
Open
$this->setNewsFrontMeta($newsList[1], $this->action);
- Exclude checks
Assigning ?string
to property but \news_front->caption
is array|false|string
Open
Open
$this->caption = $caption;
- Exclude checks
Argument 1 (text)
is null
but \e_parse::toHTML()
takes string
defined at /code/e107_handlers/e_parse_class.php:1532
Open
Open
$itemName = e107::getParser()->toHTML($this->currentRow['news_title'],true, 'TITLE');
- Exclude checks
Argument 1 (name)
is 'robots'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('robots', 'noindex, follow');
- Exclude checks
Argument 1 (name)
is 'og:updated_time'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:updated_time', $modifiedTime);
- Exclude checks
Argument 2 (content)
is int
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:updated_time', $modifiedTime);
- 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',$news['news_meta_keywords']);
- Exclude checks
Argument 2 (Data)
is null
but \ecache::set()
takes string
defined at /code/e107_handlers/cache_handler.php:235
Open
Open
$e107cache->set($cache_tag, $cache_data);
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$newsList = $sql->db_getList();
- Exclude checks
Argument 4 (mon)
is false|string
but \mktime()
takes int
Open
Open
$startdate = mktime(0, 0, 0, $month, $day, $year);
- Exclude checks
Argument 2 (content)
is 'article'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:type','article');
- 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',"https://img.youtube.com/vi/".$img."/0.jpg");
- 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',"https://img.youtube.com/vi/".$img."/0.jpg");
- 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('article:published_time', date('c', $news['news_datestamp']));
- Exclude checks
Argument 1 (name)
is 'article:tag'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('article:tag', trim($t));
- 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',$tp->thumbUrl($tmp[0],'w=500',false,true) );
- Exclude checks
Argument 6 (year)
is string
but \mktime()
takes int
Open
Open
$startdate = mktime(0, 0, 0, $month, $day, $year);
- Exclude checks
Reference to undeclared property \e_db->total_results
Open
Open
$news_total=$sql->total_results;
- Exclude checks
Invalid offset 1
of array type array{}
Open
Open
$newsdata[$loop] .= $this->ix->render_newsitem($news, 'return', '', '', $param);
- Exclude checks
Returning type string|true
but renderCache()
is declared to return null
Open
Open
return $this->text;
- Exclude checks
Argument 1 (news)
is null
but \news_front::setNewsFrontMeta()
takes array
defined at /code/e107_plugins/news/news.php:581
Open
Open
$this->setNewsFrontMeta($newsList[1], $this->action);
- Exclude checks
Reference to undeclared constant \NEWS_LAYOUT
Open
Open
$this->templateKey = NEWS_LAYOUT;
- Exclude checks
Argument 1 (name)
is 'og:image:width'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('og:image:width', 1200);
- Exclude checks
Argument 1 (name)
is 'twitter:image'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('twitter:image', $metaImg);
- 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('article:tag', trim($t));
- Exclude checks
Argument 4 (width)
is null
but \comment::compose_comment()
takes int
defined at /code/e107_handlers/comment_class.php:1056
Open
Open
$text = e107::getComment()->compose_comment('news', 'comment', $news['news_id'], null, $news['news_title'], false, 'html');
- Exclude checks
Argument 5 (day)
is false|string
but \mktime()
takes int
Open
Open
$enddate = mktime(23, 59, 59, $month, $lastday, $year);
- Exclude checks
Invalid offset 1
of array type array{}
Open
Open
$newsdata[$loop] .= "<div class='{$ALTERNATECLASSES[0]}'>".$this->ix->render_newsitem($news, "return", '', '', $param)."</div>";
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$newsAr = $sql -> db_getList();
- Exclude checks
Argument 1 (name)
is 'robots'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('robots', 'noindex, follow');
- Exclude checks
Variable $newsUrlparms
was undeclared, but array fields are being added to it. Open
Open
if(vartrue($newsAr[1]['category_sef'])) $newsUrlparms['name'] = $newsAr[1]['category_sef'];
- Exclude checks
Argument 1 (name)
is 'twitter:description'
but \e107::meta()
takes null
defined at /code/e107_handlers/e107_class.php:2861
Open
Open
e107::meta('twitter:description',$news['news_meta_description']);
- Exclude checks
Argument 4 (mon)
is false|string
but \mktime()
takes int
Open
Open
$enddate = mktime(23, 59, 59, $month, $lastday, $year);
- Exclude checks
Call to undeclared method \e_db::db_getList
Open
Open
$newsAr = $sql -> db_getList();
- Exclude checks
Variable $tmp
is undeclared (Did you mean $tp) Open
Open
unset($word,$tmp);
- 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',$news['news_meta_description']);
- Exclude checks
Argument 1 (text)
is ?'All'|?'News'|?string
but \e_parse::toHTML()
takes string
defined at /code/e107_handlers/e_parse_class.php:1532
Open
Open
$NEWSLISTTITLE = LAN_NEWS_82." '".$tp->toHTML($category_name,FALSE,'TITLE')."'";
- Exclude checks
Call to undeclared function \news_style()
Open
Open
$template = news_style($news, $action, $param);
- Exclude checks
Reference to undeclared constant \NEWS_NEXTPREV_NAVCOUNT
Open
Open
$opts['navcount'] = NEWS_NEXTPREV_NAVCOUNT;
- Exclude checks