A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/MY_ContentBase.php

Line Number: 59

Backtrace:

File: /home/pube8712/public_html/application/core/MY_ContentBase.php
Line: 59
Function: _error_handler

File: /home/pube8712/public_html/application/controllers/Store.php
Line: 13
Function: __construct

File: /home/pube8712/public_html/index.php
Line: 318
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/pube8712/public_html/application/core/MY_Model.php
Line: 30
Function: query

File: /home/pube8712/public_html/application/core/MY_ContentBase.php
Line: 76
Function: getObject

File: /home/pube8712/public_html/application/controllers/Store.php
Line: 13
Function: __construct

File: /home/pube8712/public_html/index.php
Line: 318
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND item.path='forgot_password' ORDER BY item.datePublished DESC' at line 5

SELECT item.*, term.pathName, term.title as categoryTitle, term.id as categoryId FROM ln_posts as item INNER JOIN ln_taxonomy as term on item.category = term.id WHERE item.status=1 AND item.postType="product" AND item.category= AND item.path='forgot_password' ORDER BY item.datePublished DESC

Filename: core/MY_Model.php

Line Number: 30