BUG: cmsb 3.59: order by
I get something similar after going from 3.57 to 3.59, also focused on line 304 of common.php:
E_USER_NOTICE: MySQL Error: Unknown column 'totalReviewsCount' in 'order clause' - in viewer_functions.php on line 543 by mysql_get_query()
File Path: /../system/lib/common.php
Are you using a leftJoin option? And if so can you try adding a fully qualified name?
'orderBy' => " yourtable.dragSortOrder DESC ",
Just make sure the table and fieldname match what you're using.
Let me know if that works for you.