Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error: Call to a member function get_error_message()


  • billysgtr
    Participant

    @billysgtr

    Hello,

    I am using a WordPress theme(which is WPLMS). I am trying to send messages between users but I am getting the following error:

    Fatal error: Call to a member function get_error_message() on a non-object in /wp-content/plugins/buddypress/bp-messages/bp-messages-actions.php on line 104

    The strange thing is that I tested on localhost and there is no problem there. I only have this problem on live server.

    ps. I am using https on my site.(I don’t know if this has to do with the problem)
    (WordPress version 4.4.2
    Buddypress version 2.4.3)

    Thank you in advance for any help.

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

  • r-a-y
    Keymaster

    @r-a-y

    Can you try the following fix?
    https://buddypress.trac.wordpress.org/changeset/10586/branches/2.4/src/bp-messages/bp-messages-functions.php

    This is scheduled to be released with BuddyPress 2.5 this week, but you can try this fix temporarily.


    billysgtr
    Participant

    @billysgtr

    Thank you so much for the reply.

    I tried to fix that temporarily. I am not getting a fatal error but I still can’t sent any messages. I am getting the “Message was not sent. Please try again.”


    r-a-y
    Keymaster

    @r-a-y

    Are you using any private message plugins or code snippets that might be interfering with this?


    billysgtr
    Participant

    @billysgtr

    No , I don’t use any extra plugins for that.
    Actually it is very strange because when I am running on localhost(XAMPP), everything works fine.
    I am facing this problem only on live server.
    I am now realizing that the real problem is that I can’t send messages when I am on live server. So, that’s why I got the fatal error.


    billysgtr
    Participant

    @billysgtr

    An update to save time for other users.

    I made the buddypress 2.5.0 update and everything is ok now!

    Thanks!


    Paul Wong-Gibbs
    Keymaster

    @djpaul

    Great! Thanks for confirming @billysgtr. We’re sorry for causing the problem originally.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error: Call to a member function get_error_message()’ is closed to new replies.
Skip to toolbar