admin's products

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: pages/all_products.php

Line Number: 21

Backtrace:

File: /chroot/home/vaporyma/goo-pay.com/html/application/views/pages/all_products.php
Line: 21
Function: _error_handler

File: /chroot/home/vaporyma/goo-pay.com/html/application/controllers/User.php
Line: 2122
Function: view

File: /chroot/home/vaporyma/goo-pay.com/html/index.php
Line: 292
Function: require_once