Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.7.0
-
Fix Version/s: 5.7.1
-
Component/s: None
-
Labels:None
Description
To reproduce, under PHP 8.1.
- Create a quote
- Edit the quote and change a line item
- Save
- Edit the quote, notice the change did not take.
The following errors are logged. Note there are also many other deprecated strtolower() notices not included here
[2023-05-25T20:09:33.250328+00:00] general.NOTICE: E_DEPRECATED: Return type of Blesta\Items\Collection\ItemCollection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Blesta\\Items\\Collection\\ItemCollection::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/570/vendors/blesta/items/src/Collection/ItemCollection.php","line":65}[2023-05-25T20:09:33.250422+00:00] general.NOTICE: E_DEPRECATED: Return type of Blesta\Items\Collection\ItemCollection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Blesta\\Items\\Collection\\ItemCollection::next() should either be compatible with Iterator::next(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/570/vendors/blesta/items/src/Collection/ItemCollection.php","line":87}[2023-05-25T20:09:33.250488+00:00] general.NOTICE: E_DEPRECATED: Return type of Blesta\Items\Collection\ItemCollection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Blesta\\Items\\Collection\\ItemCollection::key() should either be compatible with Iterator::key(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/570/vendors/blesta/items/src/Collection/ItemCollection.php","line":79}[2023-05-25T20:09:33.250553+00:00] general.NOTICE: E_DEPRECATED: Return type of Blesta\Items\Collection\ItemCollection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Blesta\\Items\\Collection\\ItemCollection::valid() should either be compatible with Iterator::valid(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/570/vendors/blesta/items/src/Collection/ItemCollection.php","line":123}[2023-05-25T20:09:33.250611+00:00] general.NOTICE: E_DEPRECATED: Return type of Blesta\Items\Collection\ItemCollection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Blesta\\Items\\Collection\\ItemCollection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/570/vendors/blesta/items/src/Collection/ItemCollection.php","line":106}[2023-05-25T20:09:33.253745+00:00] general.NOTICE: E_DEPRECATED: Return type of Blesta\Pricing\Collection\ItemPriceCollection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Blesta\\Pricing\\Collection\\ItemPriceCollection::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/570/vendors/blesta/pricing/src/Collection/ItemPriceCollection.php","line":298}[2023-05-25T20:09:33.253838+00:00] general.NOTICE: E_DEPRECATED: Return type of Blesta\Pricing\Collection\ItemPriceCollection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Blesta\\Pricing\\Collection\\ItemPriceCollection::next() should either be compatible with Iterator::next(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/570/vendors/blesta/pricing/src/Collection/ItemPriceCollection.php","line":320}[2023-05-25T20:09:33.253905+00:00] general.NOTICE: E_DEPRECATED: Return type of Blesta\Pricing\Collection\ItemPriceCollection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Blesta\\Pricing\\Collection\\ItemPriceCollection::key() should either be compatible with Iterator::key(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/570/vendors/blesta/pricing/src/Collection/ItemPriceCollection.php","line":312}[2023-05-25T20:09:33.253971+00:00] general.NOTICE: E_DEPRECATED: Return type of Blesta\Pricing\Collection\ItemPriceCollection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Blesta\\Pricing\\Collection\\ItemPriceCollection::valid() should either be compatible with Iterator::valid(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/570/vendors/blesta/pricing/src/Collection/ItemPriceCollection.php","line":357}[2023-05-25T20:09:33.254034+00:00] general.NOTICE: E_DEPRECATED: Return type of Blesta\Pricing\Collection\ItemPriceCollection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
{"code":8192,"message":"Return type of Blesta\\Pricing\\Collection\\ItemPriceCollection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","file":"/home/blestau/public_html/570/vendors/blesta/pricing/src/Collection/ItemPriceCollection.php","line":340}Activity
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Sprint | 5.8.0 Sprint 2 [ 178 ] |
Rank | Ranked higher |
Sprint | 5.8.0 Sprint 2 [ 178 ] |
Rank | Ranked lower |
Sprint | 5.8.0 Sprint 2 [ 178 ] |
Rank | Ranked higher |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 22 minutes [ 1320 ] | |
Worklog Id | 16413 [ 16413 ] |
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Status | In Review [ 5 ] | Closed [ 6 ] |