mysqlopencartmysql-error-1054

Unknown column 'cg.name' in 'field list'


I am using opencart, just got this error when trying to view customers in admin. I know nothing about SQL but I think it is telling me that I need to put cg.name somewhere.

Full error:

Notice: Error: Unknown column 'cg.name' in 'field list'

Error No: 1054

SELECT *, 
    CONCAT(c.firstname, ' ', c.lastname) AS name, 
    cg.name AS customer_group 
FROM oc_customer c 
LEFT JOIN oc_customer_group cg 
    ON (c.customer_group_id = cg.customer_group_id) 
ORDER BY name ASC 
LIMIT 0,100 

in /home4/pawpostc/public_html/system/database/mysql.php on line 49


Solution

  • I downloaded the wrong version of a mod... deleted the mod, deleted the problem...