|
Hi folks,
On the front-end, I get this message:
Fatal error: Call to a member function addAttributeToSelect() on a non-object in /home/public_html/app/code/core/Mage/Sales/Model/Quote.php on line 301
Referenced fucntion:
public function getItemsCollection($loaded = true) { if (is_null($this->_items)) { $this->_items = Mage::getResourceModel('sales/quote_item_collection');
if ($this->getId()) { $this->_items->addAttributeToSelect('*') ->setQuoteFilter($this->getId()); if ($loaded) { $this->_items->load(); } foreach ($this->_items as $item) { $item->setQuote($this); } } } return $this->_items; }
The admin side appears to work without a problem. Any ideas or suggestions are appreciated!
|