[Notice] Trying to get property of non-object

GET /properties-for-sale-2/finca/view/OKP1543

Line 314 in /home/yourhome/public_html/mysite/code/ProductCategoryPage.php

Source

305 			));
306 			$Product->write();
307 			$this->updateRecentlyViewedCookie($Product->Ref);		
308 			
309             return $this->customise($Data)->renderWith(array('Product', 'Page'));        
310         }
311 		// XML Feed Property
312 		elseif(is_string($Product)){
313 			$property = $this->OtherProperties($Product);
314 			$this->updateRecentlyViewedCookie($property->Ref);		
315             return $this->renderWith(array('XMLProduct','Page'),array('Product'=>$property));
316 		}
317         else{
318             return $this->httpError(404, 'Sorry this product could not be found');
319         }
320     }

Trace

  • ProductCategoryPage_Controller->view(SS_HTTPRequest)
    RequestHandler.php:288
  • RequestHandler->handleAction(SS_HTTPRequest,view)
    Controller.php:205
  • Controller->handleAction(SS_HTTPRequest,view)
    RequestHandler.php:200
  • RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
    Controller.php:158
  • Controller->handleRequest(SS_HTTPRequest,DataModel)
    ContentController.php:174
  • ContentController->handleRequest(SS_HTTPRequest,DataModel)
    ContentController.php:154
  • ContentController->handleRequest(SS_HTTPRequest,DataModel)
    ModelAsController.php:75
  • ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
    Director.php:385
  • Director::handleRequest(SS_HTTPRequest,Session,DataModel)
    Director.php:149
  • Director::direct(/properties-for-sale-2/finca/view/OKP1543,DataModel)
    main.php:188
Finca
Costa Calida, Murcia and South Costa Blanca Real Estate
Your Home In Spain Quick Access
  • UK +44 7973 268906
  • Spain +34 604 384687

Site Navigation

Your Home In Spain img-responsive  Finca
  • Search
  • Home
  • About Us
    • Free Valuation
    • Viewing Trips
    • Buy To Let
    • Customer Reviews
    • About Us
  • Contact Us
    • UK +44 7973 268906
    • Spain +34 604 384687
    • Send us a Message
  • Moving To Spain Guide
  • Facebook
  • Twitter
  • Instagram

View Favourites Recently Viewed


Ref:

  • No

€

Add to Favourites Print

Enquire Now


Your Home In Spain site Footer

your home in spain

Costa Calida Murcia Sales Office

Roda Golf
San Javier
Murcia
Spain.

© Your Home In Spain

Web design & SEO by Smart Numbers

Web Site Hosting & CMS by Defined Hosting