Cannot purchase product - frustrating!

868 Views 1 replies
Beth S.
Joined: 7/24/2013

I keep trying to purchase an item and get this:

 

PHP notice

Undefined index: items

/var/www/applications/product_websites/include/store_core/releases/20130429230312/protected/controllers/cart/OrderConfirmAction.php(55)

43         $stateExceptions   = CartOrder::shippingExceptionsGet($consumerShipAddModel->StateId, $exceptionTypeValue='State');
44 
45 
46         /// JUGGLING OFFERS AND EXCEPTIONS...
47         if( empty($countryExceptions) && empty($stateExceptions) && isset($this->controller->_cartData['removed_items']) ){
48             $tmpItems = $this->controller->_cartData['removed_items'];
49             foreach($tmpItems as $idx => $item){
50                 $this->controller->_cartData['items'][$idx] = $item;
51                 unset($this->controller->_cartData['removed_items'][$idx]);
52             }
53         }
54         else{
55             $tmpItems = $this->controller->_cartData['items'];
56             $allExceptions = $stateExceptions + $countryExceptions;
57             foreach($tmpItems as $idx => $item){
58                 if(in_array($item['offer_id'],$allExceptions)){
59                     $this->controller->_cartData['removed_items'][$idx] = $item;
60                     unset($this->controller->_cartData['items'][$idx]);
61                 }
62             }
63         }
64 
65 
66         foreach($tmpItems as $idx => $item){
67             if(in_array($item['offer_id'],$countryExceptions)){

Stack Trace

#7
  /var/www/applications/product_websites/htdocs/index.php(17): CApplication->run()
12 defined('YII_DEBUG') or define('YII_DEBUG',true);
13 // specify how many levels of call stack should be shown in each log message
14 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
15 
16 require_once($yii);
17 Yii::createWebApplication($config)->run();
2013-07-29 14:18:47 Apache/2.2.14 (Ubuntu) Yii Framework/1.1.10
 
 
 
HELP ME!!!
What operating system and browser are you using?