A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: public/Pages.php

Line Number: 127

Backtrace:

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 127
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: 128

Backtrace:

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 128
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: 129

Backtrace:

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 129
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: 130

Backtrace:

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

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

A PHP Error was encountered

Severity: Notice

Message: Undefined index: An

Filename: public/Pages.php

Line Number: 132

Backtrace:

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

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

A PHP Error was encountered

Severity: Notice

Message: Undefined index: Pret

Filename: public/Pages.php

Line Number: 133

Backtrace:

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 133
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: 347
Function: get

File: /home/leasinga5u/public_html/application/controllers/public/Pages.php
Line: 133
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` = 2015 AND `Durata` = 12 AND `Valoare_Masina` > LIMIT 1

Filename: models/Public_cars_model.php

Line Number: 347