A technical issue on the Pantheon
The "cloudinary" module uses the drupal_http_request()/stream_socket_client() function to connect to a “https/ssl” sockets. Time to time PHP reports an error about “call undefined function“ for the stream_socket_client(). This run-time error provides a side effect for the "cloudinary" functionality and shows a 500 page for an end-user.
I assume a root of the issue could be in some custom patches/improvements for PHP on the Patheon (because I never get this error on the Lando recipe from the Patheon).
My suggestion is to use the "try-catch" statements in the "cloudinary" module.
Comments
Comment #2
korndevbr commentedAs far as Drupal 7 reached its EOL date, I think we can close this issue.
Comment #4
korndevbr commentedIf the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!
Comment #5
grask0 commentedThat makes sense, thank you!
Comment #6
grask0 commented