| ( ! ) Fatal error: Uncaught TypeError: GuzzleHttp\Psr7\MultipartStream::getHeader(): Return value must be of type ?string, false returned in C:\wamp64\www\talenta\vendor\guzzlehttp\psr7\src\MultipartStream.php on line 159 |
| ( ! ) TypeError: GuzzleHttp\Psr7\MultipartStream::getHeader(): Return value must be of type ?string, false returned in C:\wamp64\www\talenta\vendor\guzzlehttp\psr7\src\MultipartStream.php on line 159 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0597 | 537024 | {main}( ) | ...\upload_csv.php:0 |
| 2 | 0.1257 | 578728 | GuzzleHttp\Psr7\MultipartStream->__construct( $elements = [0 => ['name' => 'user_id', 'contents' => '357930'], 1 => ['name' => 'token', 'contents' => '5e2c570b24acc97aef493482414541b6'], 2 => ['name' => 'file', 'contents' => FALSE, 'filename' => 'file_to_upload.ext', 'headers' => [...]]], $boundary = ??? ) | ...\upload_csv.php:48 |
| 3 | 0.1258 | 578808 | GuzzleHttp\Psr7\MultipartStream->createStream( $elements = [0 => ['name' => 'user_id', 'contents' => '357930'], 1 => ['name' => 'token', 'contents' => '5e2c570b24acc97aef493482414541b6'], 2 => ['name' => 'file', 'contents' => FALSE, 'filename' => 'file_to_upload.ext', 'headers' => [...]]] ) | ...\MultipartStream.php:38 |
| 4 | 0.1500 | 589056 | GuzzleHttp\Psr7\MultipartStream->addElement( $stream = class GuzzleHttp\Psr7\AppendStream { private $streams = [0 => class GuzzleHttp\Psr7\Stream { ... }, 1 => class GuzzleHttp\Psr7\Stream { ... }, 2 => class GuzzleHttp\Psr7\Stream { ... }, 3 => class GuzzleHttp\Psr7\Stream { ... }, 4 => class GuzzleHttp\Psr7\Stream { ... }, 5 => class GuzzleHttp\Psr7\Stream { ... }]; private $seekable = TRUE; private $current = 0; private $pos = 0 }, $element = ['name' => 'file', 'contents' => FALSE, 'filename' => 'file_to_upload.ext', 'headers' => ['Content-Type' => FALSE]] ) | ...\MultipartStream.php:77 |
| 5 | 0.1500 | 590232 | GuzzleHttp\Psr7\MultipartStream->createElement( $name = 'file', $stream = class GuzzleHttp\Psr7\Stream { private $stream = resource(19) of type (stream); private $size = 0; private $seekable = TRUE; private $readable = TRUE; private $writable = TRUE; private $uri = 'php://temp'; private $customMetadata = [] }, $filename = 'file_to_upload.ext', $headers = ['Content-Type' => FALSE] ) | ...\MultipartStream.php:103 |
| 6 | 0.1500 | 590928 | GuzzleHttp\Psr7\MultipartStream::getHeader( $headers = ['Content-Type' => FALSE, 'Content-Disposition' => 'form-data; name="file"; filename="file_to_upload.ext"'], $key = 'content-type' ) | ...\MultipartStream.php:143 |