This error comes when a customer tries to create a new account.
Where to start looking

OC 1.5.6.4
Code: Select all
Fatal error: Uncaught exception 'ErrorException' with message 'Error: Unknown column 'company_id' in 'field list'<br />Error No: 1054<br />INSERT INTO oc_address SET customer_id = '655', firstname = 'xxx', lastname = 'xxx', company = '', company_id = '', tax_id = '', address_1 = 'xxx', address_2 = '', city = 'xxx', postcode = 'xxx', country_id = '160', zone_id = '2429'' in /system/database/mysqli.php:41 Stack trace: #0 /vqmod/vqcache/vq2-system_library_db.php(20): DBMySQLi->query('INSERT INTO oc_...') #1 /vqmod/vqcache/vq2-catalog_model_account_customer.php(29): DB->query('INSERT INTO oc_...') #2 /vqmod/vqcache/vq2-catalog_controller_account_register.php(19): ModelAccountCustomer->addCustomer(Array) #3 [internal function]: ControllerAccountRegister->index() #4 /vqmod/vqcache/vq2-system_engine_front.php(42): call_user_func_array(Array, Array) #5 /vqmod/vqcach in /system/database/mysqli.php on line 41