Notice

Description

Trying to get property of non-object

Source File

/var/www1/chocolat/system/classes/ui/catalogue/ViewProduct.php

00043:   */
00044:  private $assortiment = array();
00045: 
00046:  /**
00047:   * class constructor
00048:   */
00049:  public function __construct($page=null) {
00050: 
00051:   $this->getBase()->i18n = new LabelManager($this->site->id);
00052:   
00053:   $this->product = CatalogueManager::getProductByUrl(@$this->action[1], $this->system->deliveryCountry->couId);
00054: $page->metaTitle = $this->product->prrTitle.' - '.$this->localize('On-line boutique');
00055: 00056: parent::__construct($page); 00057: $this->cssFiles[] = $this->language.'_product.css'; 00058: 00059: /////////////////////////////////////////////////////////////// 00060: // register ajax 00061: $params = array(); 00062: $params[] = array("setBasket",$this,"setBasket"); 00063: $params[] = array("setFavorites",$this,"setFavorites"); 00064: 00065: $this->ajaxRegister($params); 00066:

Stack Trace

00000: /var/www1/chocolat/system/classes/business/system/SiteProcess.php(266): ViewProduct->__construct()
00001: /var/www1/chocolat/www/index.php(10): SiteProcess->run()
00002: {main}
2012-05-21 02:17:47