Error message in reports with images from the 'old' document system

When opening specific modules and running reports with images, where the documents were stored in the documents folder, an error message appeared. As a result, reports using these images were not executed correctly.