A PHP Error was encountered

Severity: Notice

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

Filename: models/Wishlistmodel.php

Line Number: 147

Backtrace:

File: /home/yadegardiamonds/public_html/application/models/Wishlistmodel.php
Line: 147
Function: _error_handler

File: /home/yadegardiamonds/public_html/application/controllers/Account.php
Line: 211
Function: addproduct

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

A PHP Error was encountered

Severity: Notice

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

Filename: models/Wishlistmodel.php

Line Number: 151

Backtrace:

File: /home/yadegardiamonds/public_html/application/models/Wishlistmodel.php
Line: 151
Function: _error_handler

File: /home/yadegardiamonds/public_html/application/controllers/Account.php
Line: 211
Function: addproduct

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