verdeandrea Posted July 16, 2014 Posted July 16, 2014 Hi guys, when i try any search from the admin page i get this errors: TemplateFile: Field does not exist: body<pre>#0 [internal function]: PageFinder->___getQuery(Object(Selectors), Array) #1 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(359): call_user_func_array(Array, Array) #2 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(317): Wire->runHooks('getQuery', Array) #3 /accounts/20tab_twig/www/explorerskills/n/wire/core/PageFinder.php(144): Wire->__call('getQuery', Array) #4 /accounts/20tab_twig/www/explorerskills/n/wire/core/PageFinder.php(144): PageFinder->getQuery(Object(Selectors), Array) #5 /accounts/20tab_twig/www/explorerskills/n/wire/core/Pages.php(144): PageFinder->find(Object(Selectors), Array) #6 [internal function]: Pages->___find('title|body%=hhh...') #7 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(359): call_user_func_array(Array, Array) #8 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(317): Wire->runHooks('find', Array) #9 /accounts/20tab_twig/www/explorerskills/n/wire/modules/Process/ProcessPageSearch/ProcessPageSearch.module(118): Wire->__call('find', Array) #10 /accounts/20tab_twig/www/explorerskills/n/wire/modules/Process/ProcessPageSearch/ProcessPageSearch.module(118): Pages->find('title|body%=hhh...') #11 [internal function]: ProcessPageSearch->___execute() #12 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(359): call_user_func_array(Array, Array) #13 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(317): Wire->runHooks('execute', Array) #14 /accounts/20tab_twig/www/explorerskills/n/wire/core/ProcessController.php(196): Wire->__call('execute', Array) #15 /accounts/20tab_twig/www/explorerskills/n/wire/core/ProcessController.php(196): ProcessPageSearch->execute() #16 [internal function]: ProcessController->___execute() #17 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(359): call_user_func_array(Array, Array) #18 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(317): Wire->runHooks('execute', Array) #19 /accounts/20tab_twig/www/explorerskills/n/wire/core/admin.php(64): Wire->__call('execute', Array) #20 /accounts/20tab_twig/www/explorerskills/n/wire/core/admin.php(64): ProcessController->execute() #21 /accounts/20tab_twig/www/explorerskills/n/wire/modules/AdminTheme/AdminThemeDefault/controller.php(13): require('/accounts/20tab...') #22 /accounts/20tab_twig/www/explorerskills/n/site/templates/admin.php(15): require('/accounts/20tab...') #23 /accounts/20tab_twig/www/explorerskills/n/wire/core/TemplateFile.php(140): require('/accounts/20tab...') #24 [internal function]: TemplateFile->___render() #25 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(359): call_user_func_array(Array, Array) #26 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(317): Wire->runHooks('render', Array) #27 /accounts/20tab_twig/www/explorerskills/n/wire/modules/PageRender.module(337): Wire->__call('render', Array) #28 /accounts/20tab_twig/www/explorerskills/n/wire/modules/PageRender.module(337): TemplateFile->render() #29 [internal function]: PageRender->___renderPage(Object(HookEvent)) #30 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(359): call_user_func_array(Array, Array) #31 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(317): Wire->runHooks('renderPage', Array) #32 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(381): Wire->__call('renderPage', Array) #33 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(381): PageRender->renderPage(Object(HookEvent)) #34 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(317): Wire->runHooks('render', Array) #35 /accounts/20tab_twig/www/explorerskills/n/wire/modules/Process/ProcessPageView.module(152): Wire->__call('render', Array) #36 /accounts/20tab_twig/www/explorerskills/n/wire/modules/Process/ProcessPageView.module(152): Page->render() #37 [internal function]: ProcessPageView->___execute() #38 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(359): call_user_func_array(Array, Array) #39 /accounts/20tab_twig/www/explorerskills/n/wire/core/Wire.php(317): Wire->runHooks('execute', Array) #40 /accounts/20tab_twig/www/explorerskills/n/index.php(194): Wire->__call('execute', Array) #41 /accounts/20tab_twig/www/explorerskills/n/index.php(194): ProcessPageView->execute() #42 {main}</pre> Is the first time i get this error from admin i can't get why. Thanks
Soma Posted July 16, 2014 Posted July 16, 2014 Looks like you have no body field? You can set the default search fields in the admin search module settings. Modules -> Core -> Page Search 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now