A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Shop.php

Line Number: 39

Backtrace:

File: /app/app/controllers/Shop.php
Line: 39
Function: _error_handler

File: /app/index.php
Line: 302
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /app/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

An uncaught Exception was encountered

Type: Error

Message: Call to a member function num_rows() on bool

Filename: /app/app/models/admin/Products_model.php

Line Number: 1077

Backtrace:

File: /app/app/controllers/Shop.php
Line: 39
Function: getCategoryById

File: /app/index.php
Line: 302
Function: require_once