How to solve: An error occured in the upload


This error message appears when I try to upload any picture. Currently I am using WordPress 3.8.

Related posts

2 comments

  1. It is hard to read but that error is a common one and it is also common to find no obvious cause. Try renaming the file, I see a special character in it. Double check the image is not actually uploaded because sometimes it will upload despite the error. Try uploading other images of different file-types to establish more information for troubleshooting. If still struggling try installing another WP in another directory on your hosting and see what happens within that blog. If both continue to fail consider hosting service settings or just permission issues.

    Good luck.

    UPDATE: I’m having the same issue in a new blog. Must be a new bug in WordPress. The image does upload though. Play around with the tabs and menus. After uploading, seeing the error then selecting “Uploaded to this post” under the Media Library tab I can see the image.

  2. After long suffer, just figured out that i had following in my functions.php:

    if ( is_admin() ) { ?>  
        <style>
            * {
                font-family: Arial;  
            }
        </style>
    <?php 
    }
    

    I removed it and it worked, probably caused of is_admin() function.

Comments are closed.