Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error

  • Avatar of enquirer32
    enquirer32
    Participant

    @enquirer32

    I get this error message after updating my buddypress plugin with WordPress (3.01) in the Forums :

    Fatal error: Call to a member function get_results() on a non-object in /mydirectory/wp-content/plugins/forum-attachments-for-buddypress/forum-attachments-for-buddypress-bp-functions.php on line 296

    any help much appreciated. Thx.

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is a problem with the plugin, which hasn’t been updated for the current version of BuddyPress. You’re best to contact one of the authors and ask if an update is happening.

    @boonebgorges: ping

    Avatar of benklocek
    benklocek
    Member

    @benklocek

    From what I can tell, the $bbdb object is not initialized for the “bb_attachments_post_attachments” function (line 279 of forum-attachments-for-buddypress-bp-functions.php).

    Add “`, $bbdb`” after $bb_current_user on line 280 to fix it.

    @boonebgorges: ping.

    Avatar of chembro303
    chembro303
    Member

    @chembro303

    I can confirm that @benklocek‘s fix made the error go away for me, but I don’t think the plugin is working still. I’ll have to investigate further. At least no more fatal error!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.