Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 4, 20241 yr While copying a topic to Articles database, got this error (copying went fine) Sorry, there is a problem Something went wrong. Please try again. TECHNICAL DETAILS TypeError: IPS\forums\_Forum::setLastComment(): Argument #2 ($updatedItem) must be of type ?IPS\Content\Item, IPS\forums\Topic\Post given, called in /var/www/html/107732/system/Content/Comment.php on line 1360 (0) #0 /var/www/html/107732/system/Content/Comment.php(1360): IPS\forums\_Forum->setLastComment(NULL, Object(IPS\forums\Topic\Post)) #1 /var/www/html/107732/system/Content/Item.php(3047): IPS\Content\_Comment->changeAuthor(Object(IPS\Member), true) #2 /var/www/html/107732/applications/cms/sources/Records/Records.php(2762): IPS\Content\_Item->changeAuthor(Object(IPS\Member), true) #3 /var/www/html/107732/applications/cms/modules/front/database/topic.php(261): IPS\cms\_Records->changeAuthor(Object(IPS\Member)) #4 /var/www/html/107732/system/Dispatcher/Controller.php(107): IPS\cms\modules\front\database\_topic->form() #5 /var/www/html/107732/applications/cms/modules/front/database/topic.php(47): IPS\Dispatcher\_Controller->execute() #6 /var/www/html/107732/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\front\database\_topic->execute() #7 /var/www/html/107732/index.php(13): IPS\_Dispatcher->run() #8 {main}
March 4, 20241 yr Community Expert Or please upgrade to the latest release of the platform to resolve
March 4, 20241 yr Author Nothing in the ACP shows as pending updates yet. Did "Check for Updates" - still no pending updates.
March 4, 20241 yr Author Okay, completed the patch. But found - Logs 224 kB log table Repeated log entries On clicking Fix This - (maybe this one got resolved too already) Reoccurring system log entries may be indicative of a problem that should be addressed. A summary of the top reoccurring recent log entries are shown below. Review the system log for further details. Message Count badly formed input 46 Error: Attempt to assign property "timezone" on null (0) #0 /var/www/html/107732/system/Dispatcher/Standard.php(129): IPS\_Member::loggedIn() #1 /var/www/html/107732/system/Dispatcher/Front.php(106): IPS\Dispatcher\_Standard->init() #2 /var/www/html/107732/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init() #3 /var/www/html/107732/index.php(13): IPS\_Dispatcher::i() #4 {main} Edited March 4, 20241 yr by WebCMS
March 4, 20241 yr Community Expert Click to see all the system logs, and see if you are still getting them after the patch. I suspect you wont be