Redirect Loop when trying to issue SSL

The website’s SSL is working ok for the non-www version, but it is not securing properly for the www version.
Here is a screenshot of the area with error:

Other websites on the server are issuing SSL okay.
Any help is greatly appreciated.