I hope that I identified the error correctly and it's an issue with workspaces.
Problem:
The following error appeard in the FE after the search:
From the Log:
(1/2) #1509741911 TYPO3Fluid\Fluid\Core\ViewHelper\Exception
No file reference (sys_file_reference) was found for given UID: "9377"
Looking at the table sys_file_reference with the uid=9377 shows that this file seems to be associated with a news record in Worspaces.
What I don't know right now why there is a "1" in the "relatedVideo" column:
The news record in question (with the id 7530) has in the workspace two images with the ids "9378 - NEW Element" and "9379". There is no image with an id 9377.
Deleting the workspace news record with the id 7531 did not solve the problem.
Updating the reference index did not help either.
When I delete the image from the news record inside the workspaces module, then the error in the FE is gone.
So, my conslusion would be that file changes in workspace could cause the exception with ke_search, if someone searches for a searchphrase which is, for example used in a news record, which uses the file. The file change was not published in the live mode and deleting the file from the workspace module list solved the issue and ke_search worked again.
But I guess it could happen again with other files?
I hope that I identified the error correctly and it's an issue with workspaces.
Problem:
The following error appeard in the FE after the search:
From the Log: (1/2) #1509741911 TYPO3Fluid\Fluid\Core\ViewHelper\Exception No file reference (sys_file_reference) was found for given UID: "9377"
Looking at the table sys_file_reference with the uid=9377 shows that this file seems to be associated with a news record in Worspaces. What I don't know right now why there is a "1" in the "relatedVideo" column:
The news record in question (with the id 7530) has in the workspace two images with the ids "9378 - NEW Element" and "9379". There is no image with an id 9377.
Deleting the workspace news record with the id 7531 did not solve the problem. Updating the reference index did not help either.
When I delete the image from the news record inside the workspaces module, then the error in the FE is gone.
So, my conslusion would be that file changes in workspace could cause the exception with ke_search, if someone searches for a searchphrase which is, for example used in a news record, which uses the file. The file change was not published in the live mode and deleting the file from the workspace module list solved the issue and ke_search worked again.
But I guess it could happen again with other files?
Tested with ke_search 3.8.1 and TYPO3 10.4.17.