CDbCommand failed to execute the SQL statement: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 Array ( [REDIRECT_SCRIPT_URL] => /wii-u/genres/store [REDIRECT_SCRIPT_URI] => http://www.shopto.net/wii-u/genres/store [REDIRECT_STATUS] => 200 [SCRIPT_URL] => /wii-u/genres/store [SCRIPT_URI] => http://www.shopto.net/wii-u/genres/store [HTTP_X_FORWARDED_PROTO] => https [HTTP_X_REAL_IP] => 54.198.108.19 [HTTP_HOST] => www.shopto.net [HTTP_X_FORWARDED_FOR] => 54.198.108.19, 172.23.220.150 [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/) [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache/2.4.25 (Debian) [SERVER_NAME] => www.shopto.net [SERVER_ADDR] => 172.23.220.155 [SERVER_PORT] => 80 [REMOTE_ADDR] => 172.23.220.140 [DOCUMENT_ROOT] => /var/www/new-shopto/www [REQUEST_SCHEME] => http [CONTEXT_PREFIX] => [CONTEXT_DOCUMENT_ROOT] => /var/www/new-shopto/www [SERVER_ADMIN] => [no address given] [SCRIPT_FILENAME] => /var/www/new-shopto/www/index.php [REMOTE_PORT] => 29528 [REDIRECT_URL] => /wii-u/genres/store [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.0 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /wii-u/genres/store [SCRIPT_NAME] => /index.php [PHP_SELF] => /index.php [REQUEST_TIME_FLOAT] => 1511321819.276 [REQUEST_TIME] => 1511321819 ) Array ( [0] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/db/CDbCommand.php [line] => 390 [function] => queryInternal [class] => CDbCommand [type] => -> [args] => Array ( [0] => fetchAll [1] => Array ( [0] => 2 ) [2] => Array ( ) ) ) [1] => Array ( [file] => /var/www/release/builds/1f968e40279b/protected/controllers/MenuController.php [line] => 544 [function] => queryAll [class] => CDbCommand [type] => -> [args] => Array ( ) ) [2] => Array ( [function] => actionCategory [class] => MenuController [type] => -> [args] => Array ( [0] => wii-u/genres [1] => popular [2] => [3] => ) ) [3] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/actions/CAction.php [line] => 107 [function] => invokeArgs [class] => ReflectionMethod [type] => -> [args] => Array ( [0] => MenuController Object ( [startTime] => [logCustomer] => [logger] => [useSolariumFilter] => [useElasticSearch] => [searchPage] => 1 [menu] => Array ( ) [breadcrumbs] => Array ( ) [errors] => Array ( ) [messages] => Array ( ) [canonicalUrl] => [pageMetaModel] => [h1HeaderIcon] => 1 [layout] => [defaultAction] => index [_id:CController:private] => menu [_action:CController:private] => CInlineAction Object ( [_id:CAction:private] => category [_controller:CAction:private] => MenuController Object *RECURSION* [_e:CComponent:private] => [_m:CComponent:private] => ) [_pageTitle:CController:private] => [_cachingStack:CController:private] => [_clips:CController:private] => [_dynamicOutput:CController:private] => [_pageStates:CController:private] => [_module:CController:private] => [_widgetStack:CBaseController:private] => Array ( ) [_e:CComponent:private] => [_m:CComponent:private] => ) [1] => Array ( [0] => wii-u/genres [1] => popular [2] => [3] => ) ) ) [4] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/actions/CInlineAction.php [line] => 48 [function] => runWithParamsInternal [class] => CAction [type] => -> [args] => Array ( [0] => MenuController Object ( [startTime] => [logCustomer] => [logger] => [useSolariumFilter] => [useElasticSearch] => [searchPage] => 1 [menu] => Array ( ) [breadcrumbs] => Array ( ) [errors] => Array ( ) [messages] => Array ( ) [canonicalUrl] => [pageMetaModel] => [h1HeaderIcon] => 1 [layout] => [defaultAction] => index [_id:CController:private] => menu [_action:CController:private] => CInlineAction Object ( [_id:CAction:private] => category [_controller:CAction:private] => MenuController Object *RECURSION* [_e:CComponent:private] => [_m:CComponent:private] => ) [_pageTitle:CController:private] => [_cachingStack:CController:private] => [_clips:CController:private] => [_dynamicOutput:CController:private] => [_pageStates:CController:private] => [_module:CController:private] => [_widgetStack:CBaseController:private] => Array ( ) [_e:CComponent:private] => [_m:CComponent:private] => ) [1] => ReflectionMethod Object ( [name] => actionCategory [class] => MenuController ) [2] => Array ( [path] => wii-u/genres [store] => store ) ) ) [5] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/CController.php [line] => 309 [function] => runWithParams [class] => CInlineAction [type] => -> [args] => Array ( [0] => Array ( [path] => wii-u/genres [store] => store ) ) ) [6] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/filters/CFilterChain.php [line] => 134 [function] => runAction [class] => CController [type] => -> [args] => Array ( [0] => CInlineAction Object ( [_id:CAction:private] => category [_controller:CAction:private] => MenuController Object ( [startTime] => [logCustomer] => [logger] => [useSolariumFilter] => [useElasticSearch] => [searchPage] => 1 [menu] => Array ( ) [breadcrumbs] => Array ( ) [errors] => Array ( ) [messages] => Array ( ) [canonicalUrl] => [pageMetaModel] => [h1HeaderIcon] => 1 [layout] => [defaultAction] => index [_id:CController:private] => menu [_action:CController:private] => CInlineAction Object *RECURSION* [_pageTitle:CController:private] => [_cachingStack:CController:private] => [_clips:CController:private] => [_dynamicOutput:CController:private] => [_pageStates:CController:private] => [_module:CController:private] => [_widgetStack:CBaseController:private] => Array ( ) [_e:CComponent:private] => [_m:CComponent:private] => ) [_e:CComponent:private] => [_m:CComponent:private] => ) ) ) [7] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/filters/CFilter.php [line] => 41 [function] => run [class] => CFilterChain [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /var/www/release/builds/1f968e40279b/protected/components/Controller.php [line] => 263 [function] => filter [class] => CFilter [type] => -> [args] => Array ( [0] => CFilterChain Object ( [controller] => MenuController Object ( [startTime] => [logCustomer] => [logger] => [useSolariumFilter] => [useElasticSearch] => [searchPage] => 1 [menu] => Array ( ) [breadcrumbs] => Array ( ) [errors] => Array ( ) [messages] => Array ( ) [canonicalUrl] => [pageMetaModel] => [h1HeaderIcon] => 1 [layout] => [defaultAction] => index [_id:CController:private] => menu [_action:CController:private] => CInlineAction Object ( [_id:CAction:private] => category [_controller:CAction:private] => MenuController Object *RECURSION* [_e:CComponent:private] => [_m:CComponent:private] => ) [_pageTitle:CController:private] => [_cachingStack:CController:private] => [_clips:CController:private] => [_dynamicOutput:CController:private] => [_pageStates:CController:private] => [_module:CController:private] => [_widgetStack:CBaseController:private] => Array ( ) [_e:CComponent:private] => [_m:CComponent:private] => ) [action] => CInlineAction Object ( [_id:CAction:private] => category [_controller:CAction:private] => MenuController Object ( [startTime] => [logCustomer] => [logger] => [useSolariumFilter] => [useElasticSearch] => [searchPage] => 1 [menu] => Array ( ) [breadcrumbs] => Array ( ) [errors] => Array ( ) [messages] => Array ( ) [canonicalUrl] => [pageMetaModel] => [h1HeaderIcon] => 1 [layout] => [defaultAction] => index [_id:CController:private] => menu [_action:CController:private] => CInlineAction Object *RECURSION* [_pageTitle:CController:private] => [_cachingStack:CController:private] => [_clips:CController:private] => [_dynamicOutput:CController:private] => [_pageStates:CController:private] => [_module:CController:private] => [_widgetStack:CBaseController:private] => Array ( ) [_e:CComponent:private] => [_m:CComponent:private] => ) [_e:CComponent:private] => [_m:CComponent:private] => ) [filterIndex] => 1 [_d:CList:private] => Array ( [0] => CInlineFilter Object ( [name] => accessControl [_e:CComponent:private] => [_m:CComponent:private] => ) ) [_c:CList:private] => 1 [_r:CList:private] => [_e:CComponent:private] => [_m:CComponent:private] => ) ) ) [9] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/filters/CInlineFilter.php [line] => 59 [function] => filterAccessControl [class] => Controller [type] => -> [args] => Array ( [0] => CFilterChain Object ( [controller] => MenuController Object ( [startTime] => [logCustomer] => [logger] => [useSolariumFilter] => [useElasticSearch] => [searchPage] => 1 [menu] => Array ( ) [breadcrumbs] => Array ( ) [errors] => Array ( ) [messages] => Array ( ) [canonicalUrl] => [pageMetaModel] => [h1HeaderIcon] => 1 [layout] => [defaultAction] => index [_id:CController:private] => menu [_action:CController:private] => CInlineAction Object ( [_id:CAction:private] => category [_controller:CAction:private] => MenuController Object *RECURSION* [_e:CComponent:private] => [_m:CComponent:private] => ) [_pageTitle:CController:private] => [_cachingStack:CController:private] => [_clips:CController:private] => [_dynamicOutput:CController:private] => [_pageStates:CController:private] => [_module:CController:private] => [_widgetStack:CBaseController:private] => Array ( ) [_e:CComponent:private] => [_m:CComponent:private] => ) [action] => CInlineAction Object ( [_id:CAction:private] => category [_controller:CAction:private] => MenuController Object ( [startTime] => [logCustomer] => [logger] => [useSolariumFilter] => [useElasticSearch] => [searchPage] => 1 [menu] => Array ( ) [breadcrumbs] => Array ( ) [errors] => Array ( ) [messages] => Array ( ) [canonicalUrl] => [pageMetaModel] => [h1HeaderIcon] => 1 [layout] => [defaultAction] => index [_id:CController:private] => menu [_action:CController:private] => CInlineAction Object *RECURSION* [_pageTitle:CController:private] => [_cachingStack:CController:private] => [_clips:CController:private] => [_dynamicOutput:CController:private] => [_pageStates:CController:private] => [_module:CController:private] => [_widgetStack:CBaseController:private] => Array ( ) [_e:CComponent:private] => [_m:CComponent:private] => ) [_e:CComponent:private] => [_m:CComponent:private] => ) [filterIndex] => 1 [_d:CList:private] => Array ( [0] => CInlineFilter Object ( [name] => accessControl [_e:CComponent:private] => [_m:CComponent:private] => ) ) [_c:CList:private] => 1 [_r:CList:private] => [_e:CComponent:private] => [_m:CComponent:private] => ) ) ) [10] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/filters/CFilterChain.php [line] => 131 [function] => filter [class] => CInlineFilter [type] => -> [args] => Array ( [0] => CFilterChain Object ( [controller] => MenuController Object ( [startTime] => [logCustomer] => [logger] => [useSolariumFilter] => [useElasticSearch] => [searchPage] => 1 [menu] => Array ( ) [breadcrumbs] => Array ( ) [errors] => Array ( ) [messages] => Array ( ) [canonicalUrl] => [pageMetaModel] => [h1HeaderIcon] => 1 [layout] => [defaultAction] => index [_id:CController:private] => menu [_action:CController:private] => CInlineAction Object ( [_id:CAction:private] => category [_controller:CAction:private] => MenuController Object *RECURSION* [_e:CComponent:private] => [_m:CComponent:private] => ) [_pageTitle:CController:private] => [_cachingStack:CController:private] => [_clips:CController:private] => [_dynamicOutput:CController:private] => [_pageStates:CController:private] => [_module:CController:private] => [_widgetStack:CBaseController:private] => Array ( ) [_e:CComponent:private] => [_m:CComponent:private] => ) [action] => CInlineAction Object ( [_id:CAction:private] => category [_controller:CAction:private] => MenuController Object ( [startTime] => [logCustomer] => [logger] => [useSolariumFilter] => [useElasticSearch] => [searchPage] => 1 [menu] => Array ( ) [breadcrumbs] => Array ( ) [errors] => Array ( ) [messages] => Array ( ) [canonicalUrl] => [pageMetaModel] => [h1HeaderIcon] => 1 [layout] => [defaultAction] => index [_id:CController:private] => menu [_action:CController:private] => CInlineAction Object *RECURSION* [_pageTitle:CController:private] => [_cachingStack:CController:private] => [_clips:CController:private] => [_dynamicOutput:CController:private] => [_pageStates:CController:private] => [_module:CController:private] => [_widgetStack:CBaseController:private] => Array ( ) [_e:CComponent:private] => [_m:CComponent:private] => ) [_e:CComponent:private] => [_m:CComponent:private] => ) [filterIndex] => 1 [_d:CList:private] => Array ( [0] => CInlineFilter Object ( [name] => accessControl [_e:CComponent:private] => [_m:CComponent:private] => ) ) [_c:CList:private] => 1 [_r:CList:private] => [_e:CComponent:private] => [_m:CComponent:private] => ) ) ) [11] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/CController.php [line] => 292 [function] => run [class] => CFilterChain [type] => -> [args] => Array ( ) ) [12] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/CController.php [line] => 266 [function] => runActionWithFilters [class] => CController [type] => -> [args] => Array ( [0] => CInlineAction Object ( [_id:CAction:private] => category [_controller:CAction:private] => MenuController Object ( [startTime] => [logCustomer] => [logger] => [useSolariumFilter] => [useElasticSearch] => [searchPage] => 1 [menu] => Array ( ) [breadcrumbs] => Array ( ) [errors] => Array ( ) [messages] => Array ( ) [canonicalUrl] => [pageMetaModel] => [h1HeaderIcon] => 1 [layout] => [defaultAction] => index [_id:CController:private] => menu [_action:CController:private] => CInlineAction Object *RECURSION* [_pageTitle:CController:private] => [_cachingStack:CController:private] => [_clips:CController:private] => [_dynamicOutput:CController:private] => [_pageStates:CController:private] => [_module:CController:private] => [_widgetStack:CBaseController:private] => Array ( ) [_e:CComponent:private] => [_m:CComponent:private] => ) [_e:CComponent:private] => [_m:CComponent:private] => ) [1] => Array ( [0] => accessControl ) ) ) [13] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/CWebApplication.php [line] => 276 [function] => run [class] => CController [type] => -> [args] => Array ( [0] => category ) ) [14] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/web/CWebApplication.php [line] => 135 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => menu/category ) ) [15] => Array ( [file] => /var/www/release/builds/1f968e40279b/yii/framework/base/CApplication.php [line] => 162 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [16] => Array ( [file] => /var/www/release/builds/1f968e40279b/www/index.php [line] => 83 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) )