WordPress.org

Support

Support » Plugins and Hacks » Add Local Avatar » [Plugin: Add Local Avatar] Clash with WP-FB-Autoconnect

[Plugin: Add Local Avatar] Clash with WP-FB-Autoconnect

  • Hi, I use Add Local Avatar with WP-FB-Autoconnect and it gives warning message:
    Warning: Missing argument 5 for jfb_wp_avatar() in [the_path] on line 277

    The warning message showed up everywhere any avatar shows up. Turns out it clashes with WP-FB-Autoconnect in the function.

    Is there any solution for this clash yet? Thank you before.

    http://wordpress.org/extend/plugins/add-local-avatar/

Viewing 1 replies (of 1 total)
  • Yes,
    I did a change in the code.

    1)Take the 277 line into Main.php file and find the fifth (5°) argument.
    2)delete the $alt variable.

    Example:

    Original function
    function jfb_wp_avatar($avatar, $id_or_email, $size, $default, $alt)

    Modified function
    function jfb_wp_avatar($avatar, $id_or_email, $size, $default)

    This allow you to fix the issue.
    Alt value error on <img> html tag isn’t a big problem! 🙂
    Bye!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Add Local Avatar] Clash with WP-FB-Autoconnect’ is closed to new replies.
Skip to toolbar