Title: Excessive warning debug messages
Last modified: August 21, 2016

---

# Excessive warning debug messages

 *  [andamira](https://wordpress.org/support/users/andamira/)
 * (@andamira)
 * [12 years ago](https://wordpress.org/support/topic/excessive-debug-messages/)
 * When WP_DEBUG is on, two lines of debug are printed for each quick redirect line,
   in the ‘Quick 301 Redirects’ page. e.g.:
 *     ```
       Notice: Undefined variable: newwin in /home/.../www/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 678
   
       Notice: Undefined variable: nofoll in /home/.../www/wp-content/plugins/quick-pagepost-redirect-plugin/page_post_redirect_plugin.php on line 679
       ```
   
 * So I just commented those lines in the source code:
 *     ```
       678             //$redirectsmeta[$request]['newwindow'] = ($newwin == '1' || $newwin =='0') ? $newwin : '0' ;
        679             //$redirectsmeta[$request]['nofollow'] = ($nofoll == '1' || $nofoll == '0') ? $nofoll : '0' ;
       ```
   
 * But then I had to comment also lines 694, 695, 673 & 674, … and this approach
   has no end. Thanks
 * [https://wordpress.org/plugins/quick-pagepost-redirect-plugin/](https://wordpress.org/plugins/quick-pagepost-redirect-plugin/)

The topic ‘Excessive warning debug messages’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quick-pagepost-redirect-plugin_8d7b6f.
   svg)
 * [Quick Page/Post Redirect Plugin](https://wordpress.org/plugins/quick-pagepost-redirect-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-pagepost-redirect-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [andamira](https://wordpress.org/support/users/andamira/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/excessive-debug-messages/)
 * Status: not resolved