Error resolved while creating/editing pages with changs made in get_possible_translations method

1. error resolved while create/edit page
2. modified get_possible_translations method.