TPhpErrorException

Description

[Notice] unserialize(): Error at offset 0 of 558 bytes (@line 1555 in file C:\hronpokr\prado\framework\TApplication.php).

Source File

C:\hronpokr\prado\framework\TApplication.php (1555)

1544:     /**
1545:      * Loads application state from persistent storage.
1546:      * @return mixed application state
1547:      */
1548:     public function load()
1549:     {
1550:         if(($cache=$this->getApplication()->getCache())!==null && ($value=$cache->get(self::CACHE_NAME))!==false)
1551:             return unserialize($value);
1552:         else
1553:         {
1554:             if(($content=@file_get_contents($this->getStateFilePath()))!==false)
1555: return unserialize($content);
1556: else 1557: return null; 1558: } 1559: } 1560: 1561: /** 1562: * Saves application state in persistent storage. 1563: * @param mixed application state 1564: */ 1565: public function save($state) 1566: { 1567: $content=serialize($state);

Stack Trace

#0 [internal function]: PradoBase::phpErrorHandler(8, 'unserialize(): ...', 'C:\\hronpokr\\pra...', 1555, Array)
#1 C:\hronpokr\prado\framework\TApplication.php(1555): unserialize('\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...')
#2 C:\hronpokr\prado\framework\TApplication.php(462): TApplicationStatePersister->load()
#3 C:\hronpokr\prado\framework\TApplication.php(1067): TApplication->loadGlobals()
#4 C:\hronpokr\prado\framework\TApplication.php(382): TApplication->onLoadState()
#5 C:\hronpokr\index.php(29): TApplication->run()
#6 {main}
2016-12-07 22:05 Apache/2.4.16 (Win64) OpenSSL/1.0.1p PHP/5.6.12 PRADO/3.1.7