Skip to content
Advertisement

opencart error Fatal error: Uncaught Exception: Error: Unknown column

So first of I apologize for my rocky explanation. My PHP skills need serious refinement.

I did get this error

Fatal error: Uncaught Exception: Error: Unknown column ‘is_unlimited’ in ‘field list’
Error No: 1054
INSERT INTO oc_seller_group SET product_id = ‘1202’ ,gquantity = ‘0’,gprice = ’59’,group_commission = ‘0’,expiry = ’30’,membership_type = ‘stm’,trial_status = ‘0’,group_image = ‘catalog/Image.jpg’, defaultCategoryProduct = ‘0’,defaultCategoryQuantity = ‘0’, defaultCategoryPrice = ‘0’ ,defaultNoOfListing = ‘0’,defaultListingDuration = ‘0’, defaultGroupCommissionPercentage = ‘0’,defaultGroupCommissionFixed = ‘0’,defaultListingFee = ‘0’,autoApprove = ‘1’, is_unlimited=’1′ in /public_html/system/library/db/mysqli.php:40 Stack trace: #0 /storage/modification/system/library/db.php(58): DBMySQLi->query(‘INSERT INTO oc...') #1 /public_html/admin/model/customerpartner/seller_add_group.php(157): DB->query('INSERT INTO oc…’) #2 /storage/modification/system/engine/loader.php(264): ModelCustomerpartnerSellerAddGroup- in /public_html/system/library/db/mysqli.php on line 40

Here’s the code of seller_add_group.php file:

JavaScript

Advertisement

Answer

Just Create ‘is_unlimited’ Column in ‘oc_seller_group’ for ex: ALTER TABLE table_name ADD column_name datatype;

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement