A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Store.php

Line Number: 92

Backtrace:

File: /home/u970762488/domains/wholesaleshopy.com/public_html/application/controllers/Store.php
Line: 92
Function: _error_handler

File: /home/u970762488/domains/wholesaleshopy.com/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Store.php

Line Number: 92

Backtrace:

File: /home/u970762488/domains/wholesaleshopy.com/public_html/application/controllers/Store.php
Line: 92
Function: _error_handler

File: /home/u970762488/domains/wholesaleshopy.com/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Store.php

Line Number: 135

Backtrace:

File: /home/u970762488/domains/wholesaleshopy.com/public_html/application/controllers/Store.php
Line: 135
Function: _error_handler

File: /home/u970762488/domains/wholesaleshopy.com/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Store.php

Line Number: 135

Backtrace:

File: /home/u970762488/domains/wholesaleshopy.com/public_html/application/controllers/Store.php
Line: 135
Function: _error_handler

File: /home/u970762488/domains/wholesaleshopy.com/public_html/index.php
Line: 317
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 state_id = limit 50 offset 0' at line 1

select * from shopping_mall_shops where office_id = and state_id = limit 50 offset 0

Filename: models/Crudmodel.php

Line Number: 120