# Asset upload error

**URL:** https://forum.mautic.org/t/asset-upload-error/8221
**Category:** Product Support
**Created:** [April 16, 2017, 2:10pm UTC](https://forum.mautic.org/t/asset-upload-error/8221 "2017-04-16T14:10:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jordiplanassauter1](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@jordiplanassauter1](https://forum.mautic.org/u/jordiplanassauter1)
#### Post date: [April 16, 2017, 2:10pm UTC](https://forum.mautic.org/t/asset-upload-error/8221/1 "2017-04-16T14:10:25Z")

</div>

I have this log when I open an asset. Any time I tried to go in an asset editor, the system directly execute a download of the asset. The asset seems to be in the system, but when browse the app/file no files is in. The upload doesn’t work, and the the following log appears:  
  
  
  
[2017-04-16 09:43:21] mautic.WARNING: PHP Warning - file\_get\_contents(…/public\_html/master/app/…/media/files/c60fb9fdc050b6ca0b60a44f8502738320b75a39.pdf): failed to open stream: No such file or directory - in file …/public\_html/master/app/bundles/AssetBundle/Entity/Asset.php - at line 1144 [] []  
  
[2017-04-16 09:43:21] mautic.CRITICAL: Uncaught PHP Exception UnexpectedValueException: “The Response content must be a string or object implementing \_\_toString(), “boolean” given.” at …/public\_html/master/vendor/symfony/http-foundation/Response.php line 399 {“exception”:"[object] (UnexpectedValueException(code: 0): The Response content must be a string or object implementing \_\_toString(), “boolean” given. at …/public\_html/master/vendor/symfony/http-foundation/Response.php:399)"} []  
  
  
  
Any idea what I could do?  
  
Thanks for any orientation.  
  
Jordi

---

<div class="post-metadata">

### Author: ![jordiplanassauter1](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@jordiplanassauter1](https://forum.mautic.org/u/jordiplanassauter1)
#### Post date: [April 16, 2017, 2:10pm UTC](https://forum.mautic.org/t/asset-upload-error/8221/2 "2017-04-16T14:10:25Z")

</div>

I have this log when I open an asset. Any time I tried to go in an asset editor, the system directly execute a download of the asset. The asset seems to be in the system, but when browse the app/file no files is in. The upload doesn’t work, and the the following log appears:

[2017-04-16 09:43:21] mautic.WARNING: PHP Warning - file\_get\_contents(…/public\_html/master/app/…/media/files/c60fb9fdc050b6ca0b60a44f8502738320b75a39.pdf): failed to open stream: No such file or directory - in file …/public\_html/master/app/bundles/AssetBundle/Entity/Asset.php - at line 1144 [] []  
[2017-04-16 09:43:21] mautic.CRITICAL: Uncaught PHP Exception UnexpectedValueException: “The Response content must be a string or object implementing \_\_toString(), “boolean” given.” at …/public\_html/master/vendor/symfony/http-foundation/Response.php line 399 {“exception”:"[object] (UnexpectedValueException(code: 0): The Response content must be a string or object implementing \_\_toString(), “boolean” given. at …/public\_html/master/vendor/symfony/http-foundation/Response.php:399)"} []

Any idea what I could do?  
Thanks for any orientation.  
Jordi
