WordPress.org

Ready to get started?Download WordPress

Forums

BigBlueButton
[resolved] Usort Function Error in Plugin Settings Page Above List of Recordings (4 posts)

  1. remymedranda
    Member
    Posted 1 year ago #

    Warning: usort() [function.usort]: Invalid comparison function in /home/kushman/public_html/wp-content/plugins/bigbluebutton/php/bbb_api.php on line 436

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

  2. remymedranda
    Member
    Posted 1 year ago #

    Got someone to take a look at this, and they fixed it for me..

    This is what they did to fix it..

    On line 436 where they call their custom comparison function via usort they called it incorrectly. Since the call is part of their class and is a member function of the class instead of it being called like this:

    usort($recordings, 'BigBlueButton::recordingBuildSorter');

    it should be called like this:

    usort($recordings, array(__CLASS__, 'BigBlueButton::recordingBuildSorter'));

  3. J Federico
    Member
    Plugin Author

    Posted 1 year ago #

    Good catch!

    What php version are you using though. Because it works well in most of the cases.

    I'll take a look anyways. thanks for sharing.

  4. J Federico
    Member
    Plugin Author

    Posted 1 year ago #

    Closed due inactivity

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic