Title: PHP warnings in debug.log
Last modified: April 2, 2017

---

# PHP warnings in debug.log

 *  [thomasmuntz1](https://wordpress.org/support/users/thomasmuntz1/)
 * (@thomasmuntz1)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-warnings-in-debug-log/)
 * Hi,
    after install your plugin i get follow messages in the debug.log. I use 
   php 7.0.
 * PHP Notice: Undefined index: posts in …\plugins\react-and-share\rns.php on line
   544
 * PHP Warning: Invalid argument supplied for foreach() in B:\b_sync\Programmierung\
   XAMPP\htdocs\ttc\wp-content\plugins\react-and-share\rns.php on line 544

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

 *  Plugin Author [Dekko](https://wordpress.org/support/users/dekkoteam/)
 * (@dekkoteam)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-warnings-in-debug-log/#post-8989576)
 * Hi!
 * Thanks for letting us know. We’ll take a look at the issue. Our next update is
   due next week at the latest, it should be fixed by then 🙂
 * I’ll update the status here once the update is done.
 * – Timo
 *  [martinus.suherman](https://wordpress.org/support/users/martinussuherman/)
 * (@martinussuherman)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log/#post-9280301)
 * Hi,
 * I’m also get the same error.
    I’m fixing it with these lines below: function 
   getReactions() { if (!isset($_POST[“posts”])) { wp_send_json(array(”=>”)); }
 * Hope this helps.
 * Cheers …

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

The topic ‘PHP warnings in debug.log’ is closed to new replies.

 * ![](https://ps.w.org/react-and-share/assets/icon-256x256.png?rev=2141818)
 * [React & Share - Customizable Reaction Buttons](https://wordpress.org/plugins/react-and-share/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/react-and-share/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/react-and-share/)
 * [Active Topics](https://wordpress.org/support/plugin/react-and-share/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/react-and-share/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/react-and-share/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [martinus.suherman](https://wordpress.org/support/users/martinussuherman/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log/#post-9280301)
 * Status: not resolved