Call to a member function getPage() on a non-object - Can be closed!!!
Permalink
Hi,
I'm trying to make a add-on working on 5.7. Add-on is installing (after figuring out underscores in the name is not working for 5.7). But now when I click on the dashboard page I get 'Call to a member function getPage() on a non-object'. When I comment this line out, I have the same with getSearchResultsClass() and getSortByUrl().
All those functions come back in the ItemList. So in the controller and model I added
in the namespace.
It doesn't do anything. Am I looking over something?
I did the reordering of the controllers. Maybe someone has a tip?
Ok, I did something wrong with the reordering of the controllers! Solved on my own ;-).
I'm trying to make a add-on working on 5.7. Add-on is installing (after figuring out underscores in the name is not working for 5.7). But now when I click on the dashboard page I get 'Call to a member function getPage() on a non-object'. When I comment this line out, I have the same with getSearchResultsClass() and getSortByUrl().
All those functions come back in the ItemList. So in the controller and model I added
use ItemList;
in the namespace.
It doesn't do anything. Am I looking over something?
I did the reordering of the controllers. Maybe someone has a tip?
Ok, I did something wrong with the reordering of the controllers! Solved on my own ;-).