Support » Plugin: WP Font Awesome Share Icons » PHP Error Messages

Viewing 4 replies - 1 through 4 (of 4 total)
  • I had this too. Looks like a programming bug in the conditional logic. I solved it in the Settings page for this plugin by setting “Display shares counter” to “Right” instead of “No.” Then I hid the unwanted counter by setting “Minimum shares to show” to a very high number.

    I am encountering the same issue.

    The solution of @bnewburger works however it’d would be great to not resort to hacks for fixing this.

    Plugin Author artifex404


    This is just a PHP notice, not an error. Will fix in the next release. Thanks for reporting.

    Undefined issue on line #391 of wp-font-awesome-share.php file.

    Hello Guys,

    Thanks for developing this plugin. But there a little issue about the
    $share_count variable on mentioned path.

    When you set “No” value to “Display shares counter” filed then you faced with undefined variable error on everywhere that you used of this plugin on front-end side.

    How you can resolving the issue, Just make sure that the variable defined before,

    Incorrect code:

    </span>’. ($share_count >= $wpfai_counter_minimum && $share_count !== false ? ‘<div class=”counter”>’ . $share_count . ‘</div>’ : ”) .’



    </span>’. ((isset($share_count) && $share_count >= $wpfai_counter_minimum) && $share_count !== false ? ‘<div class=”counter”>’ . $share_count . ‘</div>’ : ”) .’


    I hope that this report help you to improving more this plugin. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Error Messages’ is closed to new replies.