• Hi,

    since the latest update I get following error, whenever I upload an image:
    ‘An error occurred in the upload. Please try again later.’

    After disabling the plugin it works just fine… is there anyone out there who experienced this behavior too and maybe know how to fix it?

    https://www.ads-software.com/plugins/wordpress-seo/

    Edit: Additional information
    I added following to my wp-config.php, to get a debug.log:

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors',0);

    My debug.log shows this:

    PHP Fatal error:  Out of memory (allocated 31457280) (tried to allocate 4096 bytes) in /{path to wordpress}/wp-includes/media.php on line 2043

    Why is it out of memory, when WordPress SEO by Yoast is active, but not when it’s inactive?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jozze_w

    (@jozze_w)

    Ok, it seems that WordPress SEO by Yoast uses more than 30MB for it’s script execution. The 1&1 tariff is ‘Home 5.0’ and can only support script execution up to 30MB. This problem might be solved by moving to an ‘Ultimate’ tariff or another server.

    I’ll mark this topic as resolved when i’m able to test this solution.

    I’m having the same problem with WordPress SEO 1.5.0, and I have been told by my host that it is not a memory problem in my case. Whenever I’m trying to upload an image larger than approx. 1000×1000, I get this error:

    An error occurred in the upload. Please try again later.

    The image doess get uploaded in wp-content/uploads, but is shown as corrupt in the Media Library, and I cannot add it into any post. The only workaround is resizing the photo.

    This also happens with W3 Total Cache, which is another plugin by Yoast, and XML Sitemap & Google News feeds. Any idea how to fix this?

    Could I possibly automatically disable WordPress SEO, W3 Total Cache and XML Sitemap & Google News feeds whenever I’m uploading an image and automatically re-enable them once the upload is finished?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Newest version(1.7.4) breaks image upload’ is closed to new replies.