Mervz Posted October 18, 2023 Posted October 18, 2023 I get this error every 30-45 minutes reported in the logs. It appears to be related to a widget. Does anyone have some insight on how I can fix it? ---------- Error: Failed opening required '/home/****/public_html/forums/datastore/widget_activeUsers_a18ckg1oi_35bb7d36cffd1bbbd112a56c15356abf.b59793c169.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') (0) #0 /home/****/public_html/forums/system/Data/Store/FileSystem.php(178): IPS\Data\Store\_FileSystem->get('widget_activeUs...') #1 /home/****/public_html/forums/system/Data/AbstractData.php(126): IPS\Data\Store\_FileSystem->exists('widget_activeUs...') #2 /home/****/public_html/forums/system/Data/Store.php(303): IPS\Data\_AbstractData->__isset('widget_activeUs...') #3 /home/****/public_html/forums/system/Widget/Widget.php(904): IPS\Data\_Store->__isset('widget_activeUs...') #4 /home/****/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(18979): IPS\_Widget->__toString() #5 /home/****/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('footer', 'horizontal') #6 /home/*****/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(7313): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #7 /home/****/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('Tahoe RES, movi...', '\n\n\n\n<div class=...', Array) #8 /home/****/public_html/forums/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #9 /home/****/public_html/forums/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #10 /home/****/public_html/forums/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish() #11 /home/****/public_html/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #12 /home/****/public_html/forums/index.php(13): IPS\_Dispatcher->run() #13 {main} ---------- Backtrace: #0 /home/****/public_html/forums/init.php(1038): IPS\_Log::log('Error: Failed o...', 'uncaught_except...') #1 /home/****/public_html/forums/system/Widget/Widget.php(939): IPS\IPS::exceptionHandler(Object(Error)) #2 /home/****/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(18979): IPS\_Widget->__toString() #3 /home/****/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('footer', 'horizontal') #4 /home/****/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(7313): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #5 /home/****/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('air bag light -...', '\n\n\n\n<div class=...', Array) #6 /home/****/public_html/forums/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #7 /home/****/public_html/forums/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #8 /home/****/public_html/forums/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish() #9 /home/****/public_html/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #10 /home/****/public_html/forums/index.php(13): IPS\_Dispatcher->run() #11 {main} TIA!
Jim M Posted October 18, 2023 Posted October 18, 2023 The datastore there is not able to be opened on your file system or it cannot write to your file system. It could also be that your server is writing too slowly to the file system when the block cache expires and someone is accessing the site in between deleting the old cache file and the new file becoming available to be accessed. You would need to contact your hosting provider or server administrator for assistance on that. The alternative is that you can switch from file system to database for data store in ACP -> System ->Advanced Configuration -> Data Storage. Keep in mind that this would have it's own drawbacks, if your database server is not optimized, etc...
Recommended Posts