• When I try to add a widget to sidebar (any widget), I get the following error.

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 15242 bytes) in /data/24/2/97/25/2749514/user/3022284/htdocs/WordPress/wp-includes/wp-db.php on line 1294

    I’ve created the php.ini file, as well as define( ‘WP_MEMORY_LIMIT’, ‘128M’ );

    Talked to my hosting provider (Network Solutions) and they said they can’t help me, and I need to talk to WordPress.

    Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try using define( 'WP_MEMORY_LIMIT', '256M' )

    Thread Starter frenat

    (@frenat)

    My wp seems to be using about 75mb, which is way less than 128. How could I shrink that number?

    You have 134M of PHP memory allocated – which is not enough for your site.

    Thread Starter frenat

    (@frenat)

    How can you tell how much is allocated, and how do you know that isn’t enough? Is removing plugins the only way to get that number down?

    How can you tell how much is allocated

    From: Allowed memory size of 134217728 bytes exhausted

    how do you know that isn’t enough

    From: tried to allocate 15242 bytes

    Is removing plugins the only way to get that number down?

    If you cannot increase your PHP memory allocation above 134M, then, yes, I’m afraid it is.

    Thread Starter frenat

    (@frenat)

    According to the memory allocation plugin I just turned on, I’m only using 67.57M. How could I find where the rest of it is coming from?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Memory Error when Adding Wdigets’ is closed to new replies.