Warning (512): SQL Error: 1052: Column 'name' in order clause is ambiguous [CORE/cake/libs/model/datasources/dbo_source.php, line 684]

Query: SELECT `Product`.`id`, `Product`.`image`, `Product`.`model`, `Product`.`price`, `Product`.`viewed_counter`, `Product`.`manufacturer_id`, `UniqueCombination`.`price`, `UniqueCombination`.`gift`, `Category`.`id`, `Manufacturer`.`id`, `I18n__name`.`content`, `I18n__description`.`content`, (ROUND(`Product`.`price` * ( 1 + (SELECT rate FROM tax_rates WHERE id = 1) / 100), 2)) AS `Product__price_with_tax` FROM `products` AS `Product` LEFT JOIN product_combinations AS `ProductCombination` ON (`Product`.`id` = `ProductCombination`.`product_id`) LEFT JOIN stocks AS `Stock2` ON (`ProductCombination`.`id` = `Stock2`.`product_combination_id`) LEFT JOIN `product_i18ns` AS `I18n__name` ON (`Product`.`id` = `I18n__name`.`foreign_key` AND `I18n__name`.`model` = 'Product' AND `I18n__name`.`field` = 'name') LEFT JOIN `product_i18ns` AS `I18n__description` ON (`Product`.`id` = `I18n__description`.`foreign_key` AND `I18n__description`.`model` = 'Product' AND `I18n__description`.`field` = 'description') LEFT JOIN `categories` AS `Category` ON (`Product`.`category_id` = `Category`.`id`) LEFT JOIN `manufacturers` AS `Manufacturer` ON (`Product`.`manufacturer_id` = `Manufacturer`.`id`) LEFT JOIN `stocks` AS `Stock` ON (`Stock`.`product_id` = `Product`.`id`) LEFT JOIN `product_combinations` AS `UniqueCombination` ON (`UniqueCombination`.`product_id` = `Product`.`id`) WHERE `Product`.`catalog` = 1 AND `Product`.`accessible` = 1 AND `Product`.`onlyAdmin` = 0 AND `Product`.`starts` <= 1632833862 AND ((`Product`.`ends` IS NULL) OR (`Product`.`ends` >= 1632747462)) AND `Product`.`manufacturer_id` = 3 AND ((((`Product`.`gift` <> 1) AND (((`Product`.`price` > 0) OR (`Product`.`price` is NULL))))) OR (((`UniqueCombination`.`gift` <> 1) AND (((`UniqueCombination`.`price` > 0) OR (`UniqueCombination`.`price` is NULL)))))) AND ((((`Stock`.`deposit_stock` > 0) OR (`Stock`.`owned_stock` > 0))) OR (((`Stock2`.`deposit_stock` > 0) OR (`Stock2`.`owned_stock` > 0)))) AND ((`Stock`.`pos_id` != 89) OR (`Stock2`.`pos_id` != 89)) AND `Manufacturer`.`show_in_public_web` = 1 AND ((`Stock`.`pos_id` = 1) OR (`Stock2`.`pos_id` = 1)) AND `I18n__name`.`locale` = 'spa' AND `I18n__description`.`locale` = 'spa' GROUP BY `Product`.`id` ORDER BY `name` ASC LIMIT 12

Warning (2): Invalid argument supplied for foreach() [APP/models/product.php, line 1569]
Warning (2): Invalid argument supplied for foreach() [APP/controllers/products_controller.php, line 3278]
iPadel. Tu tienda online de pádel

Noticias

  • iPadel.com en el Keler Euskadi Open del WPT Entre los días 4-8 noviembre se celebró en San Sebastián el KelerEuskadi Open - trofeo Donostia, del circuito de prue...
    Leer +

Tu tienda de pádel en Trapagaran

Compra iPadel también en: