A PHP Error was encountered

Severity: Warning

Message: Undefined property: stdClass::$SaleEndDate

Filename: controllers/Product.php

Line Number: 38

Backtrace:

File: /home/u790012973/domains/sehershop.com/public_html/application/controllers/Product.php
Line: 38
Function: _error_handler

File: /home/u790012973/domains/sehershop.com/public_html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated

Filename: controllers/Product.php

Line Number: 38

Backtrace:

File: /home/u790012973/domains/sehershop.com/public_html/application/controllers/Product.php
Line: 38
Function: strtotime

File: /home/u790012973/domains/sehershop.com/public_html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined property: stdClass::$ProductId

Filename: controllers/Product.php

Line Number: 45

Backtrace:

File: /home/u790012973/domains/sehershop.com/public_html/application/controllers/Product.php
Line: 45
Function: _error_handler

File: /home/u790012973/domains/sehershop.com/public_html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined property: stdClass::$ProductCatId

Filename: controllers/Product.php

Line Number: 45

Backtrace:

File: /home/u790012973/domains/sehershop.com/public_html/application/controllers/Product.php
Line: 45
Function: _error_handler

File: /home/u790012973/domains/sehershop.com/public_html/index.php
Line: 316
Function: require_once

An uncaught Exception was encountered

Type: mysqli_sql_exception

Message: 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 p.ProductId<> and p.isdraft=0 and p.isdelete=0 and p.isdirectaccess=0 ord...' at line 5

Filename: /home/u790012973/domains/sehershop.com/public_html/system/database/drivers/mysqli/mysqli_driver.php

Line Number: 305

Backtrace:

File: /home/u790012973/domains/sehershop.com/public_html/application/models/admin/Product_model.php
Line: 373
Function: query

File: /home/u790012973/domains/sehershop.com/public_html/application/controllers/Product.php
Line: 45
Function: GetRelatedProducts

File: /home/u790012973/domains/sehershop.com/public_html/index.php
Line: 316
Function: require_once