SQLSTATE[42S22]: Column not found: 1054 Unknown column 'viewed' in 'field list', query was: insert into rokanthemes_sorting_most_viewed(product_id, store_id, viewed)
                                    select product_id, 0, sum(viewed) from report_viewed_product_index
                                    where store_id != 0
                                    group by product_id
                                    