GET PARENTID of PAGETREEID : You have an error in your SQL syntax near 'limit 1' at line 1