[php-src] Issue #9241: file_put_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000126:SSL routines::unexpected eof
while reading {"exception":"[object] (ErrorException(code: 0): file_put_contents(): SSL operation failed with code 1. OpenSSL Error messages:
| From: | Rignesh-EWW | Date: | Wed, 03 Aug 2022 12:01:34 +0000 |
| Subject: | [php-src] Issue #9241: file_put_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000126:SSL routines::unexpected eof while reading {"exception":"[object] (ErrorException(code: 0): file_put_contents(): SSL operation failed with code 1. OpenSSL Error messages: |
||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242113@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9241
Author: Rignesh-EWW
### Description
```
<?php
if (request()->has('profile_picture') &&
!empty(request()->input('profile_picture'))) {
$user->addMediaFromUrl(request()->input('profile_picture'))->toMediaCollection('user/profile-picture');
}
```
### PHP Version
PHP 8.1.2
### Operating System
Ubuntu 22.04