Fixed Disabling add-on that adds user searcher orders can break forum

Jon W

Well-known member
Affected version
2.1 Beta 5
If you add a new sort order using the user_searcher_orders code event and a user creates a widget using that sort order, disabling the add-on will break any page where that widget is enabled:
Code:
Unknown column xxxxxxxxxxxxxxxx on XF:User in /var/www/public/xf21/src/XF/Mvc/Entity/Finder.php:1476

Perhaps there could be a check that the sort order chosen in a widget is in the current list of searcher orders before it is rendered?
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.0 B7/RC1).

Change log:
Capture when a member stat would error (likely from a disabled add-on) and skip the member stat before the error
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom