An unhandled exception was thrown

Configuration

This layout can be changed by modifying /home/marabb9/naturalistjourneys.com/app/views/layouts/error.html.php

To modify your error-handling configuration, see /home/marabb9/naturalistjourneys.com/app/config/bootstrap/errors.php

Exception

BadMethodCallException
Unhandled method call `all`.

Source

Stack Trace

  1. [exception]
  2. app\models\Destinations::subdestinations()
  3. lithium\data\Entity::__call()
  4. include
  5. lithium\template\view\adapter\File::render()
  6. lithium\template\View::lithium\template\{closure}() @ ?
  7. lithium\aop\Filters::run()
  8. lithium\template\View::_step()
  9. lithium\template\View::render()
  10. lithium\net\http\Media::lithium\net\http\{closure}() @ ?
  11. lithium\aop\Filters::run()
  12. lithium\net\http\Media::_handle()
  13. lithium\net\http\Media::render()::{closure} @ 685
  14. lithium\aop\Filters::run()
  15. lithium\net\http\Media::render()
  16. lithium\action\Controller::render()
  17. lithium\action\Controller::__invoke()::{closure} @ 197
  18. lithium\aop\Filters::run()
  19. lithium\action\Controller::__invoke()
  20. lithium\action\Dispatcher::lithium\action\{closure}() @ ?
  21. lithium\aop\Filters::run()
  22. lithium\action\Dispatcher::_call()
  23. lithium\action\Dispatcher::run()::{closure} @ 154
  24. lithium\aop\Chain::__invoke()
  25. /home/marabb9/naturalistjourneys.com/app/config/bootstrap/action.php::{closure} @ 43
  26. lithium\aop\Chain::__invoke()
  27. lithium\core\ErrorHandler::apply()::{closure} @ 242
  28. lithium\aop\Chain::run()
  29. lithium\aop\Filters::run()
  30. lithium\action\Dispatcher::run()
  31. [main]