I have installed MainWP including the extension Pro Reports on a clean WordPress install on my local server. The local server is Local “Lightning” running on MacOS.
All software is at the latest version and the issue occurs on all built in templates from the Pro Reports extension.
In MainWP, the only warning in the Server Information is that ‘cURL Timeout’ should be 300 seconds or more. It is set to 60 seconds.
I can preview the reports ok, but when I download the PDF, the images are missing. The reports state "Image not found or type unknown.
I performed some investigation and found the following error in the DOMPDF log file: -
file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
See screenshot of the DOMPDF log file: -
I suspect it’s failing to verify the SSL certificate because it is self-signed. I did not want to start editing the code in the extension, but I think an option to disable verifying the SSL certificate for the Pro reports when running on local servers would be the solution.