After upgrading my local zabbix installation from 4.4 to 5.0 I always get this error message when looking at history of "text" and "character" items:
the history is properly shown anyways, but I get the error message at the top of the page.
As mentioned above, I'm using Elasticserach as backend for all the history tables, this is the web configuration:
I upgraded Elasticsearch from 6.3.x to 7.7.0 after upgrading to Zabbix 5.0 (and realizing 6.x is not supported anymore).
Let me know if you need additional info!