Fatal error: Uncaught exception 'DbException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'p.id_distributor' in 'on clause' [ SELECT DISTINCT product.* FROM product LEFT JOIN product_category procat ON procat.id_product = product.id left join distributor d on d.id = p.id_distributor where d.is_active = 1 AND product.is_active = 1 AND procat.id_category IN (226,264,265,266,267,268,269,270,770,771,772,773,774,775,776,777,778,779,780,271,272,274,782,783,784,785,786,787,788,789,276,277,278,279,781,731,732,733,734,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863) AND is_sold_out IS NULL AND is_po IS NULL A in /var/www/html/v1/inc/db/DbObject.php on line 812