Without seeing more code it's tough to tell exactly what the problem is. Your error is in the code you've written though, not in Phalcon or in a mistake you made in installing it - so that narrows it down.

That error probably has a line number and filename associated with it.

My wild guess is your bootstrap file is trying to initialize something, but you're not passing the dependency injector object as a parameter.