Getting a server error notice after posting

neversickanymore

Moderator: DS
Staff member
Joined
Jan 23, 2013
Messages
32,580
Location
babysitting the argument in my head
Last couple of days i’m getting “there has been a server error” after posting. i’m not sure if that’s the exact notification, but it’s close. The post actually makes it through, but if i try and repost it ends up a double post. I have seen some double posts lately so likely others are getting this too.
 
Been having an issue where when I comment, it says "ooops" something went wrong, but the comment seems to go through, but I see a "view more" posts pop up. It makes it seem like my comments aren't landing but they actually are.
 
I didn't break the forum when I put the trophies on, right? That's the only big thing I ever really implemented or changed. But it seems like everything was fine for a while until recently. So maybe it's not the problem, but maybe an update or a new add on, could be interacting funky with the trophies.
 
1. Check the Server Error Log
Navigate to your Admin Control Panel
(ACP) > Tools > Server error log.

Look for database deadlocks, Max execution time exceeded errors, or memory exhaustion limits during the execution of XF\Repository\Trophy or XF\Cron\Trophy.

Take note of any third-party add-ons mentioned in the stack trace.
 
Identify and Clean Complex Trophy Criteria

The more complex your trophy rules, the harder your server has to work on every single post save.

Go to ACP > Users > Trophies.

Look for trophies using intensive criteria like "User has liked X posts," "User has been registered X days," or

[[criteria tied to massive third-party add-ons (like advanced shop items or complex ranking systems).[[ - > don't think this last one will apply, trophies shouldn't be connected to any advanced shop items or complex ranking systems



Temporary Fix: Temporarily uncheck "Automatically award this trophy" on complex trophies to isolate which rule is stalling your database query.
 
Top