Error adding info: New vendor, prospect etc card.php

Good evening,

I have installed dolibarr without issue on my webserver and everything works fine as far I can see.
However, when I create a new vendor or prospect I get the following error on top of my page:

Warning : Undefined array key “” in /home/u97716p92051/domains/berx.eu.com/public_html/dollibar/htdocs/societe/card.php on line 920

When I check the file it refers to:
// Actions to build doc
$id = $socid;
$upload_dir = $conf->societe->multidir_output[$object->entity];
$permissiontoadd = $user->rights->societe->creer;
include DOL_DOCUMENT_ROOT.’/core/actions_builddoc.inc.php’;
}

Has this maybe something to do what access rights on the webserver?
Please advise.

thank you

Hello,

Are you using php V8 ?

Yes, 8.1.
View in php settings dolibarr

Then you have the answer, Dolibarr is not yet compatible PHP V8.

V16, that will be release soon, should be compatible PHPV8.

Solved when adapted to 7.4.
Thank you.