Title: errors in debug mode
Last modified: August 21, 2016

---

# errors in debug mode

 *  [t3rra](https://wordpress.org/support/users/t3rra/)
 * (@t3rra)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-in-debug-mode-12/)
 * When in WordPress’s DEBUG mode, the plugin produces errors because it calls wp_enqueue_script
   and wp_enqueue_style functions outside an init action. Please update it so that
   it calls the functions inside an init action hook function. It is annoying to
   have errors occupying a space on top of the page when I try to debug other errors.
   Thank you.
 * And also the javascript issue it is not working as expected in non-accordion 
   mode that plus/minus sign is not showing correctly. If you click to open many
   questions without close them, you will see what I mean. The patch I posted will
   correct it. 🙂
 * I am currectly patched the plugin myself but it would be really cumbersome when
   the time comes to update the plugin..
 * [https://wordpress.org/plugins/q-and-a-focus-plus-faq/](https://wordpress.org/plugins/q-and-a-focus-plus-faq/)

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

 *  Plugin Author [ELsMystERy](https://wordpress.org/support/users/elsmystery/)
 * (@elsmystery)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-in-debug-mode-12/#post-4980663)
 * I updated it with the patch, so that should be fixed. Make sure you have the 
   latest version. I ran it in debug mode when I did the last update and did not
   see any errors. I will check it again in a little while.
 *  Plugin Author [ELsMystERy](https://wordpress.org/support/users/elsmystery/)
 * (@elsmystery)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/errors-in-debug-mode-12/#post-4980664)
 * I tested it on 2 different sites with WP_DEBUG on without errors. have you tried
   different settings?

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

The topic ‘errors in debug mode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/q-and-a-focus-plus-faq_4f505d.svg)
 * [Q and A Focus Plus FAQ](https://wordpress.org/plugins/q-and-a-focus-plus-faq/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/q-and-a-focus-plus-faq/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/q-and-a-focus-plus-faq/)
 * [Active Topics](https://wordpress.org/support/plugin/q-and-a-focus-plus-faq/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/q-and-a-focus-plus-faq/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/q-and-a-focus-plus-faq/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [ELsMystERy](https://wordpress.org/support/users/elsmystery/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/errors-in-debug-mode-12/#post-4980664)
 * Status: not resolved