( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category.php on line 191 |
---|
Call Stack |
---|
# | Time | Memory | Function | Location |
---|
1 | 0.0002 | 398344 | {main}( ) | .../index.php:0 |
2 | 0.0306 | 1348688 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0306 | 1348688 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.1194 | 2790880 | Joomla\CMS\Application\SiteApplication->dispatch( $component = ??? ) | .../SiteApplication.php:233 |
5 | 0.1198 | 2815280 | Joomla\CMS\Component\ComponentHelper::renderComponent( $option = 'com_k2', $params = ??? ) | .../SiteApplication.php:194 |
6 | 0.1202 | 2870632 | Joomla\CMS\Component\ComponentHelper::executeComponent( $path = '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:377 |
7 | 0.1203 | 2887688 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php ) | .../ComponentHelper.php:402 |
8 | 0.1237 | 3019928 | K2ControllerItemlist->execute( $task = 'category' ) | .../k2.php:64 |
9 | 0.1237 | 3019928 | K2ControllerItemlist->display( $cachable = ???, $urlparams = ??? ) | .../BaseController.php:710 |
10 | 0.1260 | 3043552 | K2ControllerItemlist->display( $cachable = TRUE, $urlparams = ['limit' => 'UINT', 'limitstart' => 'UINT', 'id' => 'INT', 'tag' => 'STRING', 'searchword' => 'STRING', 'day' => 'INT', 'year' => 'INT', 'month' => 'INT', 'print' => 'INT', 'lang' => 'CMD', 'Itemid' => 'INT', 'ordering' => 'CMD', 'm' => 'INT', 'amp' => 'INT', 'tmpl' => 'CMD', 'template' => 'CMD'] ) | .../itemlist.php:49 |
11 | 0.1260 | 3043552 | K2ControllerItemlist->display( $cachable = TRUE, $urlparams = ['limit' => 'UINT', 'limitstart' => 'UINT', 'id' => 'INT', 'tag' => 'STRING', 'searchword' => 'STRING', 'day' => 'INT', 'year' => 'INT', 'month' => 'INT', 'print' => 'INT', 'lang' => 'CMD', 'Itemid' => 'INT', 'ordering' => 'CMD', 'm' => 'INT', 'amp' => 'INT', 'tmpl' => 'CMD', 'template' => 'CMD'] ) | .../controller.php:19 |
12 | 0.1267 | 3051064 | Joomla\CMS\Cache\Controller\ViewController->get( $view = class K2ViewItemlist { public $document = class Joomla\CMS\Document\HtmlDocument { public $_links = [...]; public $_custom = [...]; public $template = NULL; public $baseurl = NULL; public $params = NULL; public $_file = NULL; protected $_template = ''; protected $_template_tags = [...]; protected $_caching = NULL; private $_html5 = NULL; public $title = 'Qnap'; public $description = ''; public $link = ''; public $base = 'https://www.shan.info/itemlist/category/67-qnap.html'; public $language = 'en-gb'; public $direction = 'ltr'; public $_generator = 'Joomla! - Open Source Content Management'; public $_mdate = ''; public $_tab = '\t'; public $_lineEnd = '\n'; public $_charset = 'utf-8'; public $_mime = 'text/html'; public $_namespace = ''; public $_profile = ''; public $_scripts = [...]; public $_script = [...]; protected $scriptOptions = [...]; public $_styleSheets = [...]; public $_style = [...]; public $_metaTags = [...]; public $_engine = NULL; public $_type = 'html'; protected $mediaVersion = '15dbf078d61dbbf76811992dd0143dd9' }; protected $_name = 'itemlist'; protected $_models = ['item' => class K2ModelItem { ... }, 'itemlist' => class K2ModelItemlist { ... }]; protected $_basePath = '/var/www/vhosts/shan.info/httpdocs/components/com_k2'; protected $_defaultModel = 'itemlist'; protected $_layout = 'category'; protected $_layoutExt = 'php'; protected $_layoutTemplate = '_'; protected $_path = ['template' => [...], 'helper' => [...]]; protected $_template = '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category_item.php'; protected $_output = '\n<article class="itemView groupPrimary"> \t\n\t\t<time datetime="2012-11-01T17:07:27+01:00">\n\t\t01 Nov\t</time>\n\t\t\t\n\t<section>\t\t\n\t\t<header>\n\t\t\t\t\n\t\t\t\t\t\t<h2>\n\t\t\t\t\t\t\t\t\t\t<a href="/item/333-seagate-st3000dm001-3tb-drives-chirping-and-clicking.html">Seagate ST3000DM001 3TB drives...chirping and clicking</a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t\n\t\t\t<ul>\n\t\t\t\t\t\t\t\t<li class="itemCategory"> <span>Published in</span> <a href="/itemlist/category/67-qnap.html">Q'; protected $_escape = 'htmlspecialchars'; protected $_charset = 'UTF-8'; protected $_errors = []; public $baseurl = ''; public $now = '2021-01-24 03:50:08'; public $nullDate = '0000-00-00 00:00:00'; public $category = class TableK2Category { public $id = '67'; public $name = 'Qnap'; public $alias = 'qnap'; public $description = ''; public $parent = '0'; public $extraFieldsGroup = '0'; public $published = '1'; public $image = '/components/com_k2/images/placeholder/category.png'; public $access = '1'; public $ordering = '27'; public $params = '{"inheritFrom":"0","theme":"","num_leading_items":"0","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"10","num_primary_columns":"1","primaryImgSize":"Medium","num_secondary_items":"0","num_secondary_columns":"1","secondaryImgSize":"Small","num_links":"0","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"1","catDescription":"0","catImage":"0",'; public $trash = '0'; public $plugins = ''; public $language = '*'; protected $_tbl = '#__k2_categories'; protected $_tbl_key = 'id'; protected $_tbl_keys = [...]; protected $_db = class JDatabaseDriverMysqli { ... }; protected $_trackAssets = FALSE; protected $_rules = NULL; protected $_locked = FALSE; protected $_autoincrement = TRUE; protected $_observers = class JObserverUpdater { ... }; protected $_columnAlias = [...]; protected $_jsonEncode = [...]; protected $_errors = [...]; public $metaDescription = NULL; public $metaKeywords = NULL; public $metaRobots = NULL; public $metaAuthor = NULL; public $link = '/itemlist/category/67-qnap.html'; public $text = ''; public $jcfields = [...]; public $event = class stdClass { ... } }; public $user = class Joomla\CMS\User\User { protected $isRoot = FALSE; public $id = 0; public $name = NULL; public $username = NULL; public $email = NULL; public $password = NULL; public $password_clear = ''; public $block = NULL; public $sendEmail = 0; public $registerDate = NULL; public $lastvisitDate = NULL; public $activation = NULL; public $params = NULL; public $groups = [...]; public $guest = 1; public $lastResetTime = NULL; public $resetCount = NULL; public $requireReset = NULL; protected $_params = class Joomla\Registry\Registry { ... }; protected $_authGroups = NULL; protected $_authLevels = [...]; protected $_authActions = NULL; protected $_errorMsg = NULL; protected $userHelper = class Joomla\CMS\User\UserWrapper { ... }; protected $_errors = [...]; public $aid = 0; public $gid = 1 }; public $feed = 'https://www.shan.info/itemlist/category/67-qnap.html&format=feed&Itemid=53'; public $leading = []; public $primary = [0 => class stdClass { ... }, 1 => class stdClass { ... }, 2 => class stdClass { ... }, 3 => class stdClass { ... }, 4 => class stdClass { ... }, 5 => class stdClass { ... }, 6 => class stdClass { ... }, 7 => class stdClass { ... }, 8 => class stdClass { ... }, 9 => class stdClass { ... }]; public $secondary = []; public $links = []; public $params = class Joomla\Registry\Registry { protected $data = class stdClass { ... }; protected $initialized = TRUE; public $separator = '.' }; public $pagination = class Joomla\CMS\Pagination\Pagination { public $limitstart = 0; public $limit = 10; public $total = 12; public $prefix = ''; public $pagesStart = 1; public $pagesStop = 2; public $pagesCurrent = 1; public $pagesTotal = 2; public $hideEmptyLimitstart = FALSE; protected $viewall = FALSE; protected $additionalUrlParams = [...]; protected $app = class Joomla\CMS\Application\SiteApplication { ... }; protected $data = NULL }; public $item = class stdClass { public $id = '333'; public $title = 'Seagate ST3000DM001 3TB drives...chirping and clicking'; public $alias = 'seagate-st3000dm001-3tb-drives-chirping-and-clicking'; public $catid = '67'; public $published = '1'; public $introtext = 'Hi,I am using a QNAP TS-659 PROII and it\'s fantasitc. I have five 3TB Seagate ST3000DM001-9YN1CC4B drives and they all click, spin down and spin up constantly every 20 seconds or so. Most of you would know that this is the head parking and the drive spinning down. This is called a \'load cycle\' and the drives are only rated for about 300,000 of them. Some people are reporting a lot of load cycles so not only are they noising and annoying but they\'re also putting mechanical stress on the drives.I have upd'; public $fulltext = ''; public $video = NULL; public $gallery = NULL; public $extra_fields = '[]'; public $extra_fields_search = ''; public $created = '2012-11-01 16:07:27'; public $created_by = '63'; public $created_by_alias = ''; public $checked_out = '0'; public $checked_out_time = '0000-00-00 00:00:00'; public $modified = '2013-01-05 12:08:18'; public $modified_by = '63'; public $publish_up = '2012-11-01 16:07:27'; public $publish_down = '0000-00-00 00:00:00'; public $trash = '0'; public $access = '1'; public $ordering = '3'; public $featured = '0'; public $featured_ordering = '0'; public $image_caption = ''; public $image_credits = ''; public $video_caption = ''; public $video_credits = ''; public $hits = '1673'; public $params = class Joomla\Registry\Registry { ... }; public $metadesc = ''; public $metadata = 'robots=\nauthor='; public $metakey = ''; public $plugins = ''; public $language = '*'; public $categoryname = 'Qnap'; public $categoryid = '67'; public $categoryalias = 'qnap'; public $categoryparams = '{"inheritFrom":"0","theme":"","num_leading_items":"0","num_leading_columns":"1","leadingImgSize":"Large","num_primary_items":"10","num_primary_columns":"1","primaryImgSize":"Medium","num_secondary_items":"0","num_secondary_columns":"1","secondaryImgSize":"Small","num_links":"0","num_links_columns":"1","linksImgSize":"XSmall","catCatalogMode":"0","catFeaturedItems":"1","catOrdering":"","catPagination":"2","catPaginationResults":"1","catTitle":"1","catTitleItemCounter":"1","catDescription":"0","catImage":"0",'; public $itemGroup = 'primary'; public $category = class TableK2Category { ... }; public $link = '/item/333-seagate-st3000dm001-3tb-drives-chirping-and-clicking.html'; public $printLink = '/item/333-seagate-st3000dm001-3tb-drives-chirping-and-clicking.html?tmpl=component&print=1'; public $tags = [...]; public $imageXSmall = ''; public $imageSmall = ''; public $imageMedium = ''; public $imageLarge = ''; public $imageXLarge = ''; public $rawTitle = 'Seagate ST3000DM001 3TB drives...chirping and clicking'; public $author = class Joomla\CMS\User\User { ... }; public $text = 'Hi,I am using a QNAP TS-659 PROII and it\'s fantasitc. I have five 3TB Seagate ST3000DM001-9YN1CC4B drives and they all click, spin down and spin up constantly every 20 seconds or so. Most of you would know that this is the head parking and the drive spinning down. This is called a \'load cycle\' and the drives are only rated for about 300,000 of them. Some people are reporting a lot of load cycles so not only are they noising and annoying but they\'re also putting mechanical stress on the drives.I have upd'; public $event = class stdClass { ... }; public $jcfields = [...]; public $image = ''; public $imageWidth = '400' } }, $method = 'display', $id = ???, $wrkarounds = ??? ) | .../BaseController.php:663 |
13 | 0.1272 | 3071752 | K2ViewItemlist->display( $tpl = ??? ) | .../ViewController.php:102 |
14 | 0.1853 | 4145688 | K2ViewItemlist->display( $tpl = NULL ) | .../view.html.php:1407 |
15 | 0.1853 | 4145688 | K2ViewItemlist->loadTemplate( $tpl = NULL ) | .../HtmlView.php:230 |
16 | 0.1860 | 4222512 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/category.php ) | .../HtmlView.php:701 |