A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 2

Filename: controllers/CrpListings.php

Line Number: 41

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 41
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: 42

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 42
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: 44

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 44
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: 51

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 51
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: 52

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 52
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: 55

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 55
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: 61

Backtrace:

File: /home/azy459zn26dr/public_html/crp/application/controllers/CrpListings.php
Line: 61
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: 87
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: 87
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: 87
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