Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 11Mar 11 These links https://k333610.invisionservice.com/know-the-facts/private-sale/https://k333610.invisionservice.com/know-the-facts/co-operative-housing/https://k333610.invisionservice.com/know-the-facts/real-estate-agent/all show the error. [[Template cms/front/widgets/navigationLine is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] When I run https://k333610.invisionservice.com/admin/?app=core&module=support&controller=supportI get 0 errors.Any ideas?
March 12Mar 12 It appears those pages have since been removed, so I'm not sure what happened there unfortunately. If you can replace what you had, I can certainly take a look for you
March 14Mar 14 Author Yes i did remove them as i need to get this site up and ready. The system logs have multiple template errors showing.
March 14Mar 14 The system logs have multiple template errors showing.Are they the same errors, or new ones? Can you also check your server error logs to see if there have been any recent messaged logged in there? What was the latest change done to the forum prior to this happening? If you disable all third party stuff, do the errors still occur?
March 14Mar 14 Author Many are the same error as below. No new errors since March 11 as I removed the folder navigation from the side panel.No 3rd party stuff in use.TypeError: in_array(): Argument #2 ($haystack) must be of type array, int given in /var/www/html/5000060/static/templates/cms_front_widgets.php:509Stack trace:#0 /var/www/html/5000060/static/templates/cms_front_widgets.php(509): in_array(3, 3)#1 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_cms_front_widgets->navigationLine(Object(IPS\cms\Pages\Folder), NULL, 3)#2 /var/www/html/5000060/static/templates/cms_front_widgets.php(418): IPS\Theme\SandboxedTemplate->__call('navigationLine', Array)#3 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_cms_front_widgets->FolderNavigation(Array, 0, Array, NULL, 3, 'table', false)#4 /var/www/html/5000060/system/Widget/Widget.php(600): IPS\Theme\SandboxedTemplate->__call('FolderNavigatio...', Array)#5 /var/www/html/5000060/applications/cms/widgets/FolderNavigation.php(122): IPS\Widget->output(Array, 0, Array, NULL, 3)#6 /var/www/html/5000060/system/Widget/Widget.php(1289): IPS\cms\widgets\FolderNavigation->render()#7 /var/www/html/5000060/system/Widget/Widget.php(1392): IPS\Widget->_render()#8 /var/www/html/5000060/system/Widget/Area.php(981): IPS\Widget->__toString()#9 /var/www/html/5000060/static/templates/core_front_global.php(23591): IPS\Widget\Area->getWidgetContent()#10 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->widgetArea(Object(IPS\Widget\Area))#11 /var/www/html/5000060/system/Widget/Area.php(288): IPS\Theme\SandboxedTemplate->__call('widgetArea', Array)#12 /var/www/html/5000060/static/templates/core_front_global.php(23524): IPS\Widget\Area->__toString()#13 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->widgetArea(Object(IPS\Widget\Area))#14 /var/www/html/5000060/static/templates/core_front_global.php(23694): IPS\Theme\SandboxedTemplate->__call('widgetArea', Array)#15 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')#16 /var/www/html/5000060/static/templates/core_front_global.php(20386): IPS\Theme\SandboxedTemplate->__call('widgetContainer', Array)#17 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->sidebar()#18 /var/www/html/5000060/static/templates/core_front_global.php(8149): IPS\Theme\SandboxedTemplate->__call('sidebar', Array)#19 /var/www/html/5000060/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_front_global->globalTemplate('Private sale st...', '\n<div id="elCms...', Array)#20 /var/www/html/5000060/system/Dispatcher/Dispatcher.php(192): IPS\Theme\SandboxedTemplate->__call('globalTemplate', Array)#21 /var/www/html/5000060/system/Dispatcher/Standard.php(133): IPS\Dispatcher->finish()#22 /var/www/html/5000060/system/Dispatcher/Front.php(691): IPS\Dispatcher\Standard->finish()#23 /var/www/html/5000060/system/Dispatcher/Dispatcher.php(171): IPS\Dispatcher\Front->finish()#24 /var/www/html/5000060/index.php(16): IPS\Dispatcher->run()#25 {main}
March 14Mar 14 Do you have a page where this is present again so we can review it in real time? If the items in question have been removed it is hard for us to troubleshoot it.
March 14Mar 14 Author Do you have a page where this is present again so we can review it in real time? If the items in question have been removed it is hard for us to troubleshoot it.I tried it again and got no errors, however I am using 1 file vs 3 files before.
March 17Mar 17 all show the error. [[Template cms/front/widgets/navigationLine is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] OK. If you see any further, please leave the issue in place so we can investigate.I get this error when any of the articles are selected for viewing.And yes it is active and no I have not moved anything.
March 17Mar 17 I get this error when any of the articles are selected for viewing.And yes it is active and no I have not moved anything.No other changes or modifications done to the forum? What if you disable all third party stuff, does it still occur?
March 17Mar 17 No other changes or modifications done to the forum? What if you disable all third party stuff, does it still occur?No other third party items. Also, just a software admin created theme(s).
March 17Mar 17 Author I get this error when any of the articles are selected for viewing.And yes it is active and no I have not moved anything.Try including only one file and see if that works. It did for me. I got the same errors when using 3 files. That may give the team more info to track the bug.
March 17Mar 17 Try including only one file and see if that works. It did for me. I got the same errors when using 3 files. That may give the team more info to track the bug.Can you please explain what you mean by "including 3 files"? I'm not quite following. Do you mean 3 pages in the folder? Or something else?
March 17Mar 17 Author Can you please explain what you mean by "including 3 files"? I'm not quite following. Do you mean 3 pages in the folder? Or something else?For me the error surfaced when multiple pages in folder. If I remember correctly it made no difference if they had a parent or not.
March 17Mar 17 Author I can confirm this is a bug. Logging it internally.I should add that this error is on 5.03 The system will not upgrade my site to 5.05 for some reason.
March 17Mar 17 I should add that this error is on 5.03 The system will not upgrade my site to 5.05 for some reason.5.0.3 is the latest release. 5.0.4 is currently in beta.