LiveG Posted February 17 Share Posted February 17 Hello, My forum crashes every few minutes, When the site recovers, this is the system logs I see; is it the root cause or a symptom? Error: Call to undefined method IPS\forums\Forum::hasMarkers() in /var/www/html/uploads/template_21_ad9ae6e9ced8695954ac11f917afdfac_global.php:822 Stack trace: #0 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_global->row() #1 /var/www/html/uploads/template_21_5dcd644fedb7516dcd3c1dda884f4dcc_widgets.php(1499): IPS\Theme\_SandboxedTemplate->__call() #2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_widgets->topicFeed() #3 /var/www/html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call() #4 /var/www/html/system/Content/Widget.php(532): IPS\_Widget->output() #5 /var/www/html/system/Widget/Widget.php(833): IPS\Content\_Widget->render() #6 /var/www/html/system/Widget/Widget.php(888): IPS\_Widget->_render() #7 /var/www/html/uploads/template_21_94a9d7649fb9cdbfc784d3516e61a717_global.php(19561): IPS\_Widget->__toString() #8 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->widgetContainer() #9 /var/www/html/uploads/template_21_94a9d7649fb9cdbfc784d3516e61a717_global.php(7594): IPS\Theme\_SandboxedTemplate->__call() #10 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->globalTemplate() #11 /var/www/html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call() #12 /var/www/html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #13 /var/www/html/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish() #14 /var/www/html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #15 /var/www/html/index.php(13): IPS\_Dispatcher->run() #16 {main} Backtrace #0 /var/www/html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log() #1 /var/www/html/uploads/template_21_5dcd644fedb7516dcd3c1dda884f4dcc_widgets.php(1499): IPS\Theme\_SandboxedTemplate->__call() #2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_forums_front_widgets->topicFeed() #3 /var/www/html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call() #4 /var/www/html/system/Content/Widget.php(532): IPS\_Widget->output() #5 /var/www/html/system/Widget/Widget.php(833): IPS\Content\_Widget->render() #6 /var/www/html/system/Widget/Widget.php(888): IPS\_Widget->_render() #7 /var/www/html/uploads/template_21_94a9d7649fb9cdbfc784d3516e61a717_global.php(19561): IPS\_Widget->__toString() #8 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->widgetContainer() #9 /var/www/html/uploads/template_21_94a9d7649fb9cdbfc784d3516e61a717_global.php(7594): IPS\Theme\_SandboxedTemplate->__call() #10 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->globalTemplate() #11 /var/www/html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call() #12 /var/www/html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #13 /var/www/html/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish() #14 /var/www/html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #15 /var/www/html/index.php(13): IPS\_Dispatcher->run() #16 {main} Link to comment Share on other sites More sharing options...
LiveG Posted February 17 Author Share Posted February 17 IMPORTANT: The ACP access crushes as well Link to comment Share on other sites More sharing options...
Jim M Posted February 17 Share Posted February 17 Would recommend upgrading to the latest release and then also disabling template caching as it seems your server may be having issues. You can do this in ACP -> System -> Advanced Configuration. Link to comment Share on other sites More sharing options...
LiveG Posted February 17 Author Share Posted February 17 (edited) Thank you, Jim. What is the impact of disabling template caching? It's active by default. Edited February 17 by LiveG Link to comment Share on other sites More sharing options...
Jim M Posted February 17 Share Posted February 17 12 minutes ago, LiveG said: Thank you, Jim. What is the impact of disabling template caching? It's active by default. Templates would come from your database instead of being cached to the file system. In your case, your file system might not be able to handle the writing or there is an issue writing so you would need to check that if this resolves the issue. Link to comment Share on other sites More sharing options...
LiveG Posted February 17 Author Share Posted February 17 Upgraded and deactivated this option as recommended. i will monitor it. Thank you @Jim M Jim M 1 Link to comment Share on other sites More sharing options...
LiveG Posted March 20 Author Share Posted March 20 Hello, My forum crashing every few moments even when disable template caching. can you please take a look? The server resources is fine: https://ibb.co/brkn2BR Try to reboot the server, no luck. Link to comment Share on other sites More sharing options...
LiveG Posted March 20 Author Share Posted March 20 (edited) This issue is resolved. Third-Party App app prevented from maintenance task to run for a few days. when disable the app, and run the task manually, every thing back to normal. Edited March 20 by LiveG Link to comment Share on other sites More sharing options...
Jim M Posted March 20 Share Posted March 20 Excellent. Glad to hear you found the issue. If it is one widely available, I'd recommend posting it here so others can be aware. DawPi 1 Link to comment Share on other sites More sharing options...
LiveG Posted March 20 Author Share Posted March 20 (edited) Well, Its happening all over again. my forum is down. lots of system error. apps is disabled. template caching. is disabled. Error: Call to undefined method IPS\forums\Forum::hasMarkers() in /var/www/html/system/Theme/Theme.php(885) : eval()'d code:821 Stack trace: #0 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_global->row() #1 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(1498): IPS\Theme\_SandboxedTemplate->__call() #2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_widgets->topicFeed() #3 /var/www/html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call() #4 /var/www/html/system/Content/Widget.php(532): IPS\_Widget->output() #5 /var/www/html/system/Widget/Widget.php(833): IPS\Content\_Widget->render() #6 /var/www/html/system/Widget/Widget.php(888): IPS\_Widget->_render() #7 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(19560): IPS\_Widget->__toString() #8 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer() #9 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(7603): IPS\Theme\_SandboxedTemplate->__call() #10 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate() #11 /var/www/html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call() #12 /var/www/html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #13 /var/www/html/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish() #14 /var/www/html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #15 /var/www/html/index.php(13): IPS\_Dispatcher->run() #16 {main} #0 /var/www/html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log() #1 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(1498): IPS\Theme\_SandboxedTemplate->__call() #2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_widgets->topicFeed() #3 /var/www/html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call() #4 /var/www/html/system/Content/Widget.php(532): IPS\_Widget->output() #5 /var/www/html/system/Widget/Widget.php(833): IPS\Content\_Widget->render() #6 /var/www/html/system/Widget/Widget.php(888): IPS\_Widget->_render() #7 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(19560): IPS\_Widget->__toString() #8 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer() #9 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(7603): IPS\Theme\_SandboxedTemplate->__call() #10 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate() #11 /var/www/html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call() #12 /var/www/html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #13 /var/www/html/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish() #14 /var/www/html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #15 /var/www/html/index.php(13): IPS\_Dispatcher->run() #16 {main} Edited March 20 by LiveG Link to comment Share on other sites More sharing options...
Daniel F Posted March 20 Share Posted March 20 There's no hasMarkers method in our code, sounds like a very old template. Can you compare your forums/front/global/row template with the default one? LiveG and SeNioR- 1 1 Link to comment Share on other sites More sharing options...
LiveG Posted March 20 Author Share Posted March 20 (edited) 9 minutes ago, Daniel F said: There's no hasMarkers method in our code, sounds like a very old template. Can you compare your forums/front/global/row template with the default one? I will try. its difficult to do as the forum is down most of the time.. I know its update template of ipb focus theme * i cant find this path forums/front/global/row Edited March 20 by LiveG Link to comment Share on other sites More sharing options...
Adlago Posted March 20 Share Posted March 20 9 minutes ago, LiveG said: I will try. its difficult to do as the forum is down most of the time.. I know its update template of ipb focus theme * i cant find this path forums/front/global/row When you are able to log in to ACP, switch the original IPS theme to the default theme. LiveG 1 Link to comment Share on other sites More sharing options...
Miss_B Posted March 20 Share Posted March 20 14 minutes ago, LiveG said: I know its update template of ipb focus theme Is that custom theme compatible with your forum version? if not it needs to be upgraded or uninstalled. LiveG 1 Link to comment Share on other sites More sharing options...
LiveG Posted March 20 Author Share Posted March 20 (edited) The default theme works. my forum works with the default theme . I Have the latest update of the theme installed. path front/forums/global/row is exactly the same as default Edited March 20 by LiveG Link to comment Share on other sites More sharing options...
Jim M Posted March 20 Share Posted March 20 6 minutes ago, LiveG said: The default theme works. my forum works with the default theme . If this is the case, you would need to work with your theme's author to see why this is. Link to comment Share on other sites More sharing options...
Adlago Posted March 20 Share Posted March 20 2 minutes ago, LiveG said: The default theme works. my forum works with the default theme . I Have the latest update of the theme installed. path front/forums/global/row is exactly the same as default It just means that in a used theme so far, there are outdated codes, or there are codes that create a conflict. Search for an author of your theme to provide you with an update on it. LiveG 1 Link to comment Share on other sites More sharing options...
LiveG Posted March 20 Author Share Posted March 20 Thank you. I will address the author of the team! Adlago 1 Link to comment Share on other sites More sharing options...
LiveG Posted March 22 Author Share Posted March 22 (edited) At the moment its happening with the default team,every app disabled. no server resourced issues- community is offline. rested the server, doesn't help 🙄 System, logs OutOfRangeException: (0) #0 /var/www/html/system/Theme/Theme.php(401): IPS\Patterns\_ActiveRecord::load() #1 /var/www/html/applications/core/sources/ProfileFields/Field.php(150): IPS\_Theme::i() #2 /var/www/html/applications/core/sources/ProfileFields/Field.php(374): IPS\core\ProfileFields\_Field->displayValue() #3 /var/www/html/system/Member/Member.php(2247): IPS\core\ProfileFields\_Field::values() #4 /var/www/html/applications/core/extensions/core/MemberFilter/ProfileFields.php(309): IPS\_Member->profileFields() #5 /var/www/html/system/Member/GroupPromotion.php(319): IPS\core\extensions\core\MemberFilter\_ProfileFields->matches() #6 /var/www/html/system/Member/Member.php(4453): IPS\Member\_GroupPromotion->matches() #7 /var/www/html/system/Member/Member.php(445): IPS\_Member->checkGroupPromotion() #8 /var/www/html/system/Theme/Theme.php(353): IPS\_Member->save() #9 /var/www/html/system/Dispatcher/Standard.php(54): IPS\_Theme::i() #10 /var/www/html/system/Dispatcher/Front.php(759): IPS\Dispatcher\_Standard::baseCss() #11 /var/www/html/init.php(934) : eval()'d code(16): IPS\Dispatcher\_Front::baseCss() #12 /var/www/html/init.php(934) : eval()'d code(28): IPS\Dispatcher\chatbox_hook_Dispatcher_Front::baseCss() #13 /var/www/html/system/Dispatcher/Front.php(76): IPS\Dispatcher\marktopic_hook_code_dispatcher_front::baseCss() #14 /var/www/html/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init() #15 /var/www/html/index.php(13): IPS\_Dispatcher::i() #16 {main} backtrace /var/www/html/init.php(1036): IPS\_Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main} Edited March 22 by LiveG Link to comment Share on other sites More sharing options...
Marc Posted March 22 Share Posted March 22 On each location Im seeing that has occurred there are gooks that are loaded. You need to ensure everything is indeed disabled in the first instance. Even in the message above, I can see chatbox is loading there. Im not seeing any sisues on the site itself, but seeing it being logged Link to comment Share on other sites More sharing options...
LiveG Posted March 23 Author Share Posted March 23 (edited) 20 hours ago, Marc Stridgen said: On each location Im seeing that has occurred there are gooks that are loaded. You need to ensure everything is indeed disabled in the first instance. Even in the message above, I can see chatbox is loading there. Im not seeing any sisues on the site itself, but seeing it being logged needed to stop and run the server to make it work again in the default theme; it was not an issue with the default theme. I turned off all the apps and switched to my elegant theme, and I instantly started getting system errors; if I kept this error going for a few minutes, my forum would crash. I quickly switched back to the default theme, and the error stopped. I fond a different from default in the front/forums/global/row template, but i don't know if its related. https://ibb.co/TKjJKQv I am willing to pay developers to help escape this mess. Please pm me Error: Call to undefined method IPS\forums\Forum::hasMarkers() in /var/www/html/system/Theme/Theme.php(885) : eval()'d code:821 Stack trace: #0 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_global->row() #1 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(1498): IPS\Theme\_SandboxedTemplate->__call() #2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_widgets->topicFeed() #3 /var/www/html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call() #4 /var/www/html/system/Content/Widget.php(532): IPS\_Widget->output() #5 /var/www/html/system/Widget/Widget.php(833): IPS\Content\_Widget->render() #6 /var/www/html/system/Widget/Widget.php(888): IPS\_Widget->_render() #7 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(19278): IPS\_Widget->__toString() #8 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer() #9 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(7433): IPS\Theme\_SandboxedTemplate->__call() #10 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate() #11 /var/www/html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call() #12 /var/www/html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #13 /var/www/html/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish() #14 /var/www/html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #15 /var/www/html/index.php(13): IPS\_Dispatcher->run() #16 {main} Backtrace #0 /var/www/html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log() #1 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(1498): IPS\Theme\_SandboxedTemplate->__call() #2 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_widgets->topicFeed() #3 /var/www/html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call() #4 /var/www/html/system/Content/Widget.php(532): IPS\_Widget->output() #5 /var/www/html/system/Widget/Widget.php(833): IPS\Content\_Widget->render() #6 /var/www/html/system/Widget/Widget.php(888): IPS\_Widget->_render() #7 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(19278): IPS\_Widget->__toString() #8 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer() #9 /var/www/html/system/Theme/Theme.php(885) : eval()'d code(7433): IPS\Theme\_SandboxedTemplate->__call() #10 /var/www/html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate() #11 /var/www/html/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call() #12 /var/www/html/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #13 /var/www/html/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish() #14 /var/www/html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #15 /var/www/html/index.php(13): IPS\_Dispatcher->run() #16 {main} Edited March 23 by LiveG Link to comment Share on other sites More sharing options...
Daniel F Posted March 23 Share Posted March 23 Have you tried searching your templates for hasMarkers Link to comment Share on other sites More sharing options...
LiveG Posted March 23 Author Share Posted March 23 (edited) 12 minutes ago, Daniel F said: Have you tried searching your templates for hasMarkers It's looking to appear only in front/forums/global/row. It's related to the Mark app- i think, which is no longer supported. But all the apps are disabled; why does the site keep crashing? https://ibb.co/wN4DPDv Edited March 23 by LiveG Link to comment Share on other sites More sharing options...
DawPi Posted March 23 Share Posted March 23 2 hours ago, LiveG said: It's looking to appear only in front/forums/global/row. Restore that template bit. Should help (as it will remove hasMarkers part). LiveG 1 Link to comment Share on other sites More sharing options...
LiveG Posted March 23 Author Share Posted March 23 (edited) 36 minutes ago, DawPi said: Restore that template bit. Should help (as it will remove hasMarkers part). did it.switch to my theme , few minutes later my forum crash with no system error log at all. 😞 God knows what the reason is Edited March 23 by LiveG Link to comment Share on other sites More sharing options...
Recommended Posts