[resolved] functions . php fatal error line 326 (3 posts)

  1. febwa1976
    Posted 9 years ago #

    I have just tried posting to my blog and have the following error. Can anybody help me understand this please.

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 218754 bytes) in /home/abcd/public_html/wxyz/wp-includes/functions.php on line 326

    This is the content of the functions file lines 322 - 329

    function maybe_serialize($data) {
    	if ( is_string($data) )
    		$data = trim($data);
    	elseif ( is_array($data) || is_object($data) )
    		return serialize($data);
    	if ( is_serialized($data) )
    		return serialize($data);
    	return $data;
  2. whooami
    Posted 9 years ago #

  3. febwa1976
    Posted 9 years ago #

    Thanks whooami, I am checking that out.

    In the mean time thinking about what could have led to this - I added this AddType application/x-httpd-php5 .phpto my htaccess file recently because I installed another application (wiki) as well.

    When I remove that "addType" line the wordpress site works fine as usual.

Topic Closed

This topic has been closed to new replies.

About this Topic