Skip to content

Error: Serialization of 'Closure' is not allowed #447

Description

@ferrassi

Hi,
in CakePHP v2.5.6
PHP 5.5.12
DubugKit 2.2

I have this error :
Erreur 500

Error: Serialization of 'Closure' is not allowed
File: D:\projects\cms\new\lib\Cake\Cache\Engine\FileEngine.php
Line: 128
Stack Trace

CORE\Cake\Cache\Engine\FileEngine.php line 128 → serialize(array)
CORE\Cake\Cache\Cache.php line 312 → FileEngine->write(string, array, integer)
APP\Plugin\DebugKit\Controller\Component\ToolbarComponent.php line 501 → Cache::write(string, array, string)
APP\Plugin\DebugKit\Controller\Component\ToolbarComponent.php line 330 → ToolbarComponent->_saveState(FronthomeController, array)
[internal function] → ToolbarComponent->beforeRender(FronthomeController)
CORE\Cake\Utility\ObjectCollection.php line 128 → call_user_func_array(array, array)
[internal function] → ObjectCollection->trigger(CakeEvent)
CORE\Cake\Event\CakeEventManager.php line 242 → call_user_func(array, CakeEvent)
CORE\Cake\Controller\Controller.php line 927 → CakeEventManager->dispatch(CakeEvent)
CORE\Cake\Routing\Dispatcher.php line 198 → Controller->render()
CORE\Cake\Routing\Dispatcher.php line 165 → Dispatcher->_invoke(FronthomeController, CakeRequest)
APP\webroot\index.php line 108 → Dispatcher->dispatch(CakeRequest, CakeResponse)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions