A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/Shop.php

Line Number: 48

Backtrace:

File: /home/ticketon/public_html/application/controllers/Shop.php
Line: 48
Function: _error_handler

File: /home/ticketon/public_html/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/ticketon/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 565

Backtrace:

File: /home/ticketon/public_html/application/models/Product_model.php
Line: 311
Function: get_where

File: /home/ticketon/public_html/application/controllers/Shop.php
Line: 50
Function: getLimitProducts

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

Database Error

Se produjo un error en la base de datos

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-5, 6' at line 5

SELECT * FROM `product_table` `pt` JOIN `product_images` `pi` ON `pi`.`product_id` = `pt`.`product_id` WHERE `pt`.`active_flag` = 0 LIMIT -5, 6

Filename: models/Product_model.php

Line Number: 311