Skip to:
Content
Pages
Categories
Search
Top
Bottom

Undefined property: stdClass::$register


  • SRD75
    Participant

    @srd75

    I purchased a theme from ThemeForest, and found later the theme’s last update was in 28 May 14. I will check the last update date in future.

    The author is not very responsive in supporting his theme, and I had to change a few things like bp_is_member() to bp_is_user() myself.

    When a user tries to register on my website, they are taken to http://www.example.com/register, which generates a 404, and an error:

    Notice: Undefined property: stdClass::$register in /.../public_html/wp-content/themes/child-theme/includes/overlays/overlay-signup.php on line 5

    Line 5 of overlay-signup.php is:

    // Register Slug
    $register_slug = $bp->pages->register->slug;

    How do I fix this last line of code please?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar