Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [User Error] Uncaught Exception: Object->__call(): the method 'fortemplate' does not exist on 'HasManyList', or the method is not public.
- GET /index.php/products?category=1
- Line 780 in /home/sufyan/projects/fmc/framework/core/Object.php
- Source
- 771
- 772 default :
- 773 throw new Exception (
- 774 "Object->__call(): extra method $method is invalid on $class:"
- 775 . var_export($config, true)
- 776 );
- 777 }
- 778 } else {
- 779 // Please do not change the exception code number below.
- 780 throw new Exception("Object->__call(): the method '$method' does not exist on '$class', or the method is not public.", 2175);
- 781 }
- 782 }
- 783
- 784 // --------------------------------------------------------------------------------------------------------------
- 785
- 786 /**
- Trace
- Object->__call(fortemplate,Array)
- ViewableData.php:540
- ViewableData->XML_val(productCategories,,1)
- SSViewer.php:187
- SSViewer_Scope->__call(XML_val,Array)
- SSViewer.php:650
- SSViewer_DataPresenter->__call(XML_val,Array)
- .cache.themes.simple.templates.ProductsPage.ss:161
- include(/tmp/silverstripe-cache-php7.0.22-0ubuntu0.17.04.1-home-sufyan-projects-fmc/www-data/.cache.themes.simple.templates.ProductsPage.ss)
- SSViewer.php:1164
- 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,)
- SSViewer.php:1226
- SSViewer->process(ProductsPage_Controller)
- Controller.php:211
- Controller->handleAction(SS_HTTPRequest,index)
- RequestHandler.php:200
- RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
- Controller.php:158
- Controller->handleRequest(SS_HTTPRequest,DataModel)
- ContentController.php:174
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
- ModelAsController.php:75
- ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
- Director.php:385
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
- Director.php:149
- Director::direct(products,DataModel)
- main.php:191
- require_once(/home/sufyan/projects/fmc/framework/main.php)
- index.php:68
Add Comment
Please, Sign In to add comment