Category: WordPress

WordPress: HTTP error when uploading photos

Read this guide in Polish

Upload a small file works and the larger image stops with a general HTTP error.

How to identify the source of the problem

Check PHP upload max filesize, post max size and server logs when requested.

Check the bug log, recent plugin changes and the environment version on the site test copy.

Repair steps

Match reasonable limits and make sure the uploads directory has correct write permissions.

How to Test Solution

A limit-compatible file goes to the library and the exceeded limit has a clear message.

Security and restrictions

Make a backup before you migrate or update PHP. Do not enter access data in untrusted forms.