Title: Image Frustration!
Last modified: May 23, 2019

---

# Image Frustration!

 *  [blahblah](https://wordpress.org/support/users/sasquatters/)
 * (@sasquatters)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/image-frustration-2/)
 * I quit posting on our blog many months ago because I couldn’t figure this issue
   out but I need to get back at it.
 * I was getting an http error when uploading images and I believe I found the plugin
   causing that problem. Now when I try to edit the image rotation I get an error“
   Could not load the preview image. Please reload the page and try again.”
 * I disabled all plugins and then it works ok. When I start enabling them 1 by 
   1, multiple plugins are causing this issue. What can I do to solve this? I need
   all of the plugins we use.
 * Thank you.

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

 *  [ProjectArmy](https://wordpress.org/support/users/supporthero/)
 * (@supporthero)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/image-frustration-2/#post-11561064)
 * – Make sure everything is updated, including your theme
    – Make sure your PHP
   version is 5.6 and up
 * Once above is verified and the issue continues, can you tell us at least one 
   plugin that’s causing this error? We can test it on our end and see if it’s causing
   this error in our WordPress.
 *  Thread Starter [blahblah](https://wordpress.org/support/users/sasquatters/)
 * (@sasquatters)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/image-frustration-2/#post-11561145)
 * Everything is updated. A couple of the plugins are:
 * tagDiv Composer
    Wordfence Security UpdraftPlus – Backup/Restore
 * Thank you.
 *  [ProjectArmy](https://wordpress.org/support/users/supporthero/)
 * (@supporthero)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/image-frustration-2/#post-11561833)
 * Which theme and version do you have?
 * We’ve used Newspaper theme by tagDiv without any image issues. And also use UpdraftPlus
   plugin on many sites without image issues.
 * So something specific to your site/hosting is causing this.
 * It would be a good idea to enable debugging to see if any relevant errors show
   up. You can add the following code to your wp-config.php file, you’ll see this
   in your file:
    `define( 'WP_DEBUG', false );`
 * Delete that, and paste this:
 *     ```
       // Enable WP_DEBUG mode
       define( 'WP_DEBUG', true );
   
       // Enable Debug logging to the /wp-content/debug.log file
       define( 'WP_DEBUG_LOG', true );
   
       // Disable display of errors and warnings
       define( 'WP_DEBUG_DISPLAY', false );
       @ini_set( 'display_errors', 0 );
   
       // Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
       define( 'SCRIPT_DEBUG', true );
       ```
   
 * After this is saved. Try uploading/editing images, you want to get that error
   to show up. After that, check wp-content folder for debug.log. If there are any
   errors, they will be logged there.
 * Activate only 1 plugin that causes errors. Keep other plugins disabled for this
   test. It’ll be easier to narrow it down to a specific issue.
 *  Thread Starter [blahblah](https://wordpress.org/support/users/sasquatters/)
 * (@sasquatters)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/image-frustration-2/#post-11562072)
 * Thank you for the message. I changed that bit you sent and disabled some plugins
   and now the whole site crashed. [https://sasquatters.com/](https://sasquatters.com/)
 * [https://pastebin.com/2JUzrC2m](https://pastebin.com/2JUzrC2m)
    -  This reply was modified 6 years, 12 months ago by [blahblah](https://wordpress.org/support/users/sasquatters/).
    -  This reply was modified 6 years, 12 months ago by [blahblah](https://wordpress.org/support/users/sasquatters/).
 *  Thread Starter [blahblah](https://wordpress.org/support/users/sasquatters/)
 * (@sasquatters)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/image-frustration-2/#post-11562385)
 * So strange!
 * So when I added that code you gave me I mistakenly deleted
 *     ```
       //Increase memory allocated to PHP
       define('WP_MEMORY_LIMIT', '512M');
       ```
   
 * and that botched the whole site and I am unsure why. With anything other than
   512 it wouldn’t load.
 * Then I tried disabling all of the plugins that were causing the issue and went
   to edit a photo and everything is working now.
 *  [ProjectArmy](https://wordpress.org/support/users/supporthero/)
 * (@supporthero)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/image-frustration-2/#post-11563016)
 * If your site is crashing without 512M limit, that means it’s running out of memory.
   By default WP use 40M, but plugins and traffic can increase memory usage until
   it begins crashing.
 * Is image rotation working?
 *  Thread Starter [blahblah](https://wordpress.org/support/users/sasquatters/)
 * (@sasquatters)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/image-frustration-2/#post-11564424)
 * Image rotation is working now for some reason.
 *  [ProjectArmy](https://wordpress.org/support/users/supporthero/)
 * (@supporthero)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/image-frustration-2/#post-11565000)
 * OK great. It could have been cache, or some settings that got changed activating/
   deactivating plugins.
 * Make sure to turn off debugging, so your debug.log doesn’t get big.
 *  Thread Starter [blahblah](https://wordpress.org/support/users/sasquatters/)
 * (@sasquatters)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/image-frustration-2/#post-11566684)
 * Thank you.

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

The topic ‘Image Frustration!’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [blahblah](https://wordpress.org/support/users/sasquatters/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/image-frustration-2/#post-11566684)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
