A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Boutique.php

Line Number: 38

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 38
Function: _error_handler

File: /home/repfonefig/newrepfone/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Boutique.php

Line Number: 38

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 38
Function: _error_handler

File: /home/repfonefig/newrepfone/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Boutique.php

Line Number: 39

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 39
Function: _error_handler

File: /home/repfonefig/newrepfone/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Boutique.php

Line Number: 39

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 39
Function: _error_handler

File: /home/repfonefig/newrepfone/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/Boutique.php

Line Number: 41

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 41
Function: _error_handler

File: /home/repfonefig/newrepfone/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/Boutique.php

Line Number: 42

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 42
Function: _error_handler

File: /home/repfonefig/newrepfone/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/Boutique.php

Line Number: 53

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 53
Function: _error_handler

File: /home/repfonefig/newrepfone/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id_boutique

Filename: models/File_model.php

Line Number: 69

Backtrace:

File: /home/repfonefig/newrepfone/application/models/File_model.php
Line: 69
Function: _error_handler

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 53
Function: getpic

File: /home/repfonefig/newrepfone/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/Boutique.php

Line Number: 70

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 70
Function: _error_handler

File: /home/repfonefig/newrepfone/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Boutique.php

Line Number: 88

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 88
Function: _error_handler

File: /home/repfonefig/newrepfone/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Boutique.php

Line Number: 88

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 88
Function: _error_handler

File: /home/repfonefig/newrepfone/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/Boutique.php

Line Number: 88

Backtrace:

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 88
Function: _error_handler

File: /home/repfonefig/newrepfone/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/repfonefig/newrepfone/application/models/Boutique_model.php
Line: 440
Function: query

File: /home/repfonefig/newrepfone/application/controllers/Boutique.php
Line: 88
Function: getRelatedBoutiques

File: /home/repfonefig/newrepfone/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 MySQL server version for the right syntax to use near 'LIMIT 4' at line 4

SELECT b.*,bd.file FROM boutiques b LEFT JOIN boutiques_docs bd on bd.id_boutique=b.id WHERE (bd.id is null or (bd.id is not null and bd.type='boutique')) AND is_disabled!=1 AND (b.city LIKE '%%' OR b.postal_code = '') AND b.id != LIMIT 4

Filename: models/Boutique_model.php

Line Number: 440