Luuuk Posted December 18, 2022 Posted December 18, 2022 2 hours ago, Emediate said: Why would the above apply to just one file of many in the datastore, and not affect any others? That is exactly my question too. And the error was reported more than once but the only "solution" given each time is to swap to the database:
Jim M Posted December 18, 2022 Posted December 18, 2022 8 minutes ago, Luuuk said: That is exactly my question too. And the error was reported more than once but the only "solution" given each time is to swap to the database: As mentioned in multiple topics there is a limitation on your server, an error on the server, etc... which would indicate that the datastore is not being written properly to the file system thus creating the error. Switching to database would eliminate that server issue for testing. If it continues with database selected, we can take a further look but if it does not then you would need to contact your hosting provider to see the limitation or error that is happening with writing to your storage.
Luuuk Posted December 18, 2022 Posted December 18, 2022 @Jim M That's fine. But I won't swap to the database writing (for one specific widget only) to be a "guinea pig" without a support (I am on Windows Server so of course you won't investigate, while the error was reported by "LAMP" customers as well but you "could not reproduce"). So you need other "LAMP" customer for further investigations.
Emediate Posted December 18, 2022 Author Posted December 18, 2022 @Jim M / @Marc Stridgen - I'm prepared to switch to writing to the db - but just want to confirm there will be no issues with doing this on a ~545,000 Topic and 6,000,000 Post board?
Jim M Posted December 18, 2022 Posted December 18, 2022 28 minutes ago, Emediate said: @Jim M / @Marc Stridgen - I'm prepared to switch to writing to the db - but just want to confirm there will be no issues with doing this on a ~545,000 Topic and 6,000,000 Post board? Yes, if your MySQL server is capable of handling the requests, it should be fine.
Emediate Posted December 19, 2022 Author Posted December 19, 2022 This solved that particular repeated System Log, but only seems to have created a new repeated one: Quote TypeError: IPS\core\_Approval::loadFromContent(): Argument #2 ($id) must be of type int, null given, called in /home/stereoglobal/public_html/forums/system/Content/Content.php on line 754 and defined in /home/stereoglobal/public_html/forums/applications/core/sources/Approval/Approval.php:212 Stack trace: #0 /home/stereoglobal/public_html/forums/system/Content/Content.php(754): IPS\core\_Approval::loadFromContent('IPS\\core\\Messen...', NULL) #1 /home/stereoglobal/public_html/forums/system/Content/Comment.php(189): IPS\_Content->checkProfanityFilters(false, false) #2 /home/stereoglobal/public_html/forums/applications/core/sources/Messenger/Message.php(151): IPS\Content\_Comment::create(Object(IPS\core\Messenger\Conversation), '<p>\n\tmaybe sna ...', false, NULL, NULL, Object(IPS\Member), NULL, NULL, NULL, NULL) #3 /home/stereoglobal/public_html/forums/system/Content/Item.php(5040): IPS\core\Messenger\_Message::create(Object(IPS\core\Messenger\Conversation), '<p>\n\tmaybe sna ...', false, NULL, NULL, Object(IPS\Member), NULL, NULL, NULL, NULL) #4 /home/stereoglobal/public_html/forums/system/Content/Item.php(4726): IPS\Content\_Item->processCommentForm(Array) #5 /home/stereoglobal/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(430): IPS\Content\_Item->commentForm() #6 /home/stereoglobal/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_messaging->conversation(Object(IPS\core\Messenger\Conversation), Array, NULL) #7 /home/stereoglobal/public_html/forums/applications/core/modules/front/messaging/messenger.php(447): IPS\Theme\_SandboxedTemplate->__call('conversation', Array) #8 /home/stereoglobal/public_html/forums/system/Dispatcher/Controller.php(118): IPS\core\modules\front\messaging\_messenger->manage() #9 /home/stereoglobal/public_html/forums/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #10 /home/stereoglobal/public_html/forums/init.php(927) : eval()'d code(16): IPS\Content\_Controller->execute() #11 /home/stereoglobal/public_html/forums/applications/core/modules/front/messaging/messenger.php(67): IPS\Content\templates_hook_TemplateController->execute() #12 /home/stereoglobal/public_html/forums/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\messaging\_messenger->execute() #13 /home/stereoglobal/public_html/forums/index.php(13): IPS\_Dispatcher->run() #14 {main} Backtrace Quote #0 /home/stereoglobal/public_html/forums/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(TypeError), 'template_error') #1 /home/stereoglobal/public_html/forums/applications/core/modules/front/messaging/messenger.php(447): IPS\Theme\_SandboxedTemplate->__call('conversation', Array) #2 /home/stereoglobal/public_html/forums/system/Dispatcher/Controller.php(118): IPS\core\modules\front\messaging\_messenger->manage() #3 /home/stereoglobal/public_html/forums/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #4 /home/stereoglobal/public_html/forums/init.php(927) : eval()'d code(16): IPS\Content\_Controller->execute() #5 /home/stereoglobal/public_html/forums/applications/core/modules/front/messaging/messenger.php(67): IPS\Content\templates_hook_TemplateController->execute() #6 /home/stereoglobal/public_html/forums/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\messaging\_messenger->execute() #7 /home/stereoglobal/public_html/forums/index.php(13): IPS\_Dispatcher->run() #8 {main} Never saw this error before the shift of the datastore to the database.
Marc Posted December 19, 2022 Posted December 19, 2022 Have you cleared cache in the support area after moving where you are storing cache there?
Marc Posted December 19, 2022 Posted December 19, 2022 I have created a ticket for you on this, so we can take a closer look
Emediate Posted December 21, 2022 Author Posted December 21, 2022 Thanks @Marc Stridgen- any update as yet?
Marc Posted December 21, 2022 Posted December 21, 2022 1 hour ago, Emediate said: Thanks @Marc Stridgen- any update as yet? Any updates will be sent to you via email. The ticket is assigned to be looked at, but there is no resolution as of yet.
Recommended Posts