Undefined property: stdClass::$register
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
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
// Register Slug $register_slug = $bp->pages->register->slug;
How do I fix this last line of code please?
- You must be logged in to reply to this topic.