Forums

[Plugin: WP-Invites] Wp-invite-plugin: Fatal error - get_error_message() (10 posts)

  1. helgetry
    Member
    Posted 2 years ago #

    I get the following error:

    Fatal error: Call to a member function get_error_message() on a non-object in [xxxxx]/wp-content/plugins/wp-invites/wp-invites.php on line 162

    Has anybody experienced the same problem? How to solve it?

    All best
    Helge

    http://wordpress.org/extend/plugins/wp-invites/

  2. Jehy
    Member
    Posted 2 years ago #

    What wordpress version and installation do you use?

  3. helgetry
    Member
    Posted 2 years ago #

    I use WP 2.8.4.

  4. Damien
    Member
    Posted 2 years ago #

    Same error here, I'm using wp 2.9.1 and the standard integrated login included with the bbpress latest version, and I'm guessing that's the cause of the problem?

  5. Jehy
    Member
    Posted 2 years ago #

    Please try 2.0 version for awesome update :)

  6. Damien
    Member
    Posted 2 years ago #

    Thanks mate, awesome.

    I have narrowed the error down to my custom theme and login page I'm coding, it works fine on any standard theme. I'll get back to you here with the solution - I'm determined to find it.

  7. Damien
    Member
    Posted 2 years ago #

    I've got it down to
    $error = $errors->get_error_message('wp_invites_error');

    Removing that from the plugin solves my error although obviously stripping away the plugin is not an ideal solution, ha.

    I'll go over my login form and see what I've missed, themes like classipress with custom login pages suffer this error also.

  8. Jehy
    Member
    Posted 2 years ago #

    May be, those themes have custom error reporting, which is not compatible...
    Anyway, I am glad that it's not really my problem :)
    Thanks for debugging!

    Oh, yeah. If you remove that line - there will be no error processing, and plugin will accept any codes...

  9. Damien
    Member
    Posted 2 years ago #

    Yes, I have custom error reporting :D

    All works very nice now, awesome work man, thanks for this plugin.

  10. Jehy
    Member
    Posted 1 year ago #

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic