Title: All js not working
Last modified: August 22, 2016

---

# All js not working

 *  Resolved [sovabarmak](https://wordpress.org/support/users/sovabarmak/)
 * (@sovabarmak)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/all-js-not-working/)
 * I installed plugin, see all pages, all links are working.But all js are not working.
   When pressing button(ask question, submit answer) page is reloading and form 
   submiting but anything happend. From admin i can add question but on front-end
   write date 45 years ago. In php logs nothing bad, in js console no errors. I 
   trying to fix it 2 days without any results…
 * [https://wordpress.org/plugins/anspress/](https://wordpress.org/plugins/anspress/)

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

 *  Plugin Author [Rahul Aryan](https://wordpress.org/support/users/nerdaryan/)
 * (@nerdaryan)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/all-js-not-working/#post-5321947)
 * Please try disabling other plugins. It may be due to other plugin.
 *  Thread Starter [sovabarmak](https://wordpress.org/support/users/sovabarmak/)
 * (@sovabarmak)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/all-js-not-working/#post-5321954)
 * i disabled all plugins and all js files of template, nothing help…
 *  Plugin Author [Rahul Aryan](https://wordpress.org/support/users/nerdaryan/)
 * (@nerdaryan)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/all-js-not-working/#post-5321955)
 * Try query monitor, there must be some error. or else re-install it.
    Or if you
   are overriding AnsPress from theme then make sure all assets are loading.
 *  Thread Starter [sovabarmak](https://wordpress.org/support/users/sovabarmak/)
 * (@sovabarmak)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/all-js-not-working/#post-5321961)
 * i tried reinstall, all assets are loaded …Trying to find reason but cannot
 *  Thread Starter [sovabarmak](https://wordpress.org/support/users/sovabarmak/)
 * (@sovabarmak)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/all-js-not-working/#post-5321972)
 * i solved problem)). Template was wrote by me. And my code generate it’s own body
   class by php. And yor plugin couldn’t append class “anpress” to it. I read your
   js files and saw that click events exucute when parent html element has class“
   anpress”. I simply wrapped content in my qa page template, into div with class“
   anpress” and all working.
 * P.S. Your plugin has one small bug, for me it is no critical. When plugin activated,
   in admin->settings->DiscussionSettings disapear option – Default Avatar and choices
   for it, when debug is enable you can see error
 * >  – Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   > class ‘AP_User’ does not have a method ‘default_avatar’ in
 * It is bug of your plugin because when i deactivate plugin option apear and error
   disapear, thank you for plugin)
 *  Plugin Author [Rahul Aryan](https://wordpress.org/support/users/nerdaryan/)
 * (@nerdaryan)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/all-js-not-working/#post-5321973)
 * You are most welcome.

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

The topic ‘All js not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/anspress_fde1d3.svg)
 * [AnsPress - Question and answer plugin](https://wordpress.org/plugins/anspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/anspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/anspress/)
 * [Active Topics](https://wordpress.org/support/plugin/anspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/anspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/anspress/reviews/)

## Tags

 * [js](https://wordpress.org/support/topic-tag/js/)

 * 6 replies
 * 2 participants
 * Last reply from: [Rahul Aryan](https://wordpress.org/support/users/nerdaryan/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/all-js-not-working/#post-5321973)
 * Status: resolved