buddypress frontend links
-
Hi,
I use a custom theme. wordpress 4.3.1, and now I installed buddypress 2.3.4.
The buddypress pages weren’t created for some reason (“Membership – Anyone can register” was turned on when installing buddypress). I created the pages manually and assocciated them in buddypress settings (registrate, activate, activity stream, members).First of, when activating Buddypress plugin then this error (same kind of error occour everytime I visit any page in admin when buddypress is activated, so it doesn’t appear just on activiating the buddyress plugin, the error doesn’t occour when buddypress is deactivated):
2015/10/12 13:24:37 [error] 23074#0: *3 FastCGI sent in stderr: “PHP message: PHP Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in /my/path/to/html/wp-includes/functions.php on line 3622″ while reading response header from upstream, client: my.computers.ip.number, server: mywebpage.com, request: “GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “my.host.ip.address”, referrer: “http://myserver.com/wp-admin/plugins.php?plugin_status=all&paged=1&s”
Second issue is the frontend links, none of them work correctly, all links direct me to my users recent blog posts. The links in the URL look like this:
mywebpage.com/members/myusername/
mywebpage.com/members/myusername/friends/
mywebpage.com/members/myusername/messages/
mywebpage.com/members/myusername/notifications/
mywebpage.com/members/myusername/profile/
mywebpage.com/members/myusername/settings/“Log out” link works! when pressing the log out link I am logged out and redirected to /wp-admin/, on that page I have a message where it says: “You must log in to access the page you requested.”. It’s pretty logical that you need to be loged in to be able to access log out page, isn’t it?
For the links to work properly I guess I have to copy some of the buddypress files to my custom theme in wp-content/themes/mycustomtheme, but what do I need to copy?
/Robert
- The topic ‘buddypress frontend links’ is closed to new replies.