Title: Errors appearing when enabling debug mode
Last modified: April 10, 2018

---

# Errors appearing when enabling debug mode

 *  [muzKore](https://wordpress.org/support/users/muzoid/)
 * (@muzoid)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/errors-appearing-when-enabling-debug-mode/)
 * Hi there
    I was disabling the debug mode and ended up finding a heap of errors
   that seemed to be coming from the plugin.
 * I have posted the code errors which appear to be posting two per button that 
   I created.
 * Has this been raised as it would be great to get it sorted.
 * Cheers and thanks in advance.
    Murray
 * <b>Notice</b>: Undefined variable: post in <b>/home1/lifestz0/public_html/fnf_2017/
   wp-content/plugins/visual-editor-custom-buttons/visual-editor-custom-buttons.
   php</b> on line <b>1049</b><br />
    <br /> <b>Notice</b>: Trying to get property
   of non-object in <b>/home1/lifestz0/public_html/fnf_2017/wp-content/plugins/visual-
   editor-custom-buttons/visual-editor-custom-buttons.php</b> on line <b>1049</b
   ><br /> <br /> <b>Notice</b>: Undefined variable: count in <b>/home1/lifestz0/
   public_html/fnf_2017/wp-content/plugins/visual-editor-custom-buttons/visual-editor-
   custom-buttons.php</b> on line <b>1056</b><br /> <br /> <b>Notice</b>: Undefined
   variable: post in <b>/home1/lifestz0/public_html/fnf_2017/wp-content/plugins/
   visual-editor-custom-buttons/visual-editor-custom-buttons.php</b> on line <b>
   1049</b><br /> <br /> <b>Notice</b>: Trying to get property of non-object in 
   <b>/home1/lifestz0/public_html/fnf_2017/wp-content/plugins/visual-editor-custom-
   buttons/visual-editor-custom-buttons.php</b> on line <b>1049</b><br /> <br />
   <b>Notice</b>: Undefined variable: post in <b>/home1/lifestz0/public_html/fnf_2017/
   wp-content/plugins/visual-editor-custom-buttons/visual-editor-custom-buttons.
   php</b> on line <b>1049</b><br /> <br /> <b>Notice</b>: Trying to get property
   of non-object in <b>/home1/lifestz0/public_html/fnf_2017/wp-content/plugins/visual-
   editor-custom-buttons/visual-editor-custom-buttons.php</b> on line <b>1049</b
   ><br /> <br /> <b>Notice</b>: Undefined variable: post in <b>/home1/lifestz0/
   public_html/fnf_2017/wp-content/plugins/visual-editor-custom-buttons/visual-editor-
   custom-buttons.php</b> on line <b>1049</b><br /> <b>Notice</b>: Trying to get
   property of non-object in <b>/home1/lifestz0/public_html/fnf_2017/wp-content/
   plugins/visual-editor-custom-buttons/visual-editor-custom-buttons.php</b> on 
   line <b>1049</b><br /> <br /> <b>Notice</b>: Undefined variable: post in <b>/
   home1/lifestz0/public_html/fnf_2017/wp-content/plugins/visual-editor-custom-buttons/
   visual-editor-custom-buttons.php</b> on line <b>1049</b><br /> <br /> <b>Notice
   </b>: Trying to get property of non-object in <b>/home1/lifestz0/public_html/
   fnf_2017/wp-content/plugins/visual-editor-custom-buttons/visual-editor-custom-
   buttons.php</b> on line <b>1049</b><br />

The topic ‘Errors appearing when enabling debug mode’ is closed to new replies.

 * ![](https://ps.w.org/visual-editor-custom-buttons/assets/icon-256x256.png?rev
   =1116627)
 * [Visual Editor Custom Buttons](https://wordpress.org/plugins/visual-editor-custom-buttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visual-editor-custom-buttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visual-editor-custom-buttons/)
 * [Active Topics](https://wordpress.org/support/plugin/visual-editor-custom-buttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visual-editor-custom-buttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visual-editor-custom-buttons/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [muzKore](https://wordpress.org/support/users/muzoid/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/errors-appearing-when-enabling-debug-mode/)
 * Status: not resolved