• Hi,
    I was getting this error non-stop until the server crashes:
    PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 2620151083707 bytes) in C:\Apache24\htdocs\wp-includes\functions.php on line 5231

    I had to restart Apache to be able to reload the site.

    I disabled all plugins and the error is still happening, much less than before, and the server hasn’t crashed.

    This error is occurring at:

    function wp_is_stream( $path ) {
        $wrappers = stream_get_wrappers();
        $wrappers_re = '(' . join('|', $wrappers) . ')';
     
        return preg_match( "!^$wrappers_re://!", $path ) === 1;
    }

    We are running php 7.1.9
    Wordpress 4.9.7

    Any ideas how to debug this?

  • The topic ‘wp_is_stream Crashing the server’ is closed to new replies.