Skip to content

PHP Deprecated: Function (null)() is deprecated #25

@milo

Description

@milo

Forum: http://forum.nette.org/en/21268-nette-framework-2-2-4-released#p145829

This bug shows self in Nette 2.2.4 as:

PHP Notice: Undefined variable: file in .../src/Http/Response.php:299 PHP Notice: Undefined variable: line in .../src/Http/Response.php:299 PHP Deprecated: Function æĄly°Š() is deprecated in Unknown:0 PHP Deprecated: Function (null)::H‰l$čL‰d$šH‰ĶL‰l$ųH‰\$ąH�ģ8H…ÉA‰üI‰õt!H‹ŪźM() is deprecated in .../cache/latte/xxxx-f58ecdceb29baf29d552a02bd25a2224.php:72 PHP Deprecated: Function (null)() is deprecated in .... Parse Error Fatal Error Allowed memory size of 134217728 bytes exhausted (tried to allocate 909587003 bytes) 

This bug occures on mine website when I migrated to Nette v2.2.4. It is hard to reproduce, I did it by refreshing page and one from 10-50 requests failed by different error message.

I replaced nette/nette: 2.2.4 in composer by all single packages and I started to downgrade packages one by one. After reverting nette/http to v2.2.1, bugs stopped to showself. After that I bisected commits and I found 0914fe9 as buggy. After that, I upgraded back to nette/nette v2.2.4 and starts to reverting single commit changes. When this was reverted, everithing is OK.

I know it sounds like nonsence. And when PHP bug is about memory corruption this is maybe only final crash. Let's wait for forum feedback.

PHP 5.4.16 as a apache2handler, Debian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions