# I need Help to fix product module after a migration

**URL:** <https://www.dolibarr.org/forum/t/i-need-help-to-fix-product-module-after-a-migration/22953>\
**Category:** Maintaining my Dolibarr\
**Created:** [October 25, 2022, 12:37pm UTC](https://www.dolibarr.org/forum/t/i-need-help-to-fix-product-module-after-a-migration/22953 "2022-10-25T12:37:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZaleBryant](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/zalebryant/32/5662_2.png) [@ZaleBryant](https://www.dolibarr.org/forum/u/ZaleBryant)\
**Post date:** [October 25, 2022, 12:37pm UTC](https://www.dolibarr.org/forum/t/i-need-help-to-fix-product-module-after-a-migration/22953/1 "2022-10-25T12:37:58Z")

</div>

I updated my dolibarr from 14.0.5 to 16.0.1 and after that i can’t create new product or access to products details.  
Here is the error code that showed

Dolibarr a détecté une erreur technique.  
Ces informations peuvent être utiles à des fins de diagnostic (vous pouvez définir l’option $dolibarr\_main\_prod sur ‘1’ pour masquer les informations sensibles):  
**Date:** 20221025123719  
**Dolibarr:** 16.0.1 - [https://www.dolibarr.org](https://www.dolibarr.org)  
**Niveau de fonctionnalités:** 0  
**PHP:** 7.4.30  
**Server:** LiteSpeed  
**OS:** Linux sg-nme-web607.main-hosting.eu 4.18.0-305.19.1.lve.el7h.x86\_64 #1 SMP Thu Sep 23 11:57:48 UTC 2021 x86\_64  
**UserAgent:** Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

**Url sollicitée:** /product/card.php?leftmenu=product&action=create&type=0  
**Referer:** [Identifiant @ 16.0.1](https://afsi.thezebraservices.tech/product/card.php)  
**Gestionnaire de menu:** eldy\_menu.php

**Modules/Applications:** syslog, user, multicurrency, export, notification, gravatar, comptabilite, expedition, contrat, ficheinter, reception, tax, paymentbybanktransfer, prelevement, modulebuilder, import, agenda, banque, cron, commande, ecm, facture, fournisseur, holiday, margin, printing, resource, salaries, societe, propal, blockedlog, debugbar, product, service, categorie  
**Type gestionnaire de base de données:** mysqli  
**Requête dernier accès en base en erreur:** SELECT t.rowid, t.code, t.sortorder, t.label, t.short\_label, t.unit\_type, t.scale, t.active FROM llx5n\_c\_units as t WHERE (t.active = 1 AND t.unit\_type = ‘weight’)  
**Code retour dernier accès en base en erreur:** DB\_ERROR\_NOSUCHFIELD  
**Information sur le dernier accès en base en erreur:** Unknown column ‘t.sortorder’ in ‘field list’

---

<div class="post-metadata">

**Author:** ![mgribaudo](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/mgribaudo/32/3096_2.png) [@mgribaudo](https://www.dolibarr.org/forum/u/mgribaudo)\
**Post date:** [October 26, 2022, 8:18am UTC](https://www.dolibarr.org/forum/t/i-need-help-to-fix-product-module-after-a-migration/22953/2 "2022-10-26T08:18:12Z")

</div>

Hi,  
It seems that the “sortorder” column in the “llx5n\_c\_units” table is missing.  
Try to search if the command to create this column exists in the updates sql, if yes, perform the operation manually.  
However the name of the column sounds strange to me, I would not want the problem to be another.
