SELECT * FROM views WHERE type = ? AND type_id = ? AND customer_id = ? AND visitor_id = ?
Array
(
    [0] => page
    [1] => 7
    [2] => 
    [3] => 32
)
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'customer_id' in 'where clause'