wassapaks / phalconphp-rest-jwt-acl

Base project for Phalconphp REST JWT and ACL
Other
29 stars 14 forks source link

Call to undefined method PhalconRestJWT\Bootstrap\ServiceBootstrap::get() #1

Closed titandevph closed 8 years ago

titandevph commented 8 years ago

Hi,

I'm getting an error when getting data from db. Looks like in the setEventsManager.

PHP message: PHP Fatal error: Call to undefined method PhalconRestJWT\Bootstrap\ServiceBootstrap::get() in /opt/rest-api/app/library/bootstrap/ServiceBootstrap.php on line 44

wassapaks commented 8 years ago

Hello what phalcon version are you using?

titandevph commented 8 years ago

image

wassapaks commented 8 years ago

I have pushed some updates, instead of using $this i used the $di instead, i think its a problem for php 5.6. you can see it in

library/bootstrap/ServiceBootstrap.php

thanks for reporting

titandevph commented 8 years ago

Great, that fix the issue.