If I complete a registration to an event and then go to another event to register I get an 1064 SQL error.
This has happened after upgrading to Joomla v 3.3.6 from 2.5.28, We are also moving the site to a new server with PHP 5.4.37 and MySQL 5.6.22.
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by member desc LIMIT 0, 1' at line 1 SQL=select SQL_CALC_FOUND_ROWS * from j17_dtregister_event_detail where slabId=157 and member <= order by member desc LIMIT 0, 1