codeguy/Slim — Issue #187: Fatal error: Call to a member function save() on a non-object
Author: CBeerta
Created: 2011-10-27 15:50:18+00:00
State: open

I am getting the following error after updating Slim from 1.3 to 1.5 and adapting my code.

Fatal error: Call to a member function save() on a non-object in /home/claus/www/mywebpage/vendor/Slim/Slim/Slim.php on line 1074

I've used `$app->view()->setData()` initially to set some global view data which seems to replace the 'flash' data. Replacing setData() with appendData() solves the problem.

This shouldn't be the case though?