Error Call to a member function getPath() on a non-object

Started by yanetcoi, 07 December 2016, 09:42:00

Previous topic - Next topic

yanetcoi

Hello!
First thank you for this component.
There is a problem when I publicate Abook All in One Module.
Fatal error: Call to a member function getPath() on a non-object in /components/com_abook/helpers/route.php on line 75 with white skreen.
I use the last version of component and module.

Can you help me?


yanetcoi

It seems, I've understood the problem.
The categories of books are not public (only for registerd users), but the module is public. If I cnange Access of the module to registered, the problem dissapears.
But I'd like the module to work in public access. And when unregistered user tries to view the book, it will appear an authorisation window.

federica

Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]