A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'productname' of non-object

Filename: views/album_photo.php

Line Number: 4

Backtrace:

File: /home/sangathpictures/public_html/application/views/album_photo.php
Line: 4
Function: _error_handler

File: /home/sangathpictures/public_html/application/controllers/Photo.php
Line: 51
Function: view

File: /home/sangathpictures/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'description' of non-object

Filename: views/album_photo.php

Line Number: 5

Backtrace:

File: /home/sangathpictures/public_html/application/views/album_photo.php
Line: 5
Function: _error_handler

File: /home/sangathpictures/public_html/application/controllers/Photo.php
Line: 51
Function: view

File: /home/sangathpictures/public_html/index.php
Line: 315
Function: require_once