You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-07-31 14:41:15

ipv15
Member
Registered: 2021-09-16
Posts: 96

[plugin Commande] Pb Impression des BC des sous entités

Bonjour

Quand je veux générer un bon de commande d'une sous-entité en .ODT, j'ai systématiquement un plantage.
Je n'ai pas le problème quand le bon de commande est affecté à l'entité principale.
Quelqu'un a t'il le même soucis ?

Merci

Message :
Deprecated: Return type of Odtphp\Segment::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\Segment.php on line 87

Deprecated: Return type of Odtphp\Segment::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\Segment.php on line 77

Deprecated: Return type of Odtphp\SegmentIterator::hasChildren() should either be compatible with RecursiveIterator::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\SegmentIterator.php on line 31

Deprecated: Return type of Odtphp\SegmentIterator::getChildren() should either be compatible with RecursiveIterator::getChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\SegmentIterator.php on line 41

Deprecated: Return type of Odtphp\SegmentIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\SegmentIterator.php on line 36

Deprecated: Return type of Odtphp\SegmentIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\SegmentIterator.php on line 61

Deprecated: Return type of Odtphp\SegmentIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\SegmentIterator.php on line 46

Deprecated: Return type of Odtphp\SegmentIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\SegmentIterator.php on line 51

Deprecated: Return type of Odtphp\SegmentIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\SegmentIterator.php on line 56

Deprecated: Creation of dynamic property Odtphp\SegmentIterator::$keys is deprecated in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\SegmentIterator.php on line 28

Deprecated: Creation of dynamic property Odtphp\SegmentIterator::$keys is deprecated in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\SegmentIterator.php on line 28

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\Odf.php on line 377

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\Odf.php on line 377

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\Odf.php on line 377

Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\glpi\marketplace\order\vendor\masnathan\odtphp\src\Odf.php on line 377

Last edited by ipv15 (2024-07-31 14:45:55)


GLPI 10.0.16 - Windows Server 2016 - PHP 8.2.12 - MariaDB 10.4.20 -plugins "Form Creator" - "Champs supp" - "Gestion des commandes" - Firefox 115 ESR

Offline

#2 2024-07-31 19:25:48

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,806
Website

Re: [plugin Commande] Pb Impression des BC des sous entités


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2024-08-02 18:42:53

ipv15
Member
Registered: 2021-09-16
Posts: 96

Re: [plugin Commande] Pb Impression des BC des sous entités

OK. Merci pour le retour !


GLPI 10.0.16 - Windows Server 2016 - PHP 8.2.12 - MariaDB 10.4.20 -plugins "Form Creator" - "Champs supp" - "Gestion des commandes" - Firefox 115 ESR

Offline

Board footer

Powered by FluxBB