Now, doesn't gives any error.

But in contact page, the select option is Empty, I already added the following phrases department1_name, department2_name into the language in admin panel, but shows as empty on contact page.

In admin: 1.jpg

In contact page: 2.jpg

the code below are placed in include tpl/controllers/contact_us.tpl

PHP Code:
Only registered members can view the code