WordPress.org

Forums

404 Redirected
Memory errors (2 posts)

  1. bobsinsea
    Member
    Posted 3 years ago #

    In WP 3.4 / 3.4.1, a bad URL returns a fatal error instead of a 404 page:

    Fatal error: Allowed memory size of [x] bytes exhausted (tried to allocate 32 bytes).

    This is out of the box, I haven't touched any templates.
    No other such memory errors on the site, only with this plugin enabled.

    http://wordpress.org/extend/plugins/404-redirected/

  2. mikeotgaar
    Member
    Posted 2 years ago #

    Memory allocation is too small...
    You can try changing this in wp-config.php
    See this post about increasing memory limit (WordPress Codex)
    Suggested memory limit is 128MB or 96MB minimum: (32MB is way too low and 64 is marginal.)

    Add this line to wp-config.php file

    define('WP_MEMORY_LIMIT', '128M');

    (NOTE: backup your wp-config file first)
    If this doesn't work, and you are using shared hosting, your hosting service may not allow mods to memory allocation by clients - in which case you'll need to ask them to do it for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • 404 Redirected
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.