Warning: getimagesize(): SSL operation failed with code 1
-
Hello,
Since yesterday, I have the following error message:
—–
Warning: getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /home1/theoreco/public_html/wp-content/themes/graphene/inc/functions.php on line 514Warning: getimagesize(): Failed to enable crypto in /home1/theoreco/public_html/wp-content/themes/graphene/inc/functions.php on line 514
Warning: getimagesize(https://www.theoreco.com/wp-content/uploads/2013/10/theoreco-bernard-biedermann.jpg): failed to open stream: operation failed in /home1/theoreco/public_html/wp-content/themes/graphene/inc/functions.php on line 514″
—–I use Graphene 2.8.6, PHP 7.4 and the plugin Really Simple SSL
What is the origin of the error and how can I remove it please?
Precision: when I change the theme (Astra or Twenty Twenty-One for example), the problem disappears.
I fixed the problem by removing the header image and reloading it. But I don’t know the technical origin of the problem and the exact meaning of the error message.
Admin
In order to display your custom header image properly, the theme needs to get the header image’s dimensions. At the moment, the header image is accessed through its URL. The notice you’re seeing indicates that the server is unable to verify the SSL certificate being used when trying to access the image through HTTPS. This could happen if there’s a misconfiguration on the server, or if a self-signed SSL certificate is being used, so that’s probably something that you’d want to look into further.
In the next theme update, the theme will access the image locally (through local absolute path instead of through URL) that should sidestep any potential SSL certificate issues such as the one you’re seeing.
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.