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

        There are no comments yet on this issue.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              20/Jun/23

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 22 minutes
              22m

                Agile