object(Cake\Event\Event) {
data => [
'request' => object(Cake\Network\Request) {},
'response' => object(Cake\Network\Response) {}
]
result => null
[protected] _name => 'Dispatcher.afterDispatch'
[protected] _subject => object(Cake\Routing\Dispatcher) {
[protected] _filters => [
[maximum depth reached]
]
[protected] _eventManager => object(Cake\Event\EventManager) {}
[protected] _eventClass => '\Cake\Event\Event'
}
[protected] _stopped => false
}
object(Cake\Network\Request) {
params => [
'plugin' => null,
'controller' => 'Users',
'action' => 'index',
'_ext' => null,
'pass' => [],
'isAjax' => false
]
data => []
query => []
cookies => []
url => ''
base => '/gwg_live'
webroot => '/gwg_live/'
here => '/gwg_live/'
trustProxy => false
[protected] _environment => [
'USER' => 'essin',
'HOME' => '/home/essin',
'SCRIPT_NAME' => '/gwg_live/webroot/index.php',
'REQUEST_URI' => '/gwg_live/',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/gwg_live/webroot/',
'REMOTE_PORT' => '58488',
'SCRIPT_FILENAME' => '/home/essin/public_html/gwg_live/webroot/index.php',
'SERVER_ADMIN' => 'webmaster@eternalsoft.in',
'CONTEXT_DOCUMENT_ROOT' => '/home/essin/public_html',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/home/essin/public_html',
'REMOTE_ADDR' => '3.239.109.55',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '172.31.17.13',
'SERVER_NAME' => 'www.eternalsoft.in',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin',
'HTTP_X_HTTPS' => '1',
'HTTP_CONNECTION' => 'Keep-Alive',
'HTTP_HOST' => 'www.eternalsoft.in',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_IF_MODIFIED_SINCE' => 'Sun, 29 Nov 2020 17:34:53 GMT',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'proxy-nokeepalive' => '1',
'SSL_TLS_SNI' => 'www.eternalsoft.in',
'HTTPS' => 'on',
'SCRIPT_URI' => 'https://www.eternalsoft.in/gwg_live/',
'SCRIPT_URL' => '/gwg_live/',
'UNIQUE_ID' => 'YAMJeVg8-cJdYY5j4AdmVwAAAAY',
'REDIRECT_STATUS' => '200',
'REDIRECT_SSL_TLS_SNI' => 'www.eternalsoft.in',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SCRIPT_URI' => 'https://www.eternalsoft.in/gwg_live/',
'REDIRECT_SCRIPT_URL' => '/gwg_live/',
'REDIRECT_UNIQUE_ID' => 'YAMJeVg8-cJdYY5j4AdmVwAAAAY',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.eternalsoft.in',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.eternalsoft.in/gwg_live/',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/gwg_live/',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'YAMJeVg8-cJdYY5j4AdmVwAAAAY',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/gwg_live/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1610811769.5484,
'REQUEST_TIME' => (int) 1610811769,
'argv' => [],
'argc' => (int) 0,
'HTTP_X_HTTP_METHOD_OVERRIDE' => null,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null
]
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'post' => false,
'put' => false,
'patch' => false,
'delete' => false,
'requested' => false
]
[protected] _input => ''
[protected] _session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '604800'
[protected] _isCLI => false
}
}
object(Cake\Network\Response) {
[protected] _statusCodes => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 307 => 'Temporary Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Time-out',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Request Entity Too Large',
(int) 414 => 'Request-URI Too Large',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Requested range not satisfiable',
(int) 417 => 'Expectation Failed',
(int) 429 => 'Too Many Requests',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Time-out',
(int) 505 => 'Unsupported Version'
]
[protected] _mimeTypes => [
'html' => [
(int) 0 => 'text/html',
(int) 1 => '*/*'
],
'json' => 'application/json',
'xml' => [
(int) 0 => 'application/xml',
(int) 1 => 'text/xml'
],
'rss' => 'application/rss+xml',
'ai' => 'application/postscript',
'bcpio' => 'application/x-bcpio',
'bin' => 'application/octet-stream',
'ccad' => 'application/clariscad',
'cdf' => 'application/x-netcdf',
'class' => 'application/octet-stream',
'cpio' => 'application/x-cpio',
'cpt' => 'application/mac-compactpro',
'csh' => 'application/x-csh',
'csv' => [
(int) 0 => 'text/csv',
(int) 1 => 'application/vnd.ms-excel'
],
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dms' => 'application/octet-stream',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'drw' => 'application/drafting',
'dvi' => 'application/x-dvi',
'dwg' => 'application/acad',
'dxf' => 'application/dxf',
'dxr' => 'application/x-director',
'eot' => 'application/vnd.ms-fontobject',
'eps' => 'application/postscript',
'exe' => 'application/octet-stream',
'ez' => 'application/andrew-inset',
'flv' => 'video/x-flv',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'bz2' => 'application/x-bzip',
'7z' => 'application/x-7z-compressed',
'hdf' => 'application/x-hdf',
'hqx' => 'application/mac-binhex40',
'ico' => 'image/x-icon',
'ips' => 'application/x-ipscript',
'ipx' => 'application/x-ipix',
'js' => 'application/javascript',
'jsonapi' => 'application/vnd.api+json',
'latex' => 'application/x-latex',
'lha' => 'application/octet-stream',
'lsp' => 'application/x-lisp',
'lzh' => 'application/octet-stream',
'man' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'mif' => 'application/vnd.mif',
'ms' => 'application/x-troff-ms',
'nc' => 'application/x-netcdf',
'oda' => 'application/oda',
'otf' => 'font/otf',
'pdf' => 'application/pdf',
'pgn' => 'application/x-chess-pgn',
'pot' => 'application/vnd.ms-powerpoint',
'pps' => 'application/vnd.ms-powerpoint',
'ppt' => 'application/vnd.ms-powerpoint',
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'ppz' => 'application/vnd.ms-powerpoint',
'pre' => 'application/x-freelance',
'prt' => 'application/pro_eng',
'ps' => 'application/postscript',
'roff' => 'application/x-troff',
'scm' => 'application/x-lotusscreencam',
'set' => 'application/set',
'sh' => 'application/x-sh',
'shar' => 'application/x-shar',
'sit' => 'application/x-stuffit',
'skd' => 'application/x-koan',
'skm' => 'application/x-koan',
'skp' => 'application/x-koan',
'skt' => 'application/x-koan',
'smi' => 'application/smil',
'smil' => 'application/smil',
'sol' => 'application/solids',
'spl' => 'application/x-futuresplash',
'src' => 'application/x-wais-source',
'step' => 'application/STEP',
'stl' => 'application/SLA',
'stp' => 'application/STEP',
'sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
'swf' => 'application/x-shockwave-flash',
't' => 'application/x-troff',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texi' => 'application/x-texinfo',
'texinfo' => 'application/x-texinfo',
'tr' => 'application/x-troff',
'tsp' => 'application/dsptype',
'ttc' => 'font/ttf',
'ttf' => 'font/ttf',
'unv' => 'application/i-deas',
'ustar' => 'application/x-ustar',
'vcd' => 'application/x-cdlink',
'vda' => 'application/vda',
'xlc' => 'application/vnd.ms-excel',
'xll' => 'application/vnd.ms-excel',
'xlm' => 'application/vnd.ms-excel',
'xls' => 'application/vnd.ms-excel',
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'xlw' => 'application/vnd.ms-excel',
'zip' => 'application/zip',
'aif' => 'audio/x-aiff',
'aifc' => 'audio/x-aiff',
'aiff' => 'audio/x-aiff',
'au' => 'audio/basic',
'kar' => 'audio/midi',
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mp2' => 'audio/mpeg',
'mp3' => 'audio/mpeg',
'mpga' => 'audio/mpeg',
'ogg' => 'audio/ogg',
'oga' => 'audio/ogg',
'spx' => 'audio/ogg',
'ra' => 'audio/x-realaudio',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'snd' => 'audio/basic',
'tsi' => 'audio/TSP-audio',
'wav' => 'audio/x-wav',
'aac' => 'audio/aac',
'asc' => 'text/plain',
'c' => 'text/plain',
'cc' => 'text/plain',
'css' => 'text/css',
'etx' => 'text/x-setext',
'f' => 'text/plain',
'f90' => 'text/plain',
'h' => 'text/plain',
'hh' => 'text/plain',
'htm' => [
(int) 0 => 'text/html',
(int) 1 => '*/*'
],
'ics' => 'text/calendar',
'm' => 'text/plain',
'rtf' => 'text/rtf',
'rtx' => 'text/richtext',
'sgm' => 'text/sgml',
'sgml' => 'text/sgml',
'tsv' => 'text/tab-separated-values',
'tpl' => 'text/template',
'txt' => 'text/plain',
'text' => 'text/plain',
'avi' => 'video/x-msvideo',
'fli' => 'video/x-fli',
'mov' => 'video/quicktime',
'movie' => 'video/x-sgi-movie',
'mpe' => 'video/mpeg',
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'qt' => 'video/quicktime',
'viv' => 'video/vnd.vivo',
'vivo' => 'video/vnd.vivo',
'ogv' => 'video/ogg',
'webm' => 'video/webm',
'mp4' => 'video/mp4',
'm4v' => 'video/mp4',
'f4v' => 'video/mp4',
'f4p' => 'video/mp4',
'm4a' => 'audio/mp4',
'f4a' => 'audio/mp4',
'f4b' => 'audio/mp4',
'gif' => 'image/gif',
'ief' => 'image/ief',
'jpg' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpe' => 'image/jpeg',
'pbm' => 'image/x-portable-bitmap',
'pgm' => 'image/x-portable-graymap',
'png' => 'image/png',
'pnm' => 'image/x-portable-anymap',
'ppm' => 'image/x-portable-pixmap',
'ras' => 'image/cmu-raster',
'rgb' => 'image/x-rgb',
'tif' => 'image/tiff',
'tiff' => 'image/tiff',
'xbm' => 'image/x-xbitmap',
'xpm' => 'image/x-xpixmap',
'xwd' => 'image/x-xwindowdump',
'ice' => 'x-conference/x-cooltalk',
'iges' => 'model/iges',
'igs' => 'model/iges',
'mesh' => 'model/mesh',
'msh' => 'model/mesh',
'silo' => 'model/mesh',
'vrml' => 'model/vrml',
'wrl' => 'model/vrml',
'mime' => 'www/mime',
'pdb' => 'chemical/x-pdb',
'xyz' => 'chemical/x-pdb',
'javascript' => 'application/javascript',
'form' => 'application/x-www-form-urlencoded',
'file' => 'multipart/form-data',
'xhtml' => [
(int) 0 => 'application/xhtml+xml',
(int) 1 => 'application/xhtml',
(int) 2 => 'text/xhtml'
],
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
'atom' => 'application/atom+xml',
'amf' => 'application/x-amf',
'wap' => [
(int) 0 => 'text/vnd.wap.wml',
(int) 1 => 'text/vnd.wap.wmlscript',
(int) 2 => 'image/vnd.wap.wbmp'
],
'wml' => 'text/vnd.wap.wml',
'wmlscript' => 'text/vnd.wap.wmlscript',
'wbmp' => 'image/vnd.wap.wbmp',
'woff' => 'application/x-font-woff',
'webp' => 'image/webp',
'appcache' => 'text/cache-manifest',
'manifest' => 'text/cache-manifest',
'htc' => 'text/x-component',
'rdf' => 'application/xml',
'crx' => 'application/x-chrome-extension',
'oex' => 'application/x-opera-extension',
'xpi' => 'application/x-xpinstall',
'safariextz' => 'application/octet-stream',
'webapp' => 'application/x-web-app-manifest+json',
'vcf' => 'text/x-vcard',
'vtt' => 'text/vtt',
'mkv' => 'video/x-matroska',
'pkpass' => 'application/vnd.apple.pkpass',
'ajax' => 'text/html'
]
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => []
[protected] _body => '<!DOCTYPE html>
<html id="top">
<head>
<title>Military model specialist: Green Wolf Studios, scale weapons and figures</title><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="description" content="Military model specialist: Green Wolf Studios. We design, make and supply detailed 1/6th scale replica weapons and collectible action figures as well as bespoke items for defence and model companies"/><meta name="keywords" content="military model specialist, Green Wolf Studios, 1/6th scale replica weapons and collectible action figures, bespoke military models for defence and model companies, replica military model manufacturer, resin scale models"/>
<link href="/gwg_live/favicon.ico?1594127719" type="image/x-icon" rel="icon"/><link href="/gwg_live/favicon.ico?1594127719" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" href="/gwg_live/front/css/bootstrap.min.css?1593893903"/><link rel="stylesheet" href="/gwg_live/front/css/style.css?1593893963"/><link rel="stylesheet" href="/gwg_live/front/css/nav.css?1593893954"/><link rel="stylesheet" href="/gwg_live/front/css/responsive.css?1593893958"/><link rel="stylesheet" href="/gwg_live/front/css/font-awesome.min.css?1593893948"/><link rel="stylesheet" href="/gwg_live/front/css/animate.css?1593893895"/><link rel="stylesheet" href="/gwg_live/front/css/component.css?1593893905"/><link rel="stylesheet" href="/gwg_live/front/css/font-awesome.4.5.0.min.css?1593893947"/><script src="/gwg_live/front/js/jquery.min.js?1593894147"></script><script src="/gwg_live/front/js/bootstrap.min.js?1593894131"></script><script src="/gwg_live/front/js/general.js?1593894141"></script><script src="/gwg_live/front/js/smoothscroll.js?1593894154"></script><link rel="stylesheet" href="/gwg_live/front/css/theme.ui.css?1593893963"/><script src="/gwg_live/front/js/jquery.blockui.min.js?1593894144"></script><script src="/gwg_live/front/js/theme.ui.js?1593894154"></script><script src="/gwg_live/admin_theme/js/../js/global/plugins/jquery-validation/js/jquery.validate.min.js?1593894345"></script> <script type="text/javascript">
var SITE_URL = 'https://www.eternalsoft.in/gwg_live/';
var js_config = {
site_url : 'https://www.eternalsoft.in/gwg_live/'
};
</script>
</head>
<body class="cbp-spmenu-push">
<nav class="cbp-spmenu cbp-spmenu-vertical cbp-spmenu-right" id="cbp-spmenu-s2">
<ul>
<li>
<a href="/gwg_live/products">Products</a> </li>
<li class="submenu_responsive">
<a href="https://www.greenwolfgear.shop/" target="_blank">Web Store</a> </li>
<li>
<a href="/gwg_live/where-to-buy">Where To Buy</a> </li>
<li>
<a href="/gwg_live/our-clients">Our Clients</a> </li>
<li>
<a href="/gwg_live/company-profile">Company Profile</a> </li>
<li>
<a href="/gwg_live/enquiries">Enquiries</a> </li>
<!--
<li class="submenu_responsive nav-cart-menu">
</li>
-->
<li>
<ul class="screen">
<li>
<a href="https://www.facebook.com/Green-Wolf-Gear-1418436428424970/?fref=ts" target="_blank"><i class="fa fa-facebook " aria-hidden="true"></i></a> </li>
<li>
<a href="https://twitter.com/Green_Wolf_Gear" target="_blank"><i class="fa fa-twitter " aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.flickr.com/people/greenwolfgear/" target="_blank"><i class="fa fa-flickr " aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.pinterest.com/jmccormick0403/" target="_blank"><i class="fa fa-pinterest-p " aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.instagram.com/green_wolf_gear/" target="_blank"><i class="fa fa-instagram " aria-hidden="true"></i></a> </li>
</ul> </li>
</ul>
</nav>
<div class="site-container">
<div class="tablet_sticky_menu">
<a href="/gwg_live"><img src="/gwg_live/front/img/tablet_sticky_logo_side.jpg?1594129506" style="display:none;" alt=""/></a> <button id="showRightPush"></button>
</div>
<div class="site-pusher">
<div class="home-maintop">
<section id="header-menu">
<section id="main_header_portion">
<div class="container">
<div class="mainlogo">
<img src="/gwg_live/front/img/logo.png?1593894067" class="img-responsive" alt=""/> </div>
<div class="socialarea">
<div class="socialheader">
<ul class="">
<li>
<a href="https://www.facebook.com/Green-Wolf-Gear-1418436428424970/?fref=ts" target="_blank"><i class="fa fa-facebook " aria-hidden="true"></i></a> </li>
<li>
<a href="https://twitter.com/Green_Wolf_Gear" target="_blank"><i class="fa fa-twitter " aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.flickr.com/people/greenwolfgear/" target="_blank"><i class="fa fa-flickr " aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.pinterest.com/jmccormick0403/" target="_blank"><i class="fa fa-pinterest-p " aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.instagram.com/green_wolf_gear/" target="_blank"><i class="fa fa-instagram " aria-hidden="true"></i></a> </li>
</ul> </div>
</div>
<!--
<div class="user-toolbar">
<div class="__popup_container user-menu">
</div>
<div class="__popup_container cart-menu">
</div>
</div>
-->
</div>
</section>
<div class="">
<div class="screenlogo">
<a href="/gwg_live"><img src="/gwg_live/front/img/logom_old.png?1593897535" class="img-responsive" alt=""/><img src="/gwg_live/front/img/logo-Black.png?1594129071" class="img-responsive detail_logo" alt=""/></a> </div>
<header class="header">
<nav id="menu" class="menu">
<ul>
<li>
<a href="/gwg_live/products">Products</a> </li>
<!-- class="firs" -->
<li>
<a href="https://www.greenwolfgear.shop/" target="_blank">Web Store</a>
<ul class="zero">
<li class="first">
<a href="/gwg_live/original-equipment-manufacturer"><span>OEM (ORIGINAL EQUIPMENT MANUFACTURER)</span><img src="/gwg_live/front/img/menu_image1.png?1593894072" class="img-responsive" alt=""/><span class=green-overlay></span></a> </li>
<li class="second">
<a href="/gwg_live/original-design-manufacturer"><span>ODM (ORIGINAL DESIGN MANUFACTURER)</span><img src="/gwg_live/front/img/menu_image2.png?1593894074" class="img-responsive" alt=""/><span class=green-overlay></span></a> </li>
</ul>
<ul class="zero1">
<li>
<a href="/gwg_live/original-equipment-manufacturer">OEM (ORIGINAL EQUIPMENT MANUFACTURER)</a> </li>
<li>
<a href="/gwg_live/original-design-manufacturer">ODM (ORIGINAL DESIGN MANUFACTURER)</a> </li>
</ul>
</li>
<li>
<a href="/gwg_live/where-to-buy">Where To Buy</a> </li>
<li class="home_logo">
<a href="/gwg_live"><img src="/gwg_live/front/img/header_sticky_logo.png?1593899015" class="img-responsive sticky_menu_logo" alt=""/><img src="/gwg_live/front/img/logom_old.png?1593897535" class="img-responsive regular_logo" alt=""/><img src="/gwg_live/front/img/logo-Black.png?1594129071" class="img-responsive detail_logo" alt=""/></a>
</li>
<li>
<a href="/gwg_live/our-clients">Our Clients</a> </li>
<li>
<a href="/gwg_live/company-profile">Company Profile</a> </li>
<li class="last_menu_item">
<a href="/gwg_live/enquiries">Enquiries</a> </li>
<ul class="screen">
<li>
<a href="https://www.facebook.com/Green-Wolf-Gear-1418436428424970/?fref=ts" target="_blank"><i class="fa fa-facebook " aria-hidden="true"></i></a> </li>
<li>
<a href="https://twitter.com/Green_Wolf_Gear" target="_blank"><i class="fa fa-twitter " aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.flickr.com/people/greenwolfgear/" target="_blank"><i class="fa fa-flickr " aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.pinterest.com/jmccormick0403/" target="_blank"><i class="fa fa-pinterest-p " aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.instagram.com/green_wolf_gear/" target="_blank"><i class="fa fa-instagram " aria-hidden="true"></i></a> </li>
</ul>
</ul>
</nav>
</header>
</div>
</section>
<link rel="stylesheet" href="/gwg_live/front/css/custom/page/index-home.css?1593893936"/>
<section id="index_big">
<div class="container">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 index_header_text">
<h1>PRECISION WITH PASSION</h1>
<p>The highest quality and most detailed range of collectables available.</p>
<div class="index_weapon_mobile">
<a href="#golf_text_under_weapon" class="smoothScroll" rel=""><img src="/gwg_live/front/img/botton.png?1593894033" class="img-responsive" style="margin:auto; float:right;" alt=""/></a><img src="/gwg_live/front/img/mobail_Gun.png?1593894076" class="img-responsive gun" alt=""/>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 weapons_images_banner">
<div class="index_header_weapon">
<img src="/gwg_live/front/img/index_weapon.png?1593894056" class="img-responsive weapon" alt=""/> </div>
</div>
</div>
</section>
<section class="golf_text_under_weapon" id="golf_text_under_weapon">
<div class="container">
<div class="welcone_text">
<h2>Welcome To Green Wolf Studios</h2>
<p>This is accuracy, but not as you know it. This is the highest quality and most detailed range of collectables available. Made by one of the most prestigious, experienced and well-established manufacturers in the scale model field. </p>
<h3>This is Green Wolf Studios.</h3>
</div>
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr60030979f2dd8-trace').style.display = (document.getElementById('cakeErr60030979f2dd8-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr60030979f2dd8-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr60030979f2dd8-code').style.display = (document.getElementById('cakeErr60030979f2dd8-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr60030979f2dd8-context').style.display = (document.getElementById('cakeErr60030979f2dd8-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr60030979f2dd8-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr60030979f2dd8-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT Showcases.id AS `Showcases__id`, Showcases.label AS `Showcases__label`, Showcases.color AS `Showcases__color`, Showcases.title AS `Showcases__title`, Showcases.description AS `Showcases__description`, Showcases.action AS `Showcases__action`, Showcases.image AS `Showcases__image`, Showcases.status AS `Showcases__status` FROM showcases Showcases WHERE (id = :c0 AND status = :c1)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Showcases.id AS `Showcases__id`, Showcases.label AS `Showcases__label`, Showcases.color AS `Showcases__color`, Showcases.title AS `Showcases__title`, Showcases.description AS `Showcases__description`, Showcases.action AS `Showcases__action`, Showcases.image AS `Showcases__image`, Showcases.status AS `Showcases__status` FROM showcases Showcases WHERE (id = :c0 AND status = :c1) LIMIT 1',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Showcases.id' => 'integer',
'id' => 'integer',
'Showcases.label' => 'string',
'label' => 'string',
'Showcases.color' => 'string',
'color' => 'string',
'Showcases.title' => 'string',
'title' => 'string',
'Showcases.description' => 'text',
'description' => 'text',
'Showcases.action' => 'string',
'action' => 'string',
'Showcases.image' => 'string',
'image' => 'string',
'Showcases.status' => 'integer',
'status' => 'integer',
'Showcases.created' => 'timestamp',
'created' => 'timestamp',
'Showcases.modified' => 'timestamp',
'modified' => 'timestamp'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ShowcasesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 789
App\Model\Table\ShowcasesTable::getActiveShowcaseItem() - APP/Model/Table/ShowcasesTable.php, line 83</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr60030979f37ec-trace').style.display = (document.getElementById('cakeErr60030979f37ec-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr60030979f37ec-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr60030979f37ec-code').style.display = (document.getElementById('cakeErr60030979f37ec-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr60030979f37ec-context').style.display = (document.getElementById('cakeErr60030979f37ec-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr60030979f37ec-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr60030979f37ec-context" class="cake-context" style="display: none;">$parts = null
$name = 'order'
$sql = 'SELECT Showcases.id AS `Showcases__id`, Showcases.label AS `Showcases__label`, Showcases.color AS `Showcases__color`, Showcases.title AS `Showcases__title`, Showcases.description AS `Showcases__description`, Showcases.action AS `Showcases__action`, Showcases.image AS `Showcases__image`, Showcases.status AS `Showcases__status` FROM showcases Showcases WHERE (id = :c0 AND status = :c1)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Showcases.id AS `Showcases__id`, Showcases.label AS `Showcases__label`, Showcases.color AS `Showcases__color`, Showcases.title AS `Showcases__title`, Showcases.description AS `Showcases__description`, Showcases.action AS `Showcases__action`, Showcases.image AS `Showcases__image`, Showcases.status AS `Showcases__status` FROM showcases Showcases WHERE (id = :c0 AND status = :c1) LIMIT 1',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Showcases.id' => 'integer',
'id' => 'integer',
'Showcases.label' => 'string',
'label' => 'string',
'Showcases.color' => 'string',
'color' => 'string',
'Showcases.title' => 'string',
'title' => 'string',
'Showcases.description' => 'text',
'description' => 'text',
'Showcases.action' => 'string',
'action' => 'string',
'Showcases.image' => 'string',
'image' => 'string',
'Showcases.status' => 'integer',
'status' => 'integer',
'Showcases.created' => 'timestamp',
'created' => 'timestamp',
'Showcases.modified' => 'timestamp',
'modified' => 'timestamp'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ShowcasesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 789
App\Model\Table\ShowcasesTable::getActiveShowcaseItem() - APP/Model/Table/ShowcasesTable.php, line 83</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr60030979f3fbe-trace').style.display = (document.getElementById('cakeErr60030979f3fbe-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr60030979f3fbe-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr60030979f3fbe-code').style.display = (document.getElementById('cakeErr60030979f3fbe-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr60030979f3fbe-context').style.display = (document.getElementById('cakeErr60030979f3fbe-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr60030979f3fbe-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr60030979f3fbe-context" class="cake-context" style="display: none;">$parts = (int) 1
$name = 'limit'
$sql = 'SELECT Showcases.id AS `Showcases__id`, Showcases.label AS `Showcases__label`, Showcases.color AS `Showcases__color`, Showcases.title AS `Showcases__title`, Showcases.description AS `Showcases__description`, Showcases.action AS `Showcases__action`, Showcases.image AS `Showcases__image`, Showcases.status AS `Showcases__status` FROM showcases Showcases WHERE (id = :c0 AND status = :c1)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Showcases.id AS `Showcases__id`, Showcases.label AS `Showcases__label`, Showcases.color AS `Showcases__color`, Showcases.title AS `Showcases__title`, Showcases.description AS `Showcases__description`, Showcases.action AS `Showcases__action`, Showcases.image AS `Showcases__image`, Showcases.status AS `Showcases__status` FROM showcases Showcases WHERE (id = :c0 AND status = :c1) LIMIT 1',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Showcases.id' => 'integer',
'id' => 'integer',
'Showcases.label' => 'string',
'label' => 'string',
'Showcases.color' => 'string',
'color' => 'string',
'Showcases.title' => 'string',
'title' => 'string',
'Showcases.description' => 'text',
'description' => 'text',
'Showcases.action' => 'string',
'action' => 'string',
'Showcases.image' => 'string',
'image' => 'string',
'Showcases.status' => 'integer',
'status' => 'integer',
'Showcases.created' => 'timestamp',
'created' => 'timestamp',
'Showcases.modified' => 'timestamp',
'modified' => 'timestamp'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ShowcasesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 789
App\Model\Table\ShowcasesTable::getActiveShowcaseItem() - APP/Model/Table/ShowcasesTable.php, line 83</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a005a2-trace').style.display = (document.getElementById('cakeErr6003097a005a2-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a005a2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a005a2-code').style.display = (document.getElementById('cakeErr6003097a005a2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a005a2-context').style.display = (document.getElementById('cakeErr6003097a005a2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a005a2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a005a2-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT Showcases.id AS `Showcases__id`, Showcases.label AS `Showcases__label`, Showcases.color AS `Showcases__color`, Showcases.title AS `Showcases__title`, Showcases.description AS `Showcases__description`, Showcases.action AS `Showcases__action`, Showcases.image AS `Showcases__image`, Showcases.status AS `Showcases__status` FROM showcases Showcases WHERE (id = :c0 AND status = :c1) LIMIT 1'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Showcases.id AS `Showcases__id`, Showcases.label AS `Showcases__label`, Showcases.color AS `Showcases__color`, Showcases.title AS `Showcases__title`, Showcases.description AS `Showcases__description`, Showcases.action AS `Showcases__action`, Showcases.image AS `Showcases__image`, Showcases.status AS `Showcases__status` FROM showcases Showcases WHERE (id = :c0 AND status = :c1) LIMIT 1',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Showcases.id' => 'integer',
'id' => 'integer',
'Showcases.label' => 'string',
'label' => 'string',
'Showcases.color' => 'string',
'color' => 'string',
'Showcases.title' => 'string',
'title' => 'string',
'Showcases.description' => 'text',
'description' => 'text',
'Showcases.action' => 'string',
'action' => 'string',
'Showcases.image' => 'string',
'image' => 'string',
'Showcases.status' => 'integer',
'status' => 'integer',
'Showcases.created' => 'timestamp',
'created' => 'timestamp',
'Showcases.modified' => 'timestamp',
'modified' => 'timestamp'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ShowcasesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 789
App\Model\Table\ShowcasesTable::getActiveShowcaseItem() - APP/Model/Table/ShowcasesTable.php, line 83</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a00dd2-trace').style.display = (document.getElementById('cakeErr6003097a00dd2-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a00dd2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a00dd2-code').style.display = (document.getElementById('cakeErr6003097a00dd2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a00dd2-context').style.display = (document.getElementById('cakeErr6003097a00dd2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a00dd2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a00dd2-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT Showcases.id AS `Showcases__id`, Showcases.label AS `Showcases__label`, Showcases.color AS `Showcases__color`, Showcases.title AS `Showcases__title`, Showcases.description AS `Showcases__description`, Showcases.action AS `Showcases__action`, Showcases.image AS `Showcases__image`, Showcases.status AS `Showcases__status` FROM showcases Showcases WHERE (id = :c0 AND status = :c1) LIMIT 1'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Showcases.id AS `Showcases__id`, Showcases.label AS `Showcases__label`, Showcases.color AS `Showcases__color`, Showcases.title AS `Showcases__title`, Showcases.description AS `Showcases__description`, Showcases.action AS `Showcases__action`, Showcases.image AS `Showcases__image`, Showcases.status AS `Showcases__status` FROM showcases Showcases WHERE (id = :c0 AND status = :c1) LIMIT 1',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Showcases.id' => 'integer',
'id' => 'integer',
'Showcases.label' => 'string',
'label' => 'string',
'Showcases.color' => 'string',
'color' => 'string',
'Showcases.title' => 'string',
'title' => 'string',
'Showcases.description' => 'text',
'description' => 'text',
'Showcases.action' => 'string',
'action' => 'string',
'Showcases.image' => 'string',
'image' => 'string',
'Showcases.status' => 'integer',
'status' => 'integer',
'Showcases.created' => 'timestamp',
'created' => 'timestamp',
'Showcases.modified' => 'timestamp',
'modified' => 'timestamp'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ShowcasesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 789
App\Model\Table\ShowcasesTable::getActiveShowcaseItem() - APP/Model/Table/ShowcasesTable.php, line 83</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a070aa-trace').style.display = (document.getElementById('cakeErr6003097a070aa-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Declaration of Carbon\Carbon::setTime($hour, $minute, $second = 0) should be compatible with DateTime::setTime($hour, $minute, $second = NULL, $microseconds = NULL) [<b>ROOT/vendor/nesbot/carbon/src/Carbon/Carbon.php</b>, line <b>4405</b>]<div id="cakeErr6003097a070aa-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a070aa-code').style.display = (document.getElementById('cakeErr6003097a070aa-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a070aa-context').style.display = (document.getElementById('cakeErr6003097a070aa-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a070aa-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">{</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">include </span><span style="color: #0000BB">$file</span><span style="color: #007700">;</span></span></code></pre><pre id="cakeErr6003097a070aa-context" class="cake-context" style="display: none;">$file = '/home/essin/public_html/gwg_live/vendor/nesbot/carbon/src/Carbon/Carbon.php'</pre><pre class="stack-trace">include - ROOT/vendor/composer/ClassLoader.php, line 823
Composer\Autoload\includeFile - ROOT/vendor/composer/ClassLoader.php, line 823
Composer\Autoload\ClassLoader::loadClass() - ROOT/vendor/composer/ClassLoader.php, line 601
spl_autoload_call - [internal], line ??
include - CORE/src/I18n/Time.php, line 57
Composer\Autoload\includeFile - ROOT/vendor/composer/ClassLoader.php, line 823
Composer\Autoload\ClassLoader::loadClass() - ROOT/vendor/composer/ClassLoader.php, line 601
spl_autoload_call - [internal], line ??
class_exists - [internal], line ??
Cake\Database\Type\DateTimeType::__construct() - CORE/src/Database/Type/DateTimeType.php, line 149
Cake\Database\Type::build() - CORE/src/Database/Type.php, line 211
array_map - [internal], line ??
Cake\ORM\ResultSet::_getTypes() - CORE/src/ORM/ResultSet.php, line 893
Cake\ORM\ResultSet::_calculateTypeMap() - CORE/src/ORM/ResultSet.php, line 817
Cake\ORM\ResultSet::__construct() - CORE/src/ORM/ResultSet.php, line 363
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1761
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543</pre></div></pre> <div class="__production_weapon" style="background-image:url('./front/img/production_weapon_bg.jpg')">
<div class="__production_product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/showcase/1498751810_1497511911_test_images.png" class="slider-landscape" alt=""/> </div>
<div class="__production_product_details">
<span class="pre-order">Available now</span><h1 class="__large_heading">Production Weapons</h1><p class="__sub_heading">The most detailed range of 1/6th scale replica military models and figures in the world</p><a href="https://www.dev.greenwolfgear.com/product/10/rgw-90-asm-(tan)" class="btn subscribe1"><font>View in Detail</font></a> </div>
</div>
</div>
</section>
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a25259-trace').style.display = (document.getElementById('cakeErr6003097a25259-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a25259-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a25259-code').style.display = (document.getElementById('cakeErr6003097a25259-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a25259-context').style.display = (document.getElementById('cakeErr6003097a25259-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a25259-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a25259-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a25e28-trace').style.display = (document.getElementById('cakeErr6003097a25e28-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a25e28-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a25e28-code').style.display = (document.getElementById('cakeErr6003097a25e28-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a25e28-context').style.display = (document.getElementById('cakeErr6003097a25e28-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a25e28-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a25e28-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a27258-trace').style.display = (document.getElementById('cakeErr6003097a27258-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a27258-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a27258-code').style.display = (document.getElementById('cakeErr6003097a27258-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a27258-context').style.display = (document.getElementById('cakeErr6003097a27258-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a27258-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a27258-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a27c70-trace').style.display = (document.getElementById('cakeErr6003097a27c70-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a27c70-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a27c70-code').style.display = (document.getElementById('cakeErr6003097a27c70-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a27c70-context').style.display = (document.getElementById('cakeErr6003097a27c70-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a27c70-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a27c70-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a29f08-trace').style.display = (document.getElementById('cakeErr6003097a29f08-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a29f08-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a29f08-code').style.display = (document.getElementById('cakeErr6003097a29f08-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a29f08-context').style.display = (document.getElementById('cakeErr6003097a29f08-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a29f08-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a29f08-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 5
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2a8c5-trace').style.display = (document.getElementById('cakeErr6003097a2a8c5-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a2a8c5-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2a8c5-code').style.display = (document.getElementById('cakeErr6003097a2a8c5-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2a8c5-context').style.display = (document.getElementById('cakeErr6003097a2a8c5-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a2a8c5-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a2a8c5-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 5
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2b18a-trace').style.display = (document.getElementById('cakeErr6003097a2b18a-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a2b18a-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2b18a-code').style.display = (document.getElementById('cakeErr6003097a2b18a-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2b18a-context').style.display = (document.getElementById('cakeErr6003097a2b18a-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a2b18a-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a2b18a-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 5
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2b9c9-trace').style.display = (document.getElementById('cakeErr6003097a2b9c9-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a2b9c9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2b9c9-code').style.display = (document.getElementById('cakeErr6003097a2b9c9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2b9c9-context').style.display = (document.getElementById('cakeErr6003097a2b9c9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a2b9c9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a2b9c9-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 5
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2cfba-trace').style.display = (document.getElementById('cakeErr6003097a2cfba-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a2cfba-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2cfba-code').style.display = (document.getElementById('cakeErr6003097a2cfba-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2cfba-context').style.display = (document.getElementById('cakeErr6003097a2cfba-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a2cfba-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a2cfba-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2dfef-trace').style.display = (document.getElementById('cakeErr6003097a2dfef-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a2dfef-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2dfef-code').style.display = (document.getElementById('cakeErr6003097a2dfef-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2dfef-context').style.display = (document.getElementById('cakeErr6003097a2dfef-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a2dfef-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a2dfef-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2ea60-trace').style.display = (document.getElementById('cakeErr6003097a2ea60-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a2ea60-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2ea60-code').style.display = (document.getElementById('cakeErr6003097a2ea60-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a2ea60-context').style.display = (document.getElementById('cakeErr6003097a2ea60-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a2ea60-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a2ea60-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a305e4-trace').style.display = (document.getElementById('cakeErr6003097a305e4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a305e4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a305e4-code').style.display = (document.getElementById('cakeErr6003097a305e4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a305e4-context').style.display = (document.getElementById('cakeErr6003097a305e4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a305e4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a305e4-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3126a-trace').style.display = (document.getElementById('cakeErr6003097a3126a-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3126a-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3126a-code').style.display = (document.getElementById('cakeErr6003097a3126a-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3126a-context').style.display = (document.getElementById('cakeErr6003097a3126a-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3126a-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3126a-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a31b20-trace').style.display = (document.getElementById('cakeErr6003097a31b20-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a31b20-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a31b20-code').style.display = (document.getElementById('cakeErr6003097a31b20-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a31b20-context').style.display = (document.getElementById('cakeErr6003097a31b20-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a31b20-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a31b20-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a327d4-trace').style.display = (document.getElementById('cakeErr6003097a327d4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a327d4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a327d4-code').style.display = (document.getElementById('cakeErr6003097a327d4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a327d4-context').style.display = (document.getElementById('cakeErr6003097a327d4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a327d4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a327d4-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a33084-trace').style.display = (document.getElementById('cakeErr6003097a33084-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a33084-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a33084-code').style.display = (document.getElementById('cakeErr6003097a33084-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a33084-context').style.display = (document.getElementById('cakeErr6003097a33084-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a33084-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a33084-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a33f9b-trace').style.display = (document.getElementById('cakeErr6003097a33f9b-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a33f9b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a33f9b-code').style.display = (document.getElementById('cakeErr6003097a33f9b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a33f9b-context').style.display = (document.getElementById('cakeErr6003097a33f9b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a33f9b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a33f9b-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a34d65-trace').style.display = (document.getElementById('cakeErr6003097a34d65-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a34d65-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a34d65-code').style.display = (document.getElementById('cakeErr6003097a34d65-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a34d65-context').style.display = (document.getElementById('cakeErr6003097a34d65-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a34d65-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a34d65-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a358d3-trace').style.display = (document.getElementById('cakeErr6003097a358d3-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a358d3-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a358d3-code').style.display = (document.getElementById('cakeErr6003097a358d3-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a358d3-context').style.display = (document.getElementById('cakeErr6003097a358d3-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a358d3-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a358d3-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a36286-trace').style.display = (document.getElementById('cakeErr6003097a36286-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a36286-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a36286-code').style.display = (document.getElementById('cakeErr6003097a36286-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a36286-context').style.display = (document.getElementById('cakeErr6003097a36286-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a36286-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a36286-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a36cb6-trace').style.display = (document.getElementById('cakeErr6003097a36cb6-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a36cb6-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a36cb6-code').style.display = (document.getElementById('cakeErr6003097a36cb6-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a36cb6-context').style.display = (document.getElementById('cakeErr6003097a36cb6-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a36cb6-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a36cb6-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 6
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a372d6-trace').style.display = (document.getElementById('cakeErr6003097a372d6-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a372d6-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a372d6-code').style.display = (document.getElementById('cakeErr6003097a372d6-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a372d6-context').style.display = (document.getElementById('cakeErr6003097a372d6-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a372d6-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a372d6-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 6
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a378f8-trace').style.display = (document.getElementById('cakeErr6003097a378f8-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a378f8-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a378f8-code').style.display = (document.getElementById('cakeErr6003097a378f8-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a378f8-context').style.display = (document.getElementById('cakeErr6003097a378f8-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a378f8-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a378f8-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 6
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a37eef-trace').style.display = (document.getElementById('cakeErr6003097a37eef-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a37eef-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a37eef-code').style.display = (document.getElementById('cakeErr6003097a37eef-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a37eef-context').style.display = (document.getElementById('cakeErr6003097a37eef-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a37eef-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a37eef-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 6
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a38cc4-trace').style.display = (document.getElementById('cakeErr6003097a38cc4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a38cc4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a38cc4-code').style.display = (document.getElementById('cakeErr6003097a38cc4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a38cc4-context').style.display = (document.getElementById('cakeErr6003097a38cc4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a38cc4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a38cc4-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3936e-trace').style.display = (document.getElementById('cakeErr6003097a3936e-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3936e-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3936e-code').style.display = (document.getElementById('cakeErr6003097a3936e-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3936e-context').style.display = (document.getElementById('cakeErr6003097a3936e-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3936e-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3936e-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3a0b1-trace').style.display = (document.getElementById('cakeErr6003097a3a0b1-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3a0b1-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3a0b1-code').style.display = (document.getElementById('cakeErr6003097a3a0b1-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3a0b1-context').style.display = (document.getElementById('cakeErr6003097a3a0b1-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3a0b1-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3a0b1-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3a7a3-trace').style.display = (document.getElementById('cakeErr6003097a3a7a3-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3a7a3-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3a7a3-code').style.display = (document.getElementById('cakeErr6003097a3a7a3-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3a7a3-context').style.display = (document.getElementById('cakeErr6003097a3a7a3-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3a7a3-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3a7a3-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3b095-trace').style.display = (document.getElementById('cakeErr6003097a3b095-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3b095-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3b095-code').style.display = (document.getElementById('cakeErr6003097a3b095-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3b095-context').style.display = (document.getElementById('cakeErr6003097a3b095-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3b095-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3b095-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 4
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3b6bd-trace').style.display = (document.getElementById('cakeErr6003097a3b6bd-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3b6bd-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3b6bd-code').style.display = (document.getElementById('cakeErr6003097a3b6bd-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3b6bd-context').style.display = (document.getElementById('cakeErr6003097a3b6bd-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3b6bd-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3b6bd-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 4
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3c1f4-trace').style.display = (document.getElementById('cakeErr6003097a3c1f4-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3c1f4-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3c1f4-code').style.display = (document.getElementById('cakeErr6003097a3c1f4-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3c1f4-context').style.display = (document.getElementById('cakeErr6003097a3c1f4-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3c1f4-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3c1f4-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 4
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3caab-trace').style.display = (document.getElementById('cakeErr6003097a3caab-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3caab-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3caab-code').style.display = (document.getElementById('cakeErr6003097a3caab-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3caab-context').style.display = (document.getElementById('cakeErr6003097a3caab-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3caab-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3caab-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 4
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3d7d8-trace').style.display = (document.getElementById('cakeErr6003097a3d7d8-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3d7d8-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3d7d8-code').style.display = (document.getElementById('cakeErr6003097a3d7d8-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3d7d8-context').style.display = (document.getElementById('cakeErr6003097a3d7d8-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3d7d8-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3d7d8-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3de79-trace').style.display = (document.getElementById('cakeErr6003097a3de79-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3de79-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3de79-code').style.display = (document.getElementById('cakeErr6003097a3de79-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3de79-context').style.display = (document.getElementById('cakeErr6003097a3de79-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3de79-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3de79-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3ea0b-trace').style.display = (document.getElementById('cakeErr6003097a3ea0b-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3ea0b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3ea0b-code').style.display = (document.getElementById('cakeErr6003097a3ea0b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3ea0b-context').style.display = (document.getElementById('cakeErr6003097a3ea0b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3ea0b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3ea0b-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3f0a9-trace').style.display = (document.getElementById('cakeErr6003097a3f0a9-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3f0a9-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3f0a9-code').style.display = (document.getElementById('cakeErr6003097a3f0a9-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3f0a9-context').style.display = (document.getElementById('cakeErr6003097a3f0a9-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3f0a9-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3f0a9-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3f9a1-trace').style.display = (document.getElementById('cakeErr6003097a3f9a1-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3f9a1-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3f9a1-code').style.display = (document.getElementById('cakeErr6003097a3f9a1-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3f9a1-context').style.display = (document.getElementById('cakeErr6003097a3f9a1-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3f9a1-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3f9a1-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 7
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3fff7-trace').style.display = (document.getElementById('cakeErr6003097a3fff7-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a3fff7-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3fff7-code').style.display = (document.getElementById('cakeErr6003097a3fff7-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a3fff7-context').style.display = (document.getElementById('cakeErr6003097a3fff7-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a3fff7-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a3fff7-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 7
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a405d2-trace').style.display = (document.getElementById('cakeErr6003097a405d2-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a405d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a405d2-code').style.display = (document.getElementById('cakeErr6003097a405d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a405d2-context').style.display = (document.getElementById('cakeErr6003097a405d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a405d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a405d2-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 7
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a41476-trace').style.display = (document.getElementById('cakeErr6003097a41476-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a41476-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a41476-code').style.display = (document.getElementById('cakeErr6003097a41476-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a41476-context').style.display = (document.getElementById('cakeErr6003097a41476-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a41476-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a41476-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6) ORDER BY ProductImage.id DESC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT ProductImage.id AS `ProductImage__id`, ProductImage.product_id AS `ProductImage__product_id`, ProductImage.name AS `ProductImage__name`, ProductImage.type AS `ProductImage__type`, ProductImage.created AS `ProductImage__created`, ProductImage.modified AS `ProductImage__modified` FROM product_images ProductImage WHERE ProductImage.product_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6) ORDER BY ProductImage.id DESC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'ProductImage.id' => 'integer',
'id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'created' => 'datetime',
'ProductImage.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductImagesTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 7
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Association\HasOne::_buildResultMap() - CORE/src/ORM/Association/HasOne.php, line 325
Cake\ORM\Association\HasOne::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 93</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a423af-trace').style.display = (document.getElementById('cakeErr6003097a423af-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a423af-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a423af-code').style.display = (document.getElementById('cakeErr6003097a423af-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a423af-context').style.display = (document.getElementById('cakeErr6003097a423af-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a423af-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a423af-context" class="cake-context" style="display: none;">$parts = null
$name = 'having'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1)'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a42a2b-trace').style.display = (document.getElementById('cakeErr6003097a42a2b-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a42a2b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a42a2b-code').style.display = (document.getElementById('cakeErr6003097a42a2b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a42a2b-context').style.display = (document.getElementById('cakeErr6003097a42a2b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a42a2b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a42a2b-context" class="cake-context" style="display: none;">$parts = null
$name = 'limit'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a43099-trace').style.display = (document.getElementById('cakeErr6003097a43099-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a43099-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a43099-code').style.display = (document.getElementById('cakeErr6003097a43099-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a43099-context').style.display = (document.getElementById('cakeErr6003097a43099-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a43099-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a43099-context" class="cake-context" style="display: none;">$parts = null
$name = 'offset'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<br />
<b>Warning</b>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable in <b>/home/essin/public_html/gwg_live/vendor/cakephp/cakephp/src/Database/QueryCompiler.php</b> on line <b>229</b><br />
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a43bdc-trace').style.display = (document.getElementById('cakeErr6003097a43bdc-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [<b>CORE/src/Database/QueryCompiler.php</b>, line <b>229</b>]<div id="cakeErr6003097a43bdc-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a43bdc-code').style.display = (document.getElementById('cakeErr6003097a43bdc-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6003097a43bdc-context').style.display = (document.getElementById('cakeErr6003097a43bdc-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6003097a43bdc-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return function (</span><span style="color: #0000BB">$parts</span><span style="color: #007700">, </span><span style="color: #0000BB">$name</span><span style="color: #007700">) use (&</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$generator</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$parts</span><span style="color: #007700">)) {</span></span></code></pre><pre id="cakeErr6003097a43bdc-context" class="cake-context" style="display: none;">$parts = null
$name = 'epilog'
$sql = 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC'
$query = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS `Products__id`, Products.model AS `Products__model`, Products.category_id AS `Products__category_id`, Categories.id AS `Categories__id`, Categories.type_id AS `Categories__type_id` FROM products Products LEFT JOIN categories Categories ON Categories.id = (Products.category_id) WHERE (Products.status = :c0 AND Categories.type_id = :c1) ORDER BY Products.h_order ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products.id' => 'integer',
'id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products.colour_id' => 'integer',
'colour_id' => 'integer',
'Products.ref_code' => 'string',
'ref_code' => 'string',
'Products.price' => 'float',
'price' => 'float',
'Products.discount_percentage' => 'float',
'discount_percentage' => 'float',
'Products.discount' => 'float',
'discount' => 'float',
'Products.quantity' => 'integer',
'quantity' => 'integer',
'Products.is_preorder' => 'integer',
'is_preorder' => 'integer',
'Products.avaiblable_date' => 'string',
'avaiblable_date' => 'string',
'Products.stock_expected' => 'string',
'stock_expected' => 'string',
'Products.model' => 'string',
'model' => 'string',
'Products.description' => 'text',
'description' => 'text',
'Products.features' => 'text',
'features' => 'text',
'Products.section_id' => 'integer',
'section_id' => 'integer',
'Products.is_section' => 'integer',
'is_section' => 'integer',
'Products.status' => 'integer',
'status' => 'integer',
'Products.h_visibility' => 'integer',
'h_visibility' => 'integer',
'Products.h_order' => 'integer',
'h_order' => 'integer',
'Products.p_visibility' => 'integer',
'p_visibility' => 'integer',
'Products.hits' => 'integer',
'hits' => 'integer',
'Products.height' => 'float',
'height' => 'float',
'Products.length' => 'float',
'length' => 'float',
'Products.width' => 'float',
'width' => 'float',
'Products.weight' => 'float',
'weight' => 'float',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Categories.id' => 'integer',
'Categories.name' => 'string',
'name' => 'string',
'Categories.description' => 'text',
'Categories.type_id' => 'integer',
'type_id' => 'integer',
'Categories.status' => 'integer',
'Categories.display_order' => 'integer',
'display_order' => 'integer',
'Categories.p_visibility' => 'integer',
'Categories.created' => 'datetime',
'Categories.modified' => 'datetime',
'ProductImage.id' => 'integer',
'ProductImage.product_id' => 'integer',
'product_id' => 'integer',
'ProductImage.name' => 'string',
'ProductImage.type' => 'integer',
'type' => 'integer',
'ProductImage.created' => 'datetime',
'ProductImage.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Categories' => [
[maximum depth reached]
],
'ProductImage' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$generator = object(Cake\Database\ValueBinder) {
[protected] _bindings => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
]
[protected] _bindingsCount => (int) 2
}</pre><pre class="stack-trace">count - [internal], line ??
Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 229
Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 463
Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 195
Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 641
Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 511
Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 405
Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 1723
Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 241
Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 431
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 535
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 347
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1759
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 543
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1661
Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 575
App\Model\Table\ProductsTable::getTypeProductsList() - APP/Model/Table/ProductsTable.php, line 563</pre></div></pre><!-- Product slider css and js -->
<link rel="stylesheet" href="/gwg_live/front/css/product_slider/owl.carousel.css?1593893956"/><link rel="stylesheet" href="/gwg_live/front/css/product_slider/owl.theme.default.min.css?1593893956"/><script src="/gwg_live/front/js/product_slider/owl.carousel.min.js?1593894152"></script><script src="/gwg_live/front/js/custom/page/owl-carousel-option.js?1593894138"></script><!-- product slider end -->
<style type="text/css">
.item > p {
position: relative;
text-align: center;
width: auto !important;
}
.owlNext .item span {
background: rgba(41, 41, 41, 0.7) linear-gradient(to left, #292929 10%, rgba(41, 41, 41, 0.6) 73px) repeat scroll 0 0;
height: 28px;
left: auto;
position: absolute;
right: 0;
top: -41px;
width: 300px;
z-index: 999;
}
.owlPrev .item span {
background: rgba(41, 41, 41, 0.5) linear-gradient(to left, rgba(41, 41, 41, 0.5) 10%, #292929 73px) repeat scroll 0 0;
height: 31px;
left: 0;
position: absolute;
top: -41px;
width: 300px;
z-index: 99999;
}
</style>
<section id="product-range-section">
<div class="container">
<h2 class="index_title double">
<span>Product Range</span>
</h2>
<div class="btn-group btn-group1 ">
<button id="slider_button_figures" class="btn btn-3 slider_btn" type="button">
Figures </button>
<button id="slider_button_weapons" class="btn btn-3 slider_btn" type="button">
Weapons </button>
<button id="slider_button_13project" class="btn btn-3 slider_btn" type="button">
13 Project </button>
<button id="slider_button_custom_figure" class="btn btn-3 slider_btn" type="button">
Custom Figures </button>
<button id="slider_button_equipment" class="btn btn-3 slider_btn" type="button">
Equipment </button>
<button id="slider_button_13project_ltd" class="btn btn-3 slider_btn" type="button">
13 Project Ltd Edition </button>
</div>
</div>
<!-- Start figure slider -->
<div class="product_slider_section figure_slider" style="width:100%;">
<div class="container">
<div class="owl-carousel text-area" id="figure_slider_text">
<div class="item-text">
<p>GALAC-TAC Urban Raider</p>
</div> <div class="item-text">
<p>GALAC-TAC (Green Wolf Gear Exclusive)</p>
</div> <div class="item-text">
<p>GALAC-TAC (Tan Version)</p>
</div> <div class="item-text">
<p>S.A.S C.R.W Urban Raid</p>
</div> <div class="item-text">
<p>DEVTAC RONIN</p>
</div> <div class="item-text">
<p>S.A.S C.R.W Assaulter (Exclussive)</p>
</div>
</div>
</div>
<div class="owl-carousel image-area" id="figure_slider_image">
<div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/32_1540239839_g_tac_urban_slider.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/32/galac-tac-urban-raider'" alt="GALAC-TAC Urban Raider"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/32/galac-tac-urban-raider" class="btn subscribe product-link-name" data-model="GALAC-TAC Urban Raider">view GALAC-TAC Urban Raider</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/14_1516903330_slider_GTAC_ex_low.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/14/galac-tac-(green-wolf-gear-exclusive)'" alt="GALAC-TAC (Green Wolf Gear Exclusive)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/14/galac-tac-(green-wolf-gear-exclusive)" class="btn subscribe product-link-name" data-model="GALAC-TAC (Green Wolf Gear Exclusive)">view GALAC-TAC (Green Wolf Gear Exclusive)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/12_1501514174_G_Tac_tan_slider.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/12/galac-tac-(tan-version)'" alt="GALAC-TAC (Tan Version)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/12/galac-tac-(tan-version)" class="btn subscribe product-link-name" data-model="GALAC-TAC (Tan Version)">view GALAC-TAC (Tan Version)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/26_1526632474_slider_SAS_REG.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/26/s.a.s-c.r.w-urban-raid'" alt="S.A.S C.R.W Urban Raid"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/26/s.a.s-c.r.w-urban-raid" class="btn subscribe product-link-name" data-model="S.A.S C.R.W Urban Raid">view S.A.S C.R.W Urban Raid</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/28_1531127320_slider_DAVTAC.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/28/devtac-ronin'" alt="DEVTAC RONIN"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/28/devtac-ronin" class="btn subscribe product-link-name" data-model="DEVTAC RONIN">view DEVTAC RONIN</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/23_1526632623_slider_SAS_EXC.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/23/s.a.s-c.r.w-assaulter-(exclussive)'" alt="S.A.S C.R.W Assaulter (Exclussive)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/23/s.a.s-c.r.w-assaulter-(exclussive)" class="btn subscribe product-link-name" data-model="S.A.S C.R.W Assaulter (Exclussive)">view S.A.S C.R.W Assaulter (Exclussive)</a>
</div>
</div>
</div>
<!-- End figure slider -->
<!-- Start weapon slider -->
<div class="product_slider_section weapons_slider" style="width:100%;">
<div class="container">
<div class="owl-carousel text-area" id="weapons_slider_text">
<div class="item-text">
<p>L129 A1 Sniper Support Weapon (BLK)</p>
</div> <div class="item-text">
<p>L129 A1 Sniper Support Weapon (OD)</p>
</div> <div class="item-text">
<p>L129 A1 Sniper Support Weapon (FDE)</p>
</div> <div class="item-text">
<p>RGW 90 ASM (OD)</p>
</div> <div class="item-text">
<p>RGW 90 ASM (TAN)</p>
</div>
</div>
</div>
<div class="owl-carousel image-area" id="weapons_slider_image">
<div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/4_1479604238_l129a1_ssw_blk_04.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/4/l129-a1-sniper-support-weapon-(blk)'" alt="L129 A1 Sniper Support Weapon (BLK)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/4/l129-a1-sniper-support-weapon-(blk)" class="btn subscribe product-link-name" data-model="L129 A1 Sniper Support Weapon (BLK)">view L129 A1 Sniper Support Weapon (BLK)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/5_1479604518_l129a1_ssw_od_04.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/5/l129-a1-sniper-support-weapon-(od)'" alt="L129 A1 Sniper Support Weapon (OD)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/5/l129-a1-sniper-support-weapon-(od)" class="btn subscribe product-link-name" data-model="L129 A1 Sniper Support Weapon (OD)">view L129 A1 Sniper Support Weapon (OD)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/6_1479604362_l129a1_ssw_fde_04.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/6/l129-a1-sniper-support-weapon-(fde)'" alt="L129 A1 Sniper Support Weapon (FDE)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/6/l129-a1-sniper-support-weapon-(fde)" class="btn subscribe product-link-name" data-model="L129 A1 Sniper Support Weapon (FDE)">view L129 A1 Sniper Support Weapon (FDE)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/9_1481547605_dnd_rgw_90_as_olive_drab_33.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/9/rgw-90-asm-(od)'" alt="RGW 90 ASM (OD)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/9/rgw-90-asm-(od)" class="btn subscribe product-link-name" data-model="RGW 90 ASM (OD)">view RGW 90 ASM (OD)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/10_1481214730_dnd_rgw_90_as_desert_tan_33.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/10/rgw-90-asm-(tan)'" alt="RGW 90 ASM (TAN)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/10/rgw-90-asm-(tan)" class="btn subscribe product-link-name" data-model="RGW 90 ASM (TAN)">view RGW 90 ASM (TAN)</a>
</div>
</div>
</div>
<!-- End weapon slider -->
<!-- Start 13Project slider -->
<div class="product_slider_section project_slider" style="width:100%;">
<div class="container">
<div class="owl-carousel text-area" id="project_slider_text">
<div class="item-text">
<p>Hanroku Trooper Salt Black Edition (Deluxe)</p>
</div> <div class="item-text">
<p>Hanroku Genocide Trooper (Regular)</p>
</div> <div class="item-text">
<p>Hanroku Genocide Trooper (Deluxe)</p>
</div> <div class="item-text">
<p>Hanroku Trooper Salt Black Edition (Regular)</p>
</div> <div class="item-text">
<p>Hanroku Trooper Salt Black Edition (Deluxe)</p>
</div> <div class="item-text">
<p>Hanroku Genocide Trooper (Regular)</p>
</div> <div class="item-text">
<p>Hanroku Genocide Trooper (Deluxe)</p>
</div> <div class="item-text">
<p>Hanroku Trooper Salt Black Edition (Regular)</p>
</div>
</div>
</div>
<div class="owl-carousel image-area" id="project_slider_image">
<div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/18_1516219377_bck_deluxe.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/18/hanroku-trooper-salt-black-edition-(deluxe)'" alt="Hanroku Trooper Salt Black Edition (Deluxe)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/18/hanroku-trooper-salt-black-edition-(deluxe)" class="btn subscribe product-link-name" data-model="Hanroku Trooper Salt Black Edition (Deluxe)">view Hanroku Trooper Salt Black Edition (Deluxe)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/19_1516899050_slider_red_Hanroku_low.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/19/hanroku-genocide-trooper-(regular)'" alt="Hanroku Genocide Trooper (Regular)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/19/hanroku-genocide-trooper-(regular)" class="btn subscribe product-link-name" data-model="Hanroku Genocide Trooper (Regular)">view Hanroku Genocide Trooper (Regular)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/20_1516903301_slider_red_Hanroku_low.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/20/hanroku-genocide-trooper-(deluxe)'" alt="Hanroku Genocide Trooper (Deluxe)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/20/hanroku-genocide-trooper-(deluxe)" class="btn subscribe product-link-name" data-model="Hanroku Genocide Trooper (Deluxe)">view Hanroku Genocide Trooper (Deluxe)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/22_1516220428_bck.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/22/hanroku-trooper-salt-black-edition--(regular)'" alt="Hanroku Trooper Salt Black Edition (Regular)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/22/hanroku-trooper-salt-black-edition--(regular)" class="btn subscribe product-link-name" data-model="Hanroku Trooper Salt Black Edition (Regular)">view Hanroku Trooper Salt Black Edition (Regular)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/18_1516219377_bck_deluxe.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/18/hanroku-trooper-salt-black-edition-(deluxe)'" alt="Hanroku Trooper Salt Black Edition (Deluxe)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/18/hanroku-trooper-salt-black-edition-(deluxe)" class="btn subscribe product-link-name" data-model="Hanroku Trooper Salt Black Edition (Deluxe)">view Hanroku Trooper Salt Black Edition (Deluxe)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/19_1516899050_slider_red_Hanroku_low.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/19/hanroku-genocide-trooper-(regular)'" alt="Hanroku Genocide Trooper (Regular)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/19/hanroku-genocide-trooper-(regular)" class="btn subscribe product-link-name" data-model="Hanroku Genocide Trooper (Regular)">view Hanroku Genocide Trooper (Regular)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/20_1516903301_slider_red_Hanroku_low.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/20/hanroku-genocide-trooper-(deluxe)'" alt="Hanroku Genocide Trooper (Deluxe)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/20/hanroku-genocide-trooper-(deluxe)" class="btn subscribe product-link-name" data-model="Hanroku Genocide Trooper (Deluxe)">view Hanroku Genocide Trooper (Deluxe)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/22_1516220428_bck.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/22/hanroku-trooper-salt-black-edition--(regular)'" alt="Hanroku Trooper Salt Black Edition (Regular)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/22/hanroku-trooper-salt-black-edition--(regular)" class="btn subscribe product-link-name" data-model="Hanroku Trooper Salt Black Edition (Regular)">view Hanroku Trooper Salt Black Edition (Regular)</a>
</div>
</div>
</div>
<!-- End 13Project slider -->
<!-- Start Custom Figures slider -->
<div class="product_slider_section custom_figure_slider" style="width:100%;">
<div class="container">
<div class="owl-carousel text-area" id="custom_figure_slider_text">
</div>
</div>
<div class="owl-carousel image-area" id="custom_figure_slider_image">
</div>
</div>
<!-- End Custom Figures slider -->
<!-- Start Eqipement slider -->
<div class="product_slider_section eqipement_slider" style="width:100%;">
<div class="container">
<div class="owl-carousel text-area" id="eqipement_slider_text">
<div class="item-text">
<p>Vallon VMH3CS (REG)</p>
</div> <div class="item-text">
<p>Vallon VMH3CS (DLX)</p>
</div> <div class="item-text">
<p>Vallon VMH3CS (REG)</p>
</div> <div class="item-text">
<p>Vallon VMH3CS (DLX)</p>
</div> <div class="item-text">
<p>Vallon VMH3CS (REG)</p>
</div> <div class="item-text">
<p>Vallon VMH3CS (DLX)</p>
</div> <div class="item-text">
<p>Vallon VMH3CS (REG)</p>
</div> <div class="item-text">
<p>Vallon VMH3CS (DLX)</p>
</div>
</div>
</div>
<div class="owl-carousel image-area" id="eqipement_slider_image">
<div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/7_1479604966_vallon_vmh3cs_reg_04.png" class="slider-portrait" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/7/vallon-vmh3cs-(reg)'" alt="Vallon VMH3CS (REG)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/7/vallon-vmh3cs-(reg)" class="btn subscribe product-link-name" data-model="Vallon VMH3CS (REG)">view Vallon VMH3CS (REG)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/8_1479605104_vallon_vmh3cs_del_04.png" class="slider-portrait" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/8/vallon-vmh3cs-(dlx)'" alt="Vallon VMH3CS (DLX)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/8/vallon-vmh3cs-(dlx)" class="btn subscribe product-link-name" data-model="Vallon VMH3CS (DLX)">view Vallon VMH3CS (DLX)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/7_1479604966_vallon_vmh3cs_reg_04.png" class="slider-portrait" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/7/vallon-vmh3cs-(reg)'" alt="Vallon VMH3CS (REG)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/7/vallon-vmh3cs-(reg)" class="btn subscribe product-link-name" data-model="Vallon VMH3CS (REG)">view Vallon VMH3CS (REG)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/8_1479605104_vallon_vmh3cs_del_04.png" class="slider-portrait" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/8/vallon-vmh3cs-(dlx)'" alt="Vallon VMH3CS (DLX)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/8/vallon-vmh3cs-(dlx)" class="btn subscribe product-link-name" data-model="Vallon VMH3CS (DLX)">view Vallon VMH3CS (DLX)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/7_1479604966_vallon_vmh3cs_reg_04.png" class="slider-portrait" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/7/vallon-vmh3cs-(reg)'" alt="Vallon VMH3CS (REG)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/7/vallon-vmh3cs-(reg)" class="btn subscribe product-link-name" data-model="Vallon VMH3CS (REG)">view Vallon VMH3CS (REG)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/8_1479605104_vallon_vmh3cs_del_04.png" class="slider-portrait" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/8/vallon-vmh3cs-(dlx)'" alt="Vallon VMH3CS (DLX)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/8/vallon-vmh3cs-(dlx)" class="btn subscribe product-link-name" data-model="Vallon VMH3CS (DLX)">view Vallon VMH3CS (DLX)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/7_1479604966_vallon_vmh3cs_reg_04.png" class="slider-portrait" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/7/vallon-vmh3cs-(reg)'" alt="Vallon VMH3CS (REG)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/7/vallon-vmh3cs-(reg)" class="btn subscribe product-link-name" data-model="Vallon VMH3CS (REG)">view Vallon VMH3CS (REG)</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/8_1479605104_vallon_vmh3cs_del_04.png" class="slider-portrait" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/8/vallon-vmh3cs-(dlx)'" alt="Vallon VMH3CS (DLX)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/8/vallon-vmh3cs-(dlx)" class="btn subscribe product-link-name" data-model="Vallon VMH3CS (DLX)">view Vallon VMH3CS (DLX)</a>
</div>
</div>
</div>
<!-- End Eqipement slider -->
<!-- Start 13 Project Ltd Edition slider -->
<div class="product_slider_section 13project_ltd_slider" style="width:100%;">
<div class="container">
<div class="owl-carousel text-area" id="13project_ltd_slider_text">
<div class="item-text">
<p>Maox Jenn</p>
</div> <div class="item-text">
<p>Maox JENN</p>
</div> <div class="item-text">
<p>Kiva Deshmvo</p>
</div> <div class="item-text">
<p>Ama Jiid</p>
</div> <div class="item-text">
<p>Ven Reins</p>
</div> <div class="item-text">
<p>Jagen Rosa</p>
</div> <div class="item-text">
<p>Leszek Muroments (Breather)</p>
</div>
</div>
</div>
<div class="owl-carousel image-area" id="13project_ltd_slider_image">
<div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/24_1544697383_maox_sliderreg_so.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/24/maox-jenn'" alt="Maox Jenn"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/24/maox-jenn" class="btn subscribe product-link-name" data-model="Maox Jenn">view Maox Jenn</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/25_1516897657_maox_sliderOUT.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/25/maox-jenn'" alt="Maox JENN"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/25/maox-jenn" class="btn subscribe product-link-name" data-model="Maox JENN">view Maox JENN</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/27_1544697303_slider_kiva_sold_out.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/27/kiva-deshmvo'" alt="Kiva Deshmvo"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/27/kiva-deshmvo" class="btn subscribe product-link-name" data-model="Kiva Deshmvo">view Kiva Deshmvo</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/33_1549879651_Ama_SliderLOw.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/33/ama-jiid'" alt="Ama Jiid"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/33/ama-jiid" class="btn subscribe product-link-name" data-model="Ama Jiid">view Ama Jiid</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/11_1516903461_slider_ven_out.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/11/ven-reins'" alt="Ven Reins"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/11/ven-reins" class="btn subscribe product-link-name" data-model="Ven Reins">view Ven Reins</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/21_1516903421_slider_jagen_out.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/21/jagen-rosa'" alt="Jagen Rosa"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/21/jagen-rosa" class="btn subscribe product-link-name" data-model="Jagen Rosa">view Jagen Rosa</a>
</div> <div class="item">
<div class="product_item_details">
<div class="product_img">
<img src="https://www.eternalsoft.in/gwg_live/img/product/slider_m/17_1544697340_Leszek_slider_so.png" class="slider-landscape" onClick="window.location = 'https://www.eternalsoft.in/gwg_live/product/17/leszek-muroments-(breather)'" alt="Leszek Muroments (Breather)"/>
</div>
</div>
<a href="https://www.eternalsoft.in/gwg_live/product/17/leszek-muroments-(breather)" class="btn subscribe product-link-name" data-model="Leszek Muroments (Breather)">view Leszek Muroments (Breather)</a>
</div>
</div>
</div>
<!-- End 13 Project Ltd Edition slider -->
</section>
<section id="imd_tab_slider">
<div class="container">
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 tab">
<div class="tab_container">
<input id="tab1" type="radio" name="tabs" checked>
<label for="tab1" class="col-lg-3 col-md-3 col-sm-3 col-xs-3 tab_slider firsttab">
<img src="/gwg_live/front/img/retaller.png?1593894101" class="img-respnsive" alt=""/><img src="/gwg_live/front/img/retaller_col.png?1593894100" class="img-respnsivenew" alt=""/> <p><span>Retailers</span>of scale models</p>
</label>
<input id="tab2" type="radio" name="tabs">
<label for="tab2" class="col-lg-3 col-md-3 col-sm-3 col-xs-3 tab_slider secondtab">
<img src="/gwg_live/front/img/collrctor.png?1593894036" class="img-respnsive" alt=""/><img src="/gwg_live/front/img/collrctor_col.png?1593894036" class="img-respnsivenew" alt=""/> <p><span>Collectors</span>of military scale models</p>
</label>
<input id="tab3" type="radio" name="tabs">
<label for="tab3" class="col-lg-3 col-md-3 col-sm-3 col-xs-3 tab_slider thirdtab">
<img src="/gwg_live/front/img/interna.png?1593894058" class="img-respnsive" alt=""/><img src="/gwg_live/front/img/interna_col.png?1593894058" class="img-respnsivenew" alt=""/> <p><span>International</span>Defence Companies</p>
</label>
<input id="tab4" type="radio" name="tabs">
<label for="tab4" class="col-lg-3 col-md-3 col-sm-3 col-xs-3 tab_slider fourthtab">
<img src="/gwg_live/front/img/start.png?1593894108" class="img-respnsive" alt=""/><img src="/gwg_live/front/img/start_col.png?1593894107" class="img-respnsivenew" alt=""/> <p><span>Start-ups</span>selling military inspired products</p>
</label>
<section id="content1" class="tab-content">
<div class="content_inner">
<h1>WE WORK WITH RETAILERS</h1>
<p>Would you like to sell our models and feature on our website’s retailer search zone? Or even make use of our OEM and ODM services?</p>
<h5>
<a href="/gwg_live/enquiries?tab=become_retailer" class="btn subscribe leftbtn">Become a retailer</a><a href="/gwg_live/enquiries?tab=general_enquiries" class="btn subscribe">Make an Enquiry</a> </h5>
</div>
</section>
<section id="content2" class="tab-content">
<div class="content_inner">
<h1>WE WORK WITH COLLECTORS</h1>
<p>Interested in our products? Visit our authorised retailer zone. If you have any suggestions for our products please use the enquiry link below.</p>
<h5>
<a href="/gwg_live/where-to-buy?tab=country-map" class="btn subscribe leftbtn">View our retailers</a><a href="/gwg_live/enquiries?tab=general_enquiries" class="btn subscribe">Make an Enquiry</a> </h5>
</div>
</section>
<section id="content3" class="tab-content">
<div class="content_inner">
<h1>WE WORK WITH DEFENCE COMPANIES</h1>
<p>We work closely with defence companies and provide highly detailed 1/6th scale models for promotional and display use.</p>
<h5>
<a href="/gwg_live/our-clients?tab=our-clients" class="btn subscribe leftbtn">View our clients</a><a href="/gwg_live/enquiries?tab=general_enquiries" class="btn subscribe">Make an Enquiry</a> </h5>
</div>
</section>
<section id="content4" class="tab-content">
<div class="content_inner">
<h1>WE WORK WITH START-UPS</h1>
<p> Would you like to start your own 1/6th scale product line? We can help get you started!</p>
<h5>
<a href="/gwg_live/enquiries?tab=general_enquiries" class="btn subscribe lastbtn">Make an Enquiry</a> </h5>
</div>
</section>
</div>
</div>
</div>
</section>
<section id="index_bespoke">
<div class="bespoke">
<div class="container">
<h2 class="index_title double">
<span>Bespoke Works</span>
</h2>
<p class="col-lg-6 col-md-offset-3">
We provide licensed, promotional and bespoke products, packaging and projects. </p>
</div>
<!-- <div id="bespoke">
<a href=""><button type="button" class="subscribe1" id="myButton1">Original equipment manufacturer</button></a>
<a href="odm.php"><button type="button" class="subscribe1" id="myButton2">Original design manufacturer</button></a>
</div>-->
<div id="bespoke">
<a href="/gwg_live/original-equipment-manufacturer" class="btn subscribe1" id="myButton1">Original equipment manufacturer</a><a href="/gwg_live/original-design-manufacturer" class="btn subscribe1" id="myButton2">Original design manufacturer</a> </div>
</div>
</section>
<section class="index_buyproduct">
<div class="ind_retailer1" >
<img src="/gwg_live/front/img/left_hex.png?1593894064" class="img-respnsive left-img" alt=""/> <div class="ind_retailer">
<h2>Buy Our Products</h2>
<p>Use our retailer search facility to find our models in a place near you.</p>
<a href="/gwg_live/where-to-buy?tab=country-map" class="btn subscribe sub2"><font>Find A Retailer</font></a> </div>
<img src="/gwg_live/front/img/right_hex.png?1593894102" class="img-respnsive right-img" alt=""/>
</div>
</section>
<style type="text/css">
.validation_error_message.success{
color: #FFFFFF;
}
.footer-cards-div {
margin-bottom: 60px;
text-align: center;
}
</style>
<section id="footerarea" class="footerblock">
<div class="container">
<h2>Stay In The Loop</h2>
<h6>Sign up for the Green Wolf Studios Newsletter</h6>
<div class="footer-newslatter">
<div class="col-lg-offset-2 col-lg-6 col-md-offset-2 col-md-6 col-sm-offset-1 col-sm-7 col-xs-12">
<input type="text" placeholder="Your Email address..." id="subscriptionInput" autocomplete="off" />
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 subscribebutton">
<button type="button" class="btn subscribe" id="subscriptionBtn">
<font>SUBSCRIBE</font>
</button>
</div>
<p id="subscription-error" class="validation_error_message"></p>
</div>
</div>
<div class="square-box">
<a href="#top" class="anchorLink smoothScroll" id="anchor1" rel=""><img src="/gwg_live/front/img/footersquaretoparrrow.png?1593894048" class="img-responsive uparrow" alt=""/></a> </div>
</section>
<section id="footercontact" class="footercontactarea">
<div class="container">
<div class="footercontactlogo">
<img src="/gwg_live/front/img/footerlogo.png?1594137090" class="footerlogo" alt=""/> </div>
<div class="contactaddress">
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12 fulladdress col-sm-push-0 col-md-push-4">
<p>
Head Office<br/>
21 Castle Hume Court<br/>
Ballyhose<br/>
Enniskillen<br/>
BT937DY<br/>
N. Ireland
</p>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12 col-sm-pull-0 col-md-pull-4 call">
<p>CALL<strong> (+44) 07867368841</strong></p>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12 contactemail col-sm-pull-0">
<p>
<a href="mailto:hello@greenwolfstudios.com">HELLO@GREENWOLFSTUDIOS.COM</a>
</p>
</div>
</div>
<div class="socialzone">
<!-- <div class=" col-lg-offset-5 col-lg-2 col-md-offset-5 col-md-2 col-sm-12 col-xs-12"> -->
<div class="footersocilamedia">
<ul class="">
<li>
<a href="https://www.facebook.com/Green-Wolf-Gear-1418436428424970/?fref=ts" target="_blank"><i class="fa fa-facebook footersoc" aria-hidden="true"></i></a> </li>
<li>
<a href="https://twitter.com/Green_Wolf_Gear" target="_blank"><i class="fa fa-twitter footersoc" aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.flickr.com/people/greenwolfgear/" target="_blank"><i class="fa fa-flickr footersoc" aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.pinterest.com/jmccormick0403/" target="_blank"><i class="fa fa-pinterest-p footersoc" aria-hidden="true"></i></a> </li>
<li>
<a href="https://www.instagram.com/green_wolf_gear/" target="_blank"><i class="fa fa-instagram footersoc" aria-hidden="true"></i></a> </li>
</ul> </div>
<!-- </div> -->
</div>
</div>
</section>
<section id="" class="copyrightsarea">
<div class="copytext">
<ul><li><a href="https://www.eternalsoft.in/gwg_live/your-orders" class="shopify-hide-register-btn">Your Orders</a></li><li><a href="https://www.eternalsoft.in/gwg_live/your-account" class="shopify-hide-register-btn">Your Account Details</a></li><li><a href="https://www.eternalsoft.in/gwg_live/enquiries?tab=general_enquiries">Make an Enquiry</a></li><li><a href="https://www.eternalsoft.in/gwg_live/enquiries?tab=enqu_fre_title">FAQ's</a></li><li><a href="https://www.eternalsoft.in/gwg_live/delivery">Delivery</a></li><li><a href="https://www.eternalsoft.in/gwg_live/returns">Returns</a></li><li><a href="https://www.eternalsoft.in/gwg_live/payments">Payments</a></li><li><a href="https://www.eternalsoft.in/gwg_live/term-and-condition">T&C<span class='force_small'>s</span></a></li><li><a href="https://www.eternalsoft.in/gwg_live/kick-starter">Kickstarter</a></li></ul>
<!-- ######## Display on Mobile device ######## -->
<p class="hidden-xs hidden-sm">
© 2016 Green Wolf Gear Limited, trading as Green Wolf Studios, Company registration No. <span onclick='return false;'>09119068</span> | <a href="/gwg_live/privacy-policy">Cookies, Security & Personal Info</a> </p>
<!-- ######## Display on Mobile device ######## -->
<!-- ######## Display on Large screens and tablets ######## -->
<p class="hidden-md hidden-lg">
© 2016 Green Wolf Gear Limited, trading as Green Wolf Studios, Company registration No. <span onclick='return false;'>09119068</span> <br/>
<a href="/gwg_live/privacy-policy">Cookies, Security & Personal Info</a> </p>
<!-- ######## Display on Large screens and tablets ######## -->
<p>Website by <a href="http://www.thegoodwebcompany.com/" class="company_website" target="_blank">The Good Website Company</a></p>
</div>
</section>
<div class="site-cache" id="site-cache"></div>
</div>
</div>
<div class="side_border">
<hr class="left_hr">
<hr class="right_hr">
</div>
</div>
<script src="/gwg_live/front/js/classie.js?1593894131"></script> <script src="/gwg_live/front/js/custom/app.js?1593894132"></script>
</body>
</html>
'
[protected] _file => null
[protected] _fileRange => []
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => []
[protected] _cookies => []
}