Support » Plugin: React & Share - Customizable Reaction Buttons » 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

    (@dekkoteam)

    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

    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.