Ok prob solved
in "class.items.php", "function GetItemData"
The sql query ask for "FlagsExtra", but in my database it's "ExtraFlags", so that's why the $itemdata was NULL
(don't forget to edit the compatibility fix under the query too)
here is the right code :
public function GetItemData($itemID) {
$itemData = array();
Armory::$wDB->SkipNextError();
$itemData = Armory::$wDB->selectRow("SELECT `name`, `Quality`, `ItemLevel`, `displayid`, `SellPrice`, `BuyPrice`, `Flags2`, `RequiredDisenchantSkill` FROM `item_template` WHERE `entry`=%d LIMIT 1", $itemID);
if(!$itemData) {
$itemData = Armory::$wDB->selectRow("SELECT `name`, `Quality`, `ItemLevel`, `displayid`, `SellPrice`, `BuyPrice`, `ExtraFlags`, `RequiredDisenchantSkill` FROM `item_template` WHERE `entry`=%d LIMIT 1", $itemID);
$itemData['Flags2'] = $itemData['ExtraFlags']; // For compatibility
unset($itemData['ExtraFlags']);
}
return $itemData;
}
Hope it will help someone else