Title: PHP notices
Last modified: December 28, 2017

---

# PHP notices

 *  [Maarten B](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-notices-83/)
 * Hi [@pigeonhut](https://wordpress.org/support/users/pigeonhut/),
 * I just wanted to let you know that the plugin throws a lot of notices in the 
   admin area. It started upon activating the plugin. These were the ones:
 * – Notice when a session already started.
    Fix: wrapping session_start around 
   this: if (session_status() == PHP_SESSION_NONE) session_start();
 * – Notices of undefined variables in lib/MessengerBot/Mod.php for various lines.
   Example line 14.
    Fix: use isset() to check if variable is set.
 * – Various notices of an undefined index in the admin settings page. See screenshot:
   [https://snag.gy/lmncUk.jpg](https://snag.gy/lmncUk.jpg)
 * It’s not a big deal, but for those of us who develop in debug mode, this could
   be annoying 🙂

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

 *  Plugin Author [jody nesbitt](https://wordpress.org/support/users/pigeonhut/)
 * (@pigeonhut)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-notices-83/#post-9816971)
 * hi, thanks for the headsup, will push a fix on next updates
 * what PHP ver are you using?
 *  Thread Starter [Maarten B](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-notices-83/#post-9816995)
 * PHP version 5.6.
 * I’ve already fixed all notices so I can send you the updated ZIp file if you 
   want.
 *  Plugin Author [jody nesbitt](https://wordpress.org/support/users/pigeonhut/)
 * (@pigeonhut)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-notices-83/#post-9817022)
 * yes, that would be awesome, ill push it this morning and credit you with the 
   fixes
 *  Thread Starter [Maarten B](https://wordpress.org/support/users/maartenbelmans/)
 * (@maartenbelmans)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-notices-83/#post-9817101)
 * Here’s the new zip: [https://ufile.io/m72qy](https://ufile.io/m72qy)
    The file
   will be auto. deleted after 24 hours.

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

 The topic ‘PHP notices’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fb-messenger-bot_aebcd6.svg)
 * [FB Messenger Bot for WooCommerce](https://wordpress.org/plugins/fb-messenger-bot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fb-messenger-bot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fb-messenger-bot/)
 * [Active Topics](https://wordpress.org/support/plugin/fb-messenger-bot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fb-messenger-bot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fb-messenger-bot/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Maarten B](https://wordpress.org/support/users/maartenbelmans/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/php-notices-83/#post-9817101)
 * Status: not a support question