I am using ZfcUser (https://github.com/ZF-Commons/ZfcUser) module with ZF2. I am logged in using facebook.After log in I am getting below error.
Fatal error: Call to a member function getEmail() on a non-object in D:\php\htdocs\zend_test\module\Dom\view\dom\dom\index.phtml on line 2
The code exists on line 2
<?php echo $this->gravatar($this->zfcUserIdentity()->getEmail()) ?>
Could anyone say where is the problem?
Thanks