Try again with this file.
As before:
Replace file kiwitrees/includes/functions/functions_charts-2.php with the one in the attached zip folder.
Do this on both your sites, even if the error not currently showing. It depends on relatives that are needed on the display so will not always appear.