A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: public/Pages.php

Line Number: 184

Backtrace:

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 184
Function: _error_handler

File: /home/leasinga5u/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: public/Pages.php

Line Number: 185

Backtrace:

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 185
Function: _error_handler

File: /home/leasinga5u/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: public/Pages.php

Line Number: 186

Backtrace:

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 186
Function: _error_handler

File: /home/leasinga5u/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: public/Pages.php

Line Number: 189

Backtrace:

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 189
Function: _error_handler

File: /home/leasinga5u/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: public/Pages.php

Line Number: 189

Backtrace:

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 189
Function: _error_handler

File: /home/leasinga5u/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/leasinga5u/public_html/application/models/Public_cars_model.php
Line: 330
Function: get

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 189
Function: get_casco

File: /home/leasinga5u/public_html/index.php
Line: 292
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 'LIMIT 1' at line 6

SELECT `Procent_Casco` FROM `ERP_Bareme_Casco` WHERE `An` IS NULL AND `Durata` = 12 AND `Valoare_Masina` > LIMIT 1

Filename: models/Public_cars_model.php

Line Number: 330