Title: debug shows error with class-admin-bits.php
Last modified: November 5, 2018

---

# debug shows error with class-admin-bits.php

 *  Resolved [ustoopia](https://wordpress.org/support/users/ustoopia/)
 * (@ustoopia)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/debug-shows-error-with-class-admin-bits-php/)
 * Hi,
    I enabled debug logging to troubleshoot a different addon. It also showed
   me some errors for Simple Share Buttons. The addon works fine, and I\m not really
   bothered by it since I’ll be disabling debug logging. But just thought you might
   want to know that this error is out there. I use a multi-site environment btw;
   Here’s there error message: _ **Notice: Undefined property: SimpleShareButtonsAdder\
   Admin\_Bits::$hook\_suffix in /var/www/web/wp-content/plugins/simple-share-buttons-
   adder/php/class-admin-bits.php on line 126**

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

 *  [Andres (ShareThis Support)](https://wordpress.org/support/users/andressharethis/)
 * (@andressharethis)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/debug-shows-error-with-class-admin-bits-php/#post-10853574)
 * Hi there [@ustoopia](https://wordpress.org/support/users/ustoopia/),
 * Thanks for reaching out, I’d be happy to help here! 😀
 * Can you please provide me your Simple Share Buttons Adder version in order for
   me to be able to dig deeper into your case and provide you with a solid solution?
 * Thank you,
    Andres
 *  Thread Starter [ustoopia](https://wordpress.org/support/users/ustoopia/)
 * (@ustoopia)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/debug-shows-error-with-class-admin-bits-php/#post-10853753)
 * Simple Share Buttons Adder 7.4.18
 *  [Andres (ShareThis Support)](https://wordpress.org/support/users/andressharethis/)
 * (@andressharethis)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/debug-shows-error-with-class-admin-bits-php/#post-10854325)
 * Hi there [@ustoopia](https://wordpress.org/support/users/ustoopia/),
 * Thanks for your reply!
 * I did try to replicate this on my end but, unfortunately I wasn’t able to do 
   so.
 * So, can you please provide me with some screenshots/screen recordings displaying
   what the issue looks like on your end when being replicated and as well (just
   if possible) a list of plugins you have installed in case there is any other 
   plugin preventing ours from working properly?
 * Thank you!
 *  Thread Starter [ustoopia](https://wordpress.org/support/users/ustoopia/)
 * (@ustoopia)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/debug-shows-error-with-class-admin-bits-php/#post-10854390)
 * Ok I feel kinda silly now. I enabled debug logging again just now, and I was 
   expecting to see the error message like I had earlier. But I saw nothing.. I 
   also checked the debug.log and it was completely empty.
 * I wish all my other issues would go away exactly like this one did.
 * Sorry for the hassle. If I some day encounter this issue again I’ll let you know!
 * Thanks
    Regards
 *  [Andres (ShareThis Support)](https://wordpress.org/support/users/andressharethis/)
 * (@andressharethis)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/debug-shows-error-with-class-admin-bits-php/#post-10856529)
 * Hi there [@ustoopia](https://wordpress.org/support/users/ustoopia/),
 * Thanks for your reply! 😀
 * Ok got it and maybe some environment actions on that exact moment along with 
   your other installed plugins interactions may have caused it as I wasn’t able
   at all to replicate this on my end and sure, please do let me know if you are
   able to encounter this or any other issue in the future.
 * Hope you have an amazing rest of your week!
 * Cheers,
    Andres

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

The topic ‘debug shows error with class-admin-bits.php’ is closed to new replies.

 * ![](https://ps.w.org/simple-share-buttons-adder/assets/icon-256x256.png?rev=2661516)
 * [Simple Share Buttons Adder](https://wordpress.org/plugins/simple-share-buttons-adder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-share-buttons-adder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-share-buttons-adder/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-share-buttons-adder/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Andres (ShareThis Support)](https://wordpress.org/support/users/andressharethis/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/debug-shows-error-with-class-admin-bits-php/#post-10856529)
 * Status: resolved