A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 2

Filename: controllers/CrpListings.php

Line Number: 46

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 46
Function: _error_handler

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 2

Filename: controllers/CrpListings.php

Line Number: 47

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 47
Function: _error_handler

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 3

Filename: controllers/CrpListings.php

Line Number: 49

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 49
Function: _error_handler

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 3

Filename: controllers/CrpListings.php

Line Number: 56

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 56
Function: _error_handler

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 3

Filename: controllers/CrpListings.php

Line Number: 57

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 57
Function: _error_handler

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 4

Filename: controllers/CrpListings.php

Line Number: 60

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 60
Function: _error_handler

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 4

Filename: controllers/CrpListings.php

Line Number: 65

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 65
Function: _error_handler

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 4

Filename: controllers/CrpListings.php

Line Number: 66

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 66
Function: _error_handler

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: condition4

Filename: models/Makemodel_model.php

Line Number: 91

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/models/Makemodel_model.php
Line: 91
Function: _error_handler

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 92
Function: getcounts

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: condition4

Filename: models/Makemodel_model.php

Line Number: 92

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/models/Makemodel_model.php
Line: 92
Function: _error_handler

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 92
Function: getcounts

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/models/Makemodel_model.php
Line: 97
Function: query

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 92
Function: getcounts

File: /home/azy459zn26dr/public_html/crp/index.php
Line: 315
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 is_published =1 UNION SELECT pcp_id as veh_id, 'pcp' as type, NULL as ve...' at line 1

SELECT COUNT(*) AS total_rec FROM (SELECT crp_id as veh_id, 'crp' as type, vehicle_class, rustproofing_date,manufacture_year,vehicle_make,vehicle_model,vehicle_name,transmission,engine,mileage,waxoyl,customer_email,bidding_sale,sale_price,video_url,admin_url,public_url,modified_by,created_date,modified_date,thumbnail FROM tbl_crp AND is_published =1 UNION SELECT pcp_id as veh_id, 'pcp' as type, NULL as vehicle_class, rustproofing_date,manufacture_year,vehicle_make,vehicle_model,vehicle_name,transmission,engine,mileage,waxoyl,customer_email,bidding_sale,sale_price,video_url,admin_url,public_url,modified_by,created_date,modified_date,thumbnail FROM tbl_pcp ) AS t

Filename: models/Makemodel_model.php

Line Number: 97