Unable to upload images

Hi,
I tried uploading images in the posts using Image option. Earlier for few posts I was able to,
but today it’s showing http error?

May I know why? Images are in .jpg format - just like the old one’s I uploaded two days ago.

Hi @alonmg,

The most common cause of this error is lack of memory available for WordPress to use.

To increase the PHP memory limit of your site, please login through FTP then edit your wp-config.php file and insert these lines:

    define( 'WP_MEMORY_LIMIT', '256M' );
    define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You can add it before the line
/*That's all, stop editing! Happy Blogging. */

Here is a details article about the PHP Memory Limit that is in our Knowledge Base:

In case the issue persists, please try to get in touch with your hosting provider and confirm to them that your PHP memory limit is increased.

In case the issue persists, try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

If you are still having an issue, please provide us with the admin and FTP details of your site in a Secure Note so that we can check this further.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.