V 11 can't add more than one product in a vendor

Dear Dolibarr community,
I’m trying to create a vendor invoice draft, i can’t add a second product line in the invoice and every time i’m trying to do that i get this error after i submit the new 2nd line :

Fatal error: Cannot redeclare class CUnits in /home/sunq/public_html/erpdb/core/class/cunits.class.php on line 29

Please help

Fixed, we had only to replace this line number 494 in /core/lib/product.lib.php by this code :

if (class_exists('CUnits')) { // require_once DOL_DOCUMENT_ROOT.'/core/class/cunits.class.php'; } else { require_once DOL_DOCUMENT_ROOT.'/core/class/cunits.class.php'; }

Hi,

V11 doesn’t exist yet so you have installed the developpement version = not stable.
V10.0.2 is the latest stable