An error occurred

Application error

Exception information:

Message: Call to a member function getCategoriesAsArray() on bool