| ( ! ) Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/framework/db/ar/CActiveFinder.php on line 853 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 387040 | {main}( ) | .../index.php:0 |
| 2 | 0.0259 | 657984 | CApplication->run( ) | .../index.php:47 |
| 3 | 0.0259 | 658544 | CWebApplication->processRequest( ) | .../yiilite.php:1236 |
| 4 | 0.0273 | 698688 | CWebApplication->runController( $route = 'popular' ) | .../yiilite.php:1717 |
| 5 | 0.0275 | 699704 | CController->run( $actionID = '' ) | .../yiilite.php:1797 |
| 6 | 0.0275 | 699832 | CController->runActionWithFilters( $action = class CInlineAction { private ${CComponent}_e = NULL; private ${CComponent}_m = NULL; private ${CAction}_id = 'index'; private ${CAction}_controller = class PopularController { private ${CComponent}_e = NULL; private ${CComponent}_m = NULL; private ${CBaseController}_widgetStack = [...]; public $layout = '//layouts/column1'; public $defaultAction = 'index'; private ${CController}_id = 'popular'; private ${CController}_action = ...; private ${CController}_pageTitle = NULL; private ${CController}_cachingStack = NULL; private ${CController}_clips = NULL; private ${CController}_dynamicOutput = NULL; private ${CController}_pageStates = NULL; private ${CController}_module = NULL; public $menu = [...]; public $breadcrumbs = [...]; private ${Controller}activeNavItem = 'POPULAR'; private ${Controller}activeNavClassName = 'active'; public $sanitizePost = TRUE; public $sanitizeGet = TRUE } }, $filters = [] ) | .../yiilite.php:3732 |
| 7 | 0.0275 | 699832 | CController->runAction( $action = class CInlineAction { private ${CComponent}_e = NULL; private ${CComponent}_m = NULL; private ${CAction}_id = 'index'; private ${CAction}_controller = class PopularController { private ${CComponent}_e = NULL; private ${CComponent}_m = NULL; private ${CBaseController}_widgetStack = [...]; public $layout = '//layouts/column1'; public $defaultAction = 'index'; private ${CController}_id = 'popular'; private ${CController}_action = ...; private ${CController}_pageTitle = NULL; private ${CController}_cachingStack = NULL; private ${CController}_clips = NULL; private ${CController}_dynamicOutput = NULL; private ${CController}_pageStates = NULL; private ${CController}_module = NULL; public $menu = [...]; public $breadcrumbs = [...]; private ${Controller}activeNavItem = 'POPULAR'; private ${Controller}activeNavClassName = 'active'; public $sanitizePost = TRUE; public $sanitizeGet = TRUE } } ) | .../yiilite.php:3742 |
| 8 | 0.0276 | 700512 | CInlineAction->runWithParams( $params = [] ) | .../yiilite.php:3757 |
| 9 | 0.0276 | 700664 | PopularController->actionIndex( ) | .../yiilite.php:4249 |
| 10 | 0.0317 | 747296 | Product->randomPopular( $daysBack = ??? ) | .../PopularController.php:31 |
| 11 | 0.0331 | 806920 | CActiveRecord->find( $condition = class CDbCriteria { private ${CComponent}_e = NULL; private ${CComponent}_m = NULL; public $select = [0 => 'SUM(dailyStats.visits) AS visitsCount']; public $distinct = FALSE; public $condition = 'published=:ycp1'; public $params = [':ycp1' => '1']; public $limit = -1; public $offset = -1; public $order = 'visitsCount DESC'; public $group = 't.product_id'; public $join = ''; public $having = ''; public $with = ['dailyStats' => [...]]; public $alias = NULL; public $together = TRUE; public $index = NULL; public $scopes = NULL }, $params = ??? ) | .../Product.php:304 |
| 12 | 0.0332 | 807304 | CActiveRecord->query( $criteria = class CDbCriteria { private ${CComponent}_e = NULL; private ${CComponent}_m = NULL; public $select = [0 => 'SUM(dailyStats.visits) AS visitsCount']; public $distinct = FALSE; public $condition = 'published=:ycp1'; public $params = [':ycp1' => '1']; public $limit = -1; public $offset = -1; public $order = 'visitsCount DESC'; public $group = 't.product_id'; public $join = ''; public $having = ''; public $with = ['dailyStats' => [...]]; public $alias = NULL; public $together = TRUE; public $index = NULL; public $scopes = NULL }, $all = ??? ) | .../yiilite.php:8268 |
| 13 | 0.0340 | 823112 | CActiveFinder->query( $criteria = class CDbCriteria { private ${CComponent}_e = NULL; private ${CComponent}_m = NULL; public $select = [0 => 't.title', 1 => 't.sell_price', 2 => 't.has_page', 3 => 't.product_id', 4 => 't.brand_id', 5 => 't.affiliate_supplier_id', 6 => 't.coupon_code', 7 => 't.coupon_valid_till', 8 => 't.coupon_discount', 9 => 't.last_edit', 10 => 'SUM(dailyStats.visits) AS visitsCount']; public $distinct = FALSE; public $condition = '((t.store_id = 1596) AND (published = 1)) AND (published=:ycp1)'; public $params = [':ycp1' => '1']; public $limit = -1; public $offset = -1; public $order = 'visitsCount DESC'; public $group = 't.product_id'; public $join = ''; public $having = ''; public $with = ['dailyStats' => [...]]; public $alias = NULL; public $together = TRUE; public $index = NULL; public $scopes = NULL }, $all = FALSE ) | .../yiilite.php:8209 |
| 14 | 0.0340 | 823112 | CJoinElement->find( $criteria = class CDbCriteria { private ${CComponent}_e = NULL; private ${CComponent}_m = NULL; public $select = [0 => 't.title', 1 => 't.sell_price', 2 => 't.has_page', 3 => 't.product_id', 4 => 't.brand_id', 5 => 't.affiliate_supplier_id', 6 => 't.coupon_code', 7 => 't.coupon_valid_till', 8 => 't.coupon_discount', 9 => 't.last_edit', 10 => 'SUM(dailyStats.visits) AS visitsCount']; public $distinct = FALSE; public $condition = '((t.store_id = 1596) AND (published = 1)) AND (published=:ycp1)'; public $params = [':ycp1' => '1']; public $limit = -1; public $offset = -1; public $order = 'visitsCount DESC'; public $group = 't.product_id'; public $join = ''; public $having = ''; public $with = ['dailyStats' => [...]]; public $alias = NULL; public $together = TRUE; public $index = NULL; public $scopes = NULL } ) | .../CActiveFinder.php:68 |
| 15 | 0.0342 | 826000 | CJoinElement->runQuery( $query = class CJoinQuery { public $selects = [0 => '`t`.`title` AS `t0_c5`, `t`.`sell_price` AS `t0_c8`, `t`.`has_page` AS `t0_c19`, `t`.`product_id` AS `t0_c0`, `t`.`brand_id` AS `t0_c4`, `t`.`affiliate_supplier_id` AS `t0_c1`, `t`.`coupon_code` AS `t0_c14`, `t`.`coupon_valid_till` AS `t0_c16`, `t`.`coupon_discount` AS `t0_c15`, `t`.`last_edit` AS `t0_c22`, SUM(dailyStats.visits) AS visitsCount', 1 => '`dailyStats`.`visits` AS `t1_c3`, `dailyStats`.`product_day_visits_id` AS `t1_c0`']; public $distinct = FALSE; public $joins = [0 => '`tbl_product` `t`', 1 => '', 2 => 'LEFT OUTER JOIN `tbl_stat_product_visit` `dailyStats` ON (`dailyStats`.`product_id`=`t`.`product_id`) AND (dailyStats.day_timestamp >= :startTime)', 3 => '']; public $conditions = [0 => '((t.store_id = 1596) AND (published = 1)) AND (published=:ycp1)', 1 => '']; public $orders = [0 => 'visitsCount DESC', 1 => '']; public $groups = [0 => 't.product_id', 1 => '']; public $havings = [0 => '', 1 => '']; public $limit = -1; public $offset = -1; public $params = [':ycp1' => '1', ':startTime' => 1775692800]; public $elements = [0 => TRUE, 1 => TRUE] } ) | .../CActiveFinder.php:441 |
| 16 | 8.5725 | 132108664 | CJoinElement->populateRecord( $query = class CJoinQuery { public $selects = [0 => '`t`.`title` AS `t0_c5`, `t`.`sell_price` AS `t0_c8`, `t`.`has_page` AS `t0_c19`, `t`.`product_id` AS `t0_c0`, `t`.`brand_id` AS `t0_c4`, `t`.`affiliate_supplier_id` AS `t0_c1`, `t`.`coupon_code` AS `t0_c14`, `t`.`coupon_valid_till` AS `t0_c16`, `t`.`coupon_discount` AS `t0_c15`, `t`.`last_edit` AS `t0_c22`, SUM(dailyStats.visits) AS visitsCount', 1 => '`dailyStats`.`visits` AS `t1_c3`, `dailyStats`.`product_day_visits_id` AS `t1_c0`']; public $distinct = FALSE; public $joins = [0 => '`tbl_product` `t`', 1 => '', 2 => 'LEFT OUTER JOIN `tbl_stat_product_visit` `dailyStats` ON (`dailyStats`.`product_id`=`t`.`product_id`) AND (dailyStats.day_timestamp >= :startTime)', 3 => '']; public $conditions = [0 => '((t.store_id = 1596) AND (published = 1)) AND (published=:ycp1)', 1 => '']; public $orders = [0 => 'visitsCount DESC', 1 => '']; public $groups = [0 => 't.product_id', 1 => '']; public $havings = [0 => '', 1 => '']; public $limit = -1; public $offset = -1; public $params = [':ycp1' => '1', ':startTime' => 1775692800]; public $elements = [0 => TRUE, 1 => TRUE] }, $row = ['t0_c5' => 'USB AUX Wireless Bluetooth Car Kit Handsfree 3.1A Dual USB Phone Charger Car Cigarette Plug TF Card 3.5mm Audio FM Transmitter', 't0_c8' => 18, 't0_c19' => 0, 't0_c0' => 166531, 't0_c4' => NULL, 't0_c1' => 6, 't0_c14' => NULL, 't0_c16' => NULL, 't0_c15' => NULL, 't0_c22' => NULL, 'visitsCount' => NULL, 't1_c3' => NULL, 't1_c0' => NULL] ) | .../CActiveFinder.php:811 |