Menu
Query was invalid:
array(1) {
  [0] =>
  string(306) "SELECT 
				distinct s.DoorStyle, s.Category, d.position, s.Species
				FROM
				DoorMatrix s
				LEFT JOIN
				DoorStyleCarouselOrder d ON s.DoorStyle = d.DoorStyle
				where s.Species <> 'INACTIVE'
				ORDER BY CASE WHEN d.position or s.Category IS NULL THEN 1 ELSE 0 END, d.position, s.DoorStyle;"
}

Query Failed: View 'ayakitchens.DoorMatrix' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use themarray(2) { [0] => array(6) { 'file' => string(47) "/data/ayakitchens.com/template/libs/Factory.php" 'line' => int(685) 'function' => string(5) "query" 'class' => string(4) "MyDB" 'type' => string(2) "->" 'args' => array(1) { [0] => string(306) "SELECT distinct s.DoorStyle, s.Category, d.position, s.Species FROM DoorMatrix s LEFT JOIN DoorStyleCarouselOrder d ON s.DoorStyle = d.DoorStyle where s.Species <> 'INACTIVE' ORDER BY CASE WHEN d.position or s.Category IS NULL THEN 1 ELSE 0 END, d.position, s.DoorStyle;" } } [1] => array(6) { 'file' => string(54) "/data/ayakitchens.com/aya_2/product/doors/doorselector" 'line' => int(94) 'function' => string(20) "getLinksToCategories" 'class' => string(7) "Factory" 'type' => string(2) "::" 'args' => array(1) { [0] => string(1) "1" } } }