• Resolved Austin

    (@austyfrosty)


    Please don’t assume there is an index key.

    PHP Warning: Undefined array key "deactivate" in /var/www/html/wp-content/plugins/social-pug/inc/class-social-pug.php on line 588

    In select environments, and user roles, there is no ‘deactivate’ key in the array (in our installs). Please add a check in this case if isset($links[‘deactivate’]) or !empty($links[‘deactivate’]).

Viewing 1 replies (of 1 total)
  • Plugin Author NerdPress

    (@nerdpressteam)

    Hi @austyfrosty,

    Thanks for reporting this! I’ve logged the warning and we’ll will work on addressing it soon. 🙂

    (I’m going to mark this thread as resolved, just to keep things tidy here… but if there’s anything else to add, or if it’s causing problems beyond a warning in the logs, by all means let us know and I’ll escalate it further.)

    Cheers,
    Andrew

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: Undefined array key’ is closed to new replies.