Spiga

Fatal error: Maximum execution time exceeded in /wp-includes/streams.php

by Gabi Solomon

Recently i started to do some cleaning on my blog, and added and removed some plugins. At one point i starting getting the error:

Fatal error: Maximum execution time exceeded in /wp-includes/streams.php

At first i tought it has something to do with the plugins i just added, or the multi-language plugin ( wich i disabled later on, and moved my romanian posts to gabrielsolomon.ro ). So i started to do some googling and discovered it was not to do with the plugins but it was a bug in the version 2.5 of wordpress.
Which kind of made sense since i recently upgraded to it … and have not encountered this error before.

It seems it is caused by the WPLANG setting in the wordpress wp-config.php file.
So if you have setup the file like this :

// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-content/languages.
// For example, install de.mo to wp-content/languages and set WPLANG to ‘de’
// to enable German language support.
define (‘WPLANG’, ‘ro’);

Then you need to remove the language like so :

define (‘WPLANG’, ”);

That seem to do the trick for me, and the error stop showing up.

Hope this article saved you some googling time and invite you to comment if you encountered a similar problem or have a better solution.

Related Posts

blog comments powered by Disqus