WordPress.org

Ready to get started?Download WordPress

Forums

Shareaholic | share buttons & related posts
[resolved] Error/Warning when newly installing (13 posts)

  1. trishahdee
    Member
    Posted 1 year ago #

    I have tried several times but I keep getting the following warning when I activate the plugin. This is the first time I have tried installing your plugin.

    Warning: Missing argument 2 for shrsb_sendTrackingEvent(), called in /home/name/public_html/website.com/site/wp-content/plugins/sexybookmarks/sexy-bookmarks.php on line 18 and defined in /home/name/public_html/website.com/site/wp-content/plugins/sexybookmarks/sexy-bookmarks.php on line 153

    http://wordpress.org/extend/plugins/sexybookmarks/

  2. Shareaholic
    Member
    Plugin Author

    Posted 1 year ago #

    @trishahdee thank you for the heads up. we're on it!

  3. jefferydperry
    Member
    Posted 1 year ago #

    Just wanted to see if this issues has been resolved, I have gotten it since installing today as well.

  4. dustinrwh
    Member
    Posted 1 year ago #

    The issue is that shrsb_sendTrackingEvent() needs two arguments, but is only being passed one.

    A quick fix is to find every instance of shrsb_sendTrackingEvent() and add null as the second argument.

    So.....

    shrsb_sendTrackingEvent('Install_Fresh');

    becomes

    shrsb_sendTrackingEvent('Install_Fresh',null);

    Find the other instances of shrsb_sendTrackingEvent() and you're good to go.

    Hope that helps :)

  5. dustinrwh
    Member
    Posted 1 year ago #

    Just in case someone didn't know where to fix this, go to

    wp-content/plugins/sexybookmarks/sexy-bookmarks.php

  6. bsean23
    Member
    Posted 1 year ago #

    Still seeing this error.

  7. MtGamberWesbiteDesign
    Member
    Posted 1 year ago #

    Thanks dustinrwh since I just got that error too but that quick fix sorted it out.

  8. Shareaholic
    Member
    Plugin Author

    Posted 1 year ago #

    Hi everyone, thanks so much for your patience! An update was released a few hours ago that should fix all these warnings. Please let us know if anything else seems out of place.

  9. Shareaholic
    Member
    Plugin Author

    Posted 1 year ago #

    @dustinrwh Thank you so much for the suggested fix! :)

  10. dustinrwh
    Member
    Posted 1 year ago #

    @shareaholic Thank you for your awesome plugin!

  11. trishahdee
    Member
    Posted 1 year ago #

    Yes, that works beautifully now! Thank you for the fix.

    BTW, it would be good if there was a way to remove the top message bar from the admin page that wants you to install it as a FireFox Addon. I don't want to do that and I can't find a way to remove the message bar.

  12. Celeste - Shareaholic
    Member
    Posted 1 year ago #

    Hey miss trishadee,

    Under Functionality Settings on the SexyBookmarks options page, you'll see an option marked: "Want to know about new products?" - http://cl.ly/image/0z0y1s3e2h3o

    Select 'No', save you changes, and you're all set! :)

  13. trishahdee
    Member
    Posted 1 year ago #

    Yes that did it. Thanks! It would be good though to have a way to dismiss individual product notices without turning off the feature altogether... just a thought :D

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic