A PHP Error was encountered

Severity: Warning

Message: pg_query(): Query failed: ERROR: invalid input syntax for integer: "index.php" LINE 3: WHERE "id_categoria_comercial" = 'index.php' ^

Filename: postgre/postgre_driver.php

Line Number: 236

Backtrace:

File: /home/vademecumknop/public_html/application/models/Categoria_model.php
Line: 82
Function: get

File: /home/vademecumknop/public_html/application/controllers/Articulo.php
Line: 951
Function: get_by_id

File: /home/vademecumknop/public_html/index.php
Line: 310
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 563

Backtrace:

File: /home/vademecumknop/public_html/application/models/Categoria_model.php
Line: 82
Function: get

File: /home/vademecumknop/public_html/application/controllers/Articulo.php
Line: 951
Function: get_by_id

File: /home/vademecumknop/public_html/index.php
Line: 310
Function: require_once

Database Error

A Database Error Occurred

Error Number:

ERROR: invalid input syntax for integer: "index.php" LINE 3: WHERE "id_categoria_comercial" = 'index.php' ^

SELECT * FROM "t_categoria_comercial" WHERE "id_categoria_comercial" = 'index.php'

Filename: models/Categoria_model.php

Line Number: 82