A Database Error Occurred

Error Number: 1054

Unknown column 'none' in 'where clause'

SELECT `affiliate_content`.`id`, `affiliate_content`.`url`, `affiliate_content`.`name`, `affiliate_content`.`price`, `affiliate_content`.`picture_big`, `affiliate_content`.`extra_info2`, `affiliate_feed`.`feed_name` FROM `affiliate_content` JOIN `affiliate_feed` ON `affiliate_content`.`feed_id` = `affiliate_feed`.`id` WHERE LPAD(affiliate_content.ean, 13, 0) = none ORDER BY `affiliate_content`.`price` ASC

Filename: models/Games_model.php

Line Number: 65