Title: Polls Plugin Javascript Error
Last modified: August 19, 2016

---

# Polls Plugin Javascript Error

 *  [nikhil digde](https://wordpress.org/support/users/nikhil-digde/)
 * (@nikhil-digde)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/polls-plugin-javascript-error/)
 * Hi guys,
    I am using buddy press for a project.I have changed the default theme
   and used my own theme.Now i activated the wp-polls plugin and added `<?php locate_template(
   array( 'sidebar.php' ), true ) ?>` to the index page.I can see the polls but 
   when i click on “vote” i get a javascript error that poll_vote is not defined.
 * This function is present in the polls-js.dev.js file in teh same folder.
 * Please can anyone help me as to where i should include this file?
 * Thanks.

The topic ‘Polls Plugin Javascript Error’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [nikhil digde](https://wordpress.org/support/users/nikhil-digde/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/polls-plugin-javascript-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
