Skip to content

[Warning] In read_cache after calling loadTemplate #59

@agboom

Description

@agboom

Warning: unserialize(): Function spl_autoload_call() hasn't defined the class it was called for in h2o/loaders.php on line 108

I looked into it, but don't understand how unserialize() uses spl_autoload_call() and which class should be defined. In fact, I don't get the warning at all, because unserialize() is a global function, so why is there a need to define a class?

Full stack trace below. H2o version is 0.4.1.

( ! ) Warning: unserialize(): Function spl_autoload_call() hasn't defined the class it was called for in h2o/loaders.php on line 108
Call Stack
#TimeMemoryFunctionLocation
10.0002245648{main}( )../index.php:0
20.01181005480H2o->__construct( )../index.php:9
30.01231010792H2o->loadTemplate( )../h2o.php:85
40.01231010856H2o_File_Loader->read_cache( )../h2o.php:90
50.01341024048unserialize ( )../loaders.php:108

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions