Guest User

Untitled

a guest
Dec 26th, 2017
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1.  
  2. [User Error] Uncaught Exception: Object->__call(): the method 'fortemplate' does not exist on 'HasManyList', or the method is not public.
  3. GET /index.php/products?category=1
  4.  
  5. Line 780 in /home/sufyan/projects/fmc/framework/core/Object.php
  6. Source
  7.  
  8. 771
  9. 772 default :
  10. 773 throw new Exception (
  11. 774 "Object->__call(): extra method $method is invalid on $class:"
  12. 775 . var_export($config, true)
  13. 776 );
  14. 777 }
  15. 778 } else {
  16. 779 // Please do not change the exception code number below.
  17. 780 throw new Exception("Object->__call(): the method '$method' does not exist on '$class', or the method is not public.", 2175);
  18. 781 }
  19. 782 }
  20. 783
  21. 784 // --------------------------------------------------------------------------------------------------------------
  22. 785
  23. 786 /**
  24.  
  25. Trace
  26.  
  27. Object->__call(fortemplate,Array)
  28. ViewableData.php:540
  29. ViewableData->XML_val(productCategories,,1)
  30. SSViewer.php:187
  31. SSViewer_Scope->__call(XML_val,Array)
  32. SSViewer.php:650
  33. SSViewer_DataPresenter->__call(XML_val,Array)
  34. .cache.themes.simple.templates.ProductsPage.ss:161
  35. include(/tmp/silverstripe-cache-php7.0.22-0ubuntu0.17.04.1-home-sufyan-projects-fmc/www-data/.cache.themes.simple.templates.ProductsPage.ss)
  36. SSViewer.php:1164
  37. SSViewer->includeGeneratedTemplate(/tmp/silverstripe-cache-php7.0.22-0ubuntu0.17.04.1-home-sufyan-projects-fmc/www-data/.cache.themes.simple.templates.ProductsPage.ss,ProductsPage_Controller,,Array,)
  38. SSViewer.php:1226
  39. SSViewer->process(ProductsPage_Controller)
  40. Controller.php:211
  41. Controller->handleAction(SS_HTTPRequest,index)
  42. RequestHandler.php:200
  43. RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
  44. Controller.php:158
  45. Controller->handleRequest(SS_HTTPRequest,DataModel)
  46. ContentController.php:174
  47. ContentController->handleRequest(SS_HTTPRequest,DataModel)
  48. ModelAsController.php:75
  49. ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
  50. Director.php:385
  51. Director::handleRequest(SS_HTTPRequest,Session,DataModel)
  52. Director.php:149
  53. Director::direct(products,DataModel)
  54. main.php:191
  55. require_once(/home/sufyan/projects/fmc/framework/main.php)
  56. index.php:68
Add Comment
Please, Sign In to add comment