order icon indicating copy to clipboard operation
order copied to clipboard

Bug with printing purchase orders of sub-entities

Open IP-V15 opened this issue 6 months ago • 2 comments

Hello When I want to generate a purchase order in ODT on a sub-entity, I systematically have a crash. I do not have the problem that the purchase order is assigned to the main entity. Does anyone have the same problem?

The Error 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

IP-V15 avatar Jul 31 '24 12:07 IP-V15