Problem description: When using PHP 7.4, the following errors are returned at the bottom of the Monitoring => Latest data view when in log or text type item history applying a filter with empty "Items list" field:
Steps to reproduce:
- Make sure You're using php 7.4
- Open any existing host or create a new one
- Add an item with "type of information" set to "log" or "text"
- Wait for the item to collect at least 1 value
- Navigate to Monitoring => Latest data , select the previously created host in filter field "Hosts" and press "Apply"
- When the list of items is returned, press on "History" button next to the previously created item
- In the opened view, select Filter configuration, remove the item name from field "Items list" and press "Apply"
Result: Errors are observed at the bottom of the page.
Expected: no errors should be returned.