Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Call to undefined method Phalcon\Session\Adapter\Files::start()

Hello,

Backto Phalcon again this time I'm moving to 2.x to 3.x however I got very weird error

I use following code.

$di->setShared( 'session', function(){ $session = new \Phalcon\Session\Adapter\Files([ 'lifetime' => 86400*120, ]); $session->start(); return $session; } );

and got this error

FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Phalcon\Session\Adapter\Files::start()

It was fresh 3.4 build in Debian 9.5

I got nginx - fpm setup. Phalcon module loaded at 30-phalcon.ini php version was 7.2

Is any one can give any clue ? I can't find anthing on the google...

Best regards



9.9k
Accepted
answer

I install binary version different repo. Fixed