All of sudden today I'm getting an inexplicable error:
Fatal error: Out of memory (allocated 74973184) (tried to allocate 79 bytes) in /home/xyz/xyz.com/wp-includes/functions.php on line 336
On line 336 I have this: "return serialize( $data )"
From lines 326 to 344 is this code in the functions.php includes file:
/**
* Serialize data, if needed.
*
* @since 2.0.5
*
* @param mixed $data Data that might be serialized.
* @return mixed A scalar data
*/
function maybe_serialize( $data ) {
if ( is_array( $data ) || is_object( $data ) )
return serialize( $data );
// Double serialization is required for backward compatibility.
// See http://core.trac.wordpress.org/ticket/12930
if ( is_serialized( $data, false ) )
return serialize( $data );
return $data;
}
my php memory limit is set to 90M and Wordpress is now 256M and this error is continuing.
I have reinstalled WP3.8.1 and removed all my plugins and nothing makes a difference...still the same error over and over.
Any help to solve this would be greatly appreciated.