Title: Error on uploading image
Last modified: November 10, 2019

---

# Error on uploading image

 *  [Dima Stefantsov](https://wordpress.org/support/users/dima-stefantsov/)
 * (@dima-stefantsov)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-on-uploading-image/)
 * Hi. Cerber usually works fine, but on my local dev copy it throws errors which
   make my workflow fail. When I try to upload images on local install, some uploads
   fail with log message in php log:
 *     ```
       [10-Nov-2019 03:56:18 UTC] [2019-11-10 03:56:18] whoops_logger.ERROR: Whoops\Exception\ErrorException: Unexpected character in input:  '' (ASCII=4) state=0 in file C:\wamp64\www\wp-content\plugins\wp-cerber\cerber-load.php on line 6334
       Stack trace:
         1. Whoops\Exception\ErrorException->() C:\wamp64\www\wp-content\plugins\wp-cerber\cerber-load.php:6334
        [] []
       ```
   
 * Please fix cerber to not throw an error on media jpg upload. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-on-uploading-image/#post-12121154)
 * Thanks for telling me. I’ll look into it soon.
 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-on-uploading-image/#post-12147468)
 * What version of PHP do you have?
 *  Thread Starter [Dima Stefantsov](https://wordpress.org/support/users/dima-stefantsov/)
 * (@dima-stefantsov)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-on-uploading-image/#post-12149493)
 * I am using PHP 7.0.8 on Windows.
    (because remote server is Ubuntu Server 16.04
   LTS, php 7.0.x as well)
 *  Plugin Author [gioni](https://wordpress.org/support/users/gioni/)
 * (@gioni)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/error-on-uploading-image/#post-12184616)
 * Have you enabled the debugging mode on this website? I mean this: [https://wordpress.org/support/article/debugging-in-wordpress/](https://wordpress.org/support/article/debugging-in-wordpress/)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error on uploading image’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cerber_77a9bf.svg)
 * [WP Cerber Security, Anti-spam & Malware Scan](https://wordpress.org/plugins/wp-cerber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cerber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cerber/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cerber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cerber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cerber/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [gioni](https://wordpress.org/support/users/gioni/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/error-on-uploading-image/#post-12184616)
 * Status: not resolved