Title: Bug: &quot;Clear Log&quot; button does not work
Last modified: August 31, 2016

---

# Bug: "Clear Log" button does not work

 *  [sgpark](https://wordpress.org/support/users/sgpark/)
 * (@sgpark)
 * [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/)
 * Nothing happens when button is clicked to clear log. I had to go into the database
   and clear things manually.
 * [https://wordpress.org/plugins/wp-polls/](https://wordpress.org/plugins/wp-polls/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/#post-7444816)
 * Can give me the steps to reproduce it?
 *  Thread Starter [sgpark](https://wordpress.org/support/users/sgpark/)
 * (@sgpark)
 * [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/#post-7444836)
 * Polls >
    Manage Polls > for specific poll click Logs > scroll down to “Delete
   Poll Logs” > Under “Are You Sure You Want To Delete Logs For This Poll Only?”
   Check “Yes” > Click button “Delete Logs For This Poll Only”
 * …nothing happens.
 * I tried in different browsers on both Mac and Windows.
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/#post-7444895)
 * Weird, that is what I did before I asked the question and it works fine on my
   end.
 * Only thing I can think of is that there is a JS issue on yours, might want to
   check this link out [https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors](https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors)
   to see if there is any JS errors.
 *  Thread Starter [sgpark](https://wordpress.org/support/users/sgpark/)
 * (@sgpark)
 * [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/#post-7445000)
 * The following JS error:
 * Uncaught SyntaxError: missing ) after argument list
 * admin.php?page=wp-polls%2Fpolls-manager.php&mode=logs&id=9:849 Uncaught SyntaxError:
   missing ) after argument list
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/#post-7445005)
 * Is there a JS error when u load the page, before u clear the log?
 *  Thread Starter [sgpark](https://wordpress.org/support/users/sgpark/)
 * (@sgpark)
 * [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/#post-7445006)
 * No.
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/#post-7445007)
 * What is the poll title you are clearing the logs for?
 *  Thread Starter [sgpark](https://wordpress.org/support/users/sgpark/)
 * (@sgpark)
 * [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/#post-7445008)
 * Aha. I see where you’re going. Yes, the poll question has parentheses () in it.
   Do you think this is causing the problem–that the parentheses are not escaped?
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/#post-7445010)
 * Yes that might be it. Try replacing this file [https://github.com/lesterchan/wp-polls/raw/master/polls-logs.php](https://github.com/lesterchan/wp-polls/raw/master/polls-logs.php)
   with the one of your server to see if it is fixed.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Bug: "Clear Log" button does not work’ is closed to new replies.

 * ![](https://ps.w.org/wp-polls/assets/icon.svg?rev=977996)
 * [WP-Polls](https://wordpress.org/plugins/wp-polls/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-polls/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-polls/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-polls/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-polls/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-polls/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/bug-clear-log-button-does-not-work/#post-7445010)
 * Status: not resolved