file Classes /Hook/ElasticContentSaveHook.php
function processDatamap_afterDatabaseOperations
param $id is declared as string but under some circumstances the function gets called with $id as an int. Thus in line 78:
if (strpos($id, 'NEW') !== false) {
$id should be cast to string to avoid exceptions.
Then again in line 81
$currentRecord = $this->typo3Services->backendUtilityGetRecord($table, $id);
$id should be cast to int as the called method expects $id to be int.