Q and A Focus Plus FAQ
errors in debug mode (3 posts)

  1. t3rra
    Posted 2 years ago #

    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..


  2. ELsMystERy
    Plugin Author

    Posted 2 years ago #

    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.

  3. ELsMystERy
    Plugin Author

    Posted 2 years ago #

    I tested it on 2 different sites with WP_DEBUG on without errors. have you tried different settings?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Q and A Focus Plus FAQ
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic