WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Like
More and more bugs (25 posts)

  1. slips111
    Member
    Posted 5 months ago #

    I'm seeing more and more problems with this. Fully updated, Twenty Fourteen theme. Things like this:

    "-2 liked this."

    And this:

    "Warning: array_keys() expects parameter 1 to be array, boolean given in /home/myuser/mysite.com/development/wp-content/plugins/buddypress-like/includes/like-functions.php on line 458"

    Any thoughts? Thanks.

    https://wordpress.org/plugins/buddypress-like/

  2. Tspeak
    Member
    Posted 5 months ago #

    I'm getting the exact same error message. Likes on the original post works flawlessly but any comments whether on a blog or activity throws this code. Any fix yet? Or maybe a procedure to disable comment likes until a work around is found?

  3. palmdoc
    Member
    Posted 5 months ago #

    Yup me too. Seeing the ""-2 liked this.""

  4. Tspeak
    Member
    Posted 5 months ago #

    Just a bit more info to maybe help. I'm getting this error using the buddypress default theme changed only with a child stylesheet. I have also made sure to deactivate any other activity plugins to test for conflict. The error happens with the straight up bare bones buddypress. My users love this plugin. It would be great to get it working correctly.

    Thanks
    Tspeak
    http://tspeak.us

  5. darrenmeehan
    Member
    Plugin Author

    Posted 5 months ago #

    Thanks for reporting these, and apologies for my delay...

    I've fixed the issue with the minus number of likes, which will be in the next update.

    As for the warning about the array_keys, they'll take me a while to fix, but they're not something to worry about.

  6. slips111
    Member
    Posted 5 months ago #

    "They're not something to worry about"???

    Actually, because the plugin makes my site look terrible and my users complain, I'm worried about it. Can you give us a timeline for a fix, or do we need to move onto another plugin? Thanks.

  7. darrenmeehan
    Member
    Plugin Author

    Posted 5 months ago #

    Sorry slips111, I was refering to the warnings, which though I know aren't ideal ( and they're something I'm trying to get around to fix) they shouldn't be showing up on the site. Do you have debugging turned on, on a production site? If so, and totally unrelated to this plugin, I'd advised turning it off, or at least turn off the public outputting, and instead output to a log file. If you need any help with that just ask hey@darrenmeehan.me

  8. Tspeak
    Member
    Posted 5 months ago #

    debug set to false in wp_config.php and it still displays the error code.

  9. slips111
    Member
    Posted 5 months ago #

    Same here. Debug set to false. And not a production site, my real site, with constant e-mails from annoyed users. Understand completely if the plugin's going to be too much of a time suck for you, but would love to know so that I can move on (unfortunately without a huge history of likes). Thanks.

  10. darrenmeehan
    Member
    Plugin Author

    Posted 5 months ago #

    You may need to change display_errors=0 in your php.ini file, if you don't have access to this your host should happily help. I dont recommend displaying these on a public site ( what I meant by production site, sorry for not specifying.)

    The plugin will be stable soon, but I cant give an accurate time frame just yet.

    Did you try todays update?

  11. palmdoc
    Member
    Posted 5 months ago #

    On 0.1.6
    When I click on the Like I see the spinner but no refresh. I have to manually refresh the Activity page to see the Like.
    The ""-2 liked this."" is gone

  12. darrenmeehan
    Member
    Plugin Author

    Posted 5 months ago #

    Was the likes working in 0.1.5? What version of WordPress and BuddyPress are you using?

  13. palmdoc
    Member
    Posted 5 months ago #

    Yes they were - on WordPress 3.8.1 and Buddypress 1.9.2

  14. HansRuedi
    Member
    Posted 5 months ago #

    With 0.1.6 based on BP 1.7.3 and WP 3.5.2 I now got "Fatal error: Call to undefined function bp_et_activity_type() in /.../public_html/.../wp-content/plugins/buddypress-like/includes/activity-functions.php on line 34" when I click on Like. I have no way to update to BP 1.9.x at the moment...

  15. HansRuedi
    Member
    Posted 5 months ago #

    ...should be "bp_get_activity_type()" ("g" missing on line 34).

  16. darrenmeehan
    Member
    Plugin Author

    Posted 5 months ago #

    That typo was a stupid error on my part. It was sorted in trunk, though I've pushed it to the new update (0.1.7) now though.

  17. palmdoc
    Member
    Posted 5 months ago #

    0.1.7 is better. No more spinning wheel but one still has to refresh the Activity timeline to see who "liked" the comment

  18. PiotrKnopek
    Member
    Posted 5 months ago #

    Hey
    with version 0.1.7 there is something wrong, blocks showing slider and chat, where I can download 0.1.6

    WordPress 3.8.1 + BuddyPress 1.9.2 + bbpress 2.5.3 + Theme Buddy 1.12 GhostPool

  19. madcap66
    Member
    Posted 5 months ago #

    I can confirm that after updating from 0.1.5 to 0.1.7 - the plugin kills JS on my site ...turning off the plugin and everything works aok again.

    Where can I download 0.1.6 to try it. Am using 0.1.5 as it seems to work aok.

    If you want to check on my site then please pm me and I can give you access.

  20. Tspeak
    Member
    Posted 5 months ago #

    Yup. It kills any other script on the page. Had to shut down BP Like.

  21. Danny
    Member
    Posted 5 months ago #

    The problem with menus not expanding is due to a javascript error. The jquery ui dialog script is not getting loaded because of an extra space in the wp_enqueue_script command in the /includes/scripts.php file. On line 21, the command is

    wp_enqueue_script(' jquery-ui-dialog');

    but it should be

    wp_enqueue_script('jquery-ui-dialog');

  22. contemplate
    Member
    Posted 5 months ago #

    Thanks Danny that that worked for me!

  23. Tspeak
    Member
    Posted 5 months ago #

    Yup that fixed it. Shutting down debug in php.ini got rid of the error messages too. Now it's at least workable. Doesn't display who liked a comment but at least shows how many likes in the button.

  24. PiotrKnopek
    Member
    Posted 5 months ago #

    Thanks Danny, that worked

  25. Akash Khurana
    Member
    Posted 3 months ago #

    Thanks Danny,u r Rocking..!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.