I am getting the following error when using an S3 media source for static resources:
[2022-02-08 09:26:04] (ERROR @ /www/core/model/modx/modstaticresource.class.php : 145) modStaticResource->getFileContent() for resource 7164: Could not load content from file /www/https:/mplawebbucket.s3.amazonaws.com/newsletter.pdf
The URL should be:
https://mplawebbucket.s3.amazonaws.com/newsletter.pdf
What is causing the URL to be written incorrectly, it is showing up correctly in the static resource field when I edit the resource.
System setting for resource_static_path is set to {base_path}
I have installed the latest S3 plugin from: https://github.com/modxcms/aws-s3-media-source