Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tom Morton

    (@tm3909)

    Are you using the shortcode or template tag in the sidebar? If you are using the template tag, are you overriding the URL parameter? This looks like your URL string that you are handing to WPSocialite has the wrong formatting. If you look at the screenshot linked below you can see that the code breaks when the data-url is passed.

    Take a look at how you are setting the url and see if that is the issue.

    Screenshot: https://screencast.com/t/EQPR35hqc

    Thanks for using WPSocialite!

    Thread Starter lutechi

    (@lutechi)

    Hello Tom, I’m using the following shortcode:

    [wpsocialite size=”small” button_override=”facebook,twitter-share,pinterest,gplus,stumbleupon”]

    It seems to work fine on main page and through the forums and other pages, but profile pages it causes that error.

    I’m running it as a shortcode with Genesis – Simple Hooks, not inside a sidebar widget.

    I will try tu run it as a shortcode sidebar widget and also test template tag and see if there is any difference.

    Plugin Author Tom Morton

    (@tm3909)

    Try the template tag and replace the URL parameter and see if that works.

    It might also be a conflict with Buddypress, I’ll install a local copy and check. Let me know what you find.

    Thread Starter lutechi

    (@lutechi)

    I just tried both different methods and still showing the same error. Not sure what is breaking it.

    Thanks again for looking into the problem, hopefully you can find what is causing it.

    Plugin Author Tom Morton

    (@tm3909)

    After reading your other forum post (regarding the homepage issue) I think they are linked. The Genesis Simple Hooks method is not providing a WP Loop that WPSocialite can pull data out of so you have to specify the URL you want it to use.

    On the buddypress page you linked, do you want it to share the profile or the entire site like your other forum post (the homepage)? You may need to implement something inside of your themes sidebar.php rather than keep running it through Genesis.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Errors on BuddyPress pages’ is closed to new replies.