Jump to content

Anonymous posts repeat 5 times


Go to solution Solved by Stuart Silvester,

Recommended Posts

Posted

When a member makes an anonymous post, their post appears five times after this error appears on the frontend:

[[Template forums/front/topics/topic is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

There are no modifications to that template file, and no option to revert because of that.  Caches have been cleared.

The system log contains:

TypeError: IPS\forums\_Forum::setLastComment(): Argument #2 ($updatedItem) must be of type ?IPS\Content\Item, IPS\forums\Topic\Post given, called in /home/everybum/public_html/community/system/Content/Comment.php on line 1360 (0)
#0 /home/mysitename/public_html/community/system/Content/Comment.php(1360): IPS\forums\_Forum->setLastComment(NULL, Object(IPS\forums\Topic\Post))
#1 /home/mysitename/public_html/community/system/Content/Content.php(3292): IPS\Content\_Comment->changeAuthor(Object(IPS\Member), false)
#2 /home/mysitename/public_html/community/system/Content/Comment.php(199): IPS\_Content->setAnonymous(true, Object(IPS\Member))
#3 /home/mysitename/public_html/community/applications/forums/sources/Topic/Post.php(140): IPS\Content\_Comment::create(Object(IPS\forums\Topic), '<p>\n\tTest post\n...', false, NULL, NULL, Object(IPS\Member), NULL, NULL, NULL, true)

This appears to have started after the most recent update was applied: 4.7.15

Posted
On 1/28/2024 at 5:01 AM, Mick23 said:

When a member makes an anonymous post, their post appears five times after this error appears on the frontend:

[[Template forums/front/topics/topic is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

There are no modifications to that template file, and no option to revert because of that.  Caches have been cleared.

The system log contains:

TypeError: IPS\forums\_Forum::setLastComment(): Argument #2 ($updatedItem) must be of type ?IPS\Content\Item, IPS\forums\Topic\Post given, called in /home/everybum/public_html/community/system/Content/Comment.php on line 1360 (0)
#0 /home/mysitename/public_html/community/system/Content/Comment.php(1360): IPS\forums\_Forum->setLastComment(NULL, Object(IPS\forums\Topic\Post))
#1 /home/mysitename/public_html/community/system/Content/Content.php(3292): IPS\Content\_Comment->changeAuthor(Object(IPS\Member), false)
#2 /home/mysitename/public_html/community/system/Content/Comment.php(199): IPS\_Content->setAnonymous(true, Object(IPS\Member))
#3 /home/mysitename/public_html/community/applications/forums/sources/Topic/Post.php(140): IPS\Content\_Comment::create(Object(IPS\forums\Topic), '<p>\n\tTest post\n...', false, NULL, NULL, Object(IPS\Member), NULL, NULL, NULL, true)

This appears to have started after the most recent update was applied: 4.7.15

We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. 

We look forward to further assisting you. 

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...