-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error from 'Create webp files upon request? ' Live Test #379
Comments
same problem here |
+1 |
+1
|
I'm also getting that issue but I found why the error was being triggered. I'm not sure if you all are having the same issue but here's how to debug it:
If you look in the SelfTestHelper at line 199, you'll see this code:
It tells you that your To debug it, I have added a
When I checked the error log, I could then see what happened:
I'm using a self-signed certificate on MAMP Pro and that's causing the issue. To double check, I ran a curl on terminal:
That's the error. Running
Since I need this only for local development (production will have good certificates), I would recommend wrapping it in some flag that will run only on your development machine. For example:
All of the three Live Tests now run without issues on my local machine. |
Prevent Fatal Errors with unverified certificates - Fix #379
When usig the 'Create webp files upon request? ' Live Test button I get the following fatal error.
System info
The text was updated successfully, but these errors were encountered: