Fatal error: Uncaught Exception: Error: Unknown column 'pa.author_id' in 'where clause'<br />Error No: 1054<br />SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_lawproduct p LEFT JOIN oc_lawproduct_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_lawproduct_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND pa.author_id<>'0' in /www/wwwroot/lawbookshop.net/system/library/db/mysqli.php:40
Stack trace:
#0 /www/wwwroot/lawbookshop.net/system/library/db.php(45): DB\MySQLi->query('SELECT COUNT(DI...')
#1 /www/wwwroot/lawbookshop.net/system/storage/modification/catalog/model/catalog/product.php(731): DB->query('SELECT COUNT(DI...')
#2 /www/wwwroot/lawbookshop.net/system/storage/modification/system/engine/loader.php(251): ModelCatalogProduct->getTotalProducts(Array)
#3 /www/wwwroot/lawbookshop.net/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /www/wwwroot/lawbookshop.net/system/storage/modificat in /www/wwwroot/lawbookshop.net/system/library/db/mysqli.php on line 40